From 4ce72472a8b9b1b0a20a03f45641c6cf0d6080af Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 13 Sep 2006 04:33:45 +0000 Subject: [PATCH] * src/docgen/RTFDoc.py: fix page breaks (#0000441) svn: r7322 --- ChangeLog | 7 +++++-- src/docgen/RTFDoc.py | 8 ++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22d45a8a5..ab1af3189 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-09-12 Brian Matherly + * src/docgen/RTFDoc.py: fix page breaks (#0000441) + 2006-09-12 Don Allingham * src/DataViews/_RelationView.py: provide a waring if a broken family is detected @@ -52,8 +55,8 @@ * po/POTFILES.in: remove non-shipping modules 2006-09-01 Brian Matherly - * src/plugins/Calendar.py: fix filter typo - * src/plugins/WritePkg.py: don't set uid on Windows + * src/plugins/Calendar.py: fix filter typo + * src/plugins/WritePkg.py: don't set uid on Windows 2006-09-01 Alex Roitman * src/GrampsDb/_DbUtils.py: Use normal addition: this updates diff --git a/src/docgen/RTFDoc.py b/src/docgen/RTFDoc.py index 5d94fe6fc..bb2f7e518 100644 --- a/src/docgen/RTFDoc.py +++ b/src/docgen/RTFDoc.py @@ -228,6 +228,14 @@ class RTFDoc(BaseDoc.BaseDoc): self.write_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