* src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)

svn: r6803
This commit is contained in:
Brian Matherly 2006-05-28 15:10:47 +00:00
parent 7ab598802a
commit 4d83a7d828
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2006-05-28 Brian Matherly <brian@gramps-project.org>
* src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)
2006-05-27 Alex Roitman <shura@gramps-project.org> 2006-05-27 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: More updates. * src/plugins/Verify.py: More updates.
* src/docgen/LPRDoc.py: Typo. * src/docgen/LPRDoc.py: Typo.

View File

@ -306,6 +306,9 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
self.cntnt.write('/>\n') self.cntnt.write('/>\n')
self.cntnt.write('</style:style>\n') self.cntnt.write('</style:style>\n')
self.cntnt.write('<style:style style:name="wraprow" style:family="table-row">\n')
self.cntnt.write('<style:properties style:keep-together="true" />\n')
self.cntnt.write('</style:style>\n')
self.cntnt.write('<style:style style:name="Tbold" style:family="text">\n') self.cntnt.write('<style:style style:name="Tbold" style:family="text">\n')
self.cntnt.write('<style:properties fo:font-weight="bold"/>\n') self.cntnt.write('<style:properties fo:font-weight="bold"/>\n')
self.cntnt.write('</style:style>\n') self.cntnt.write('</style:style>\n')
@ -443,7 +446,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
self.cntnt.write('</table:table>\n') self.cntnt.write('</table:table>\n')
def start_row(self): def start_row(self):
self.cntnt.write('<table:table-row>\n') self.cntnt.write('<table:table-row table:style-name="wraprow">\n')
def end_row(self): def end_row(self):
self.cntnt.write('</table:table-row>\n') self.cntnt.write('</table:table-row>\n')