Fix space at beginning of paragraph for ODF doc.

svn: r6385
This commit is contained in:
Brian Matherly 2006-04-20 23:01:35 +00:00
parent 313c93cd03
commit d631037137
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2006-04-20 Brian Matherly <pez4brian@users.sourceforge.net>
* src/docgen/ODFDoc.py: Fix space at begining of paragraph
2006-04-20 Don Allingham <don@gramps-project.org> 2006-04-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: fix display of shared info warning box * src/Editors/_EditPlace.py: fix display of shared info warning box
* src/Editors/_EditSourceRef.py: fix display of shared info warning box * src/Editors/_EditSourceRef.py: fix display of shared info warning box

View File

@ -788,10 +788,10 @@ class ODFDoc(BaseDoc.BaseDoc):
else: else:
self.cntnt.write('<text:h text:style-name="') self.cntnt.write('<text:h text:style-name="')
self.cntnt.write(name) self.cntnt.write(name)
self.cntnt.write('" text:outline-level="' + str(self.level) + '">\n') self.cntnt.write('" text:outline-level="' + str(self.level) + '">')
if leader != None: if leader != None:
self.cntnt.write(leader) self.cntnt.write(leader)
self.cntnt.write('<text:tab/>\n') self.cntnt.write('<text:tab/>')
self.new_cell = 0 self.new_cell = 0
def end_paragraph(self): def end_paragraph(self):