* src/docgen/RTFDoc.py: fix page breaks (#0000441)

svn: r7322
This commit is contained in:
Brian Matherly 2006-09-13 04:33:45 +00:00
parent 43fc029947
commit 4ce72472a8
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2006-09-12 Brian Matherly <brian@gramps-project.org>
* src/docgen/RTFDoc.py: fix page breaks (#0000441)
2006-09-12 Don Allingham <don@gramps-project.org> 2006-09-12 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: provide a waring if a broken * src/DataViews/_RelationView.py: provide a waring if a broken
family is detected family is detected

View File

@ -228,6 +228,14 @@ class RTFDoc(BaseDoc.BaseDoc):
self.write_text(" ") self.write_text(" ")
self.text = self.text + '}' self.text = self.text + '}'
#--------------------------------------------------------------------
#
# Inserts a manual page break
#
#--------------------------------------------------------------------
def page_break(self):
self.f.write('\\page\n')
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# #
# Starts boldfaced text, enclosed the braces # Starts boldfaced text, enclosed the braces