* src/docgen/OpenOfficeDoc.py (open): Typos.

svn: r2045
This commit is contained in:
Alex Roitman 2003-08-25 23:58:01 +00:00
parent 3b8a6aec8f
commit d3c75f9962
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@
* src/gramps_main.py (init_interface): Call PedView with self as parent; * src/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons. (set_buttons,change_active_person): Fix enabling the buttons.
* src/PlaceView.py (merge): Change error message from people to places. * src/PlaceView.py (merge): Change error message from people to places.
* src/docgen/OpenOfficeDoc.py (open): Typos.
2003-08-24 Don Allingham <dallingham@users.sourceforge.net> 2003-08-24 Don Allingham <dallingham@users.sourceforge.net>
* src/plugins/FanChart.py: remove print statement * src/plugins/FanChart.py: remove print statement

View File

@ -164,7 +164,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
self.f.write('<style:style style:name="NL%s" ' % style_name) self.f.write('<style:style style:name="NL%s" ' % style_name)
self.f.write('style:family="paragraph" ') self.f.write('style:family="paragraph" ')
self.f.write('style:parent-style-name="%s">\n' % style_name) self.f.write('style:parent-style-name="%s">\n' % style_name)
self.f.write('"<style:properties fo:break-before="page"/>\n') self.f.write('<style:properties fo:break-before="page"/>\n')
self.f.write('</style:style>\n') self.f.write('</style:style>\n')
self.f.write('<style:style style:name="F%s" ' % style_name) self.f.write('<style:style style:name="F%s" ' % style_name)
self.f.write('style:family="text">\n') self.f.write('style:family="text">\n')
@ -184,7 +184,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
table_width = float(self.get_usable_width()) table_width = float(self.get_usable_width())
table_width_str = "%.4f" % table_width table_width_str = "%.4f" % table_width
self.f.write('<style:properties style:width="%scm" '%table_width_str) self.f.write('<style:properties style:width="%scm" '%table_width_str)
vself.f.write('/>\n') self.f.write('/>\n')
self.f.write('</style:style>\n') self.f.write('</style:style>\n')
for col in range(0,style.get_columns()): for col in range(0,style.get_columns()):
self.f.write('<style:style style:name="') self.f.write('<style:style style:name="')