Get book report working again.
svn: r9223
This commit is contained in:
parent
8547df5480
commit
5fbff2823c
@ -1,3 +1,7 @@
|
||||
2007-10-20 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/BookReport.py: Get book report working again.
|
||||
* src/plugins/SimpleBookTitle.py: Get title page working again.
|
||||
|
||||
2007-10-20 Gary Burton <gary.burton@zen.co.uk>
|
||||
* src/plugins/NarrativeWeb.py: display event reference notes and attributes
|
||||
|
||||
|
@ -1066,7 +1066,9 @@ class BookReportDialog(ReportDialog):
|
||||
def make_document(self):
|
||||
"""Create a document of the type requested by the user."""
|
||||
self.doc = self.format(self.selected_style,
|
||||
BaseDoc.PaperStyle(self.paper,self.orien),
|
||||
BaseDoc.PaperStyle(self.paper_size,
|
||||
self.paper_orientation,
|
||||
*self.paper_margins),
|
||||
self.template_name)
|
||||
|
||||
self.rptlist = []
|
||||
|
@ -269,7 +269,7 @@ class SimpleBookTitleOptions(ReportOptions):
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(_('The style used for the title of the page.'))
|
||||
default_style.add_style("SBT-Title",para)
|
||||
default_style.add_paragraph_style("SBT-Title",para)
|
||||
|
||||
font = BaseDoc.FontStyle()
|
||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=14,italic=1)
|
||||
@ -279,7 +279,7 @@ class SimpleBookTitleOptions(ReportOptions):
|
||||
para.set(pad=0.5)
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the subtitle.'))
|
||||
default_style.add_style("SBT-Subtitle",para)
|
||||
default_style.add_paragraph_style("SBT-Subtitle",para)
|
||||
|
||||
font = BaseDoc.FontStyle()
|
||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=10,italic=1)
|
||||
@ -289,7 +289,7 @@ class SimpleBookTitleOptions(ReportOptions):
|
||||
para.set(pad=0.5)
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the footer.'))
|
||||
default_style.add_style("SBT-Footer",para)
|
||||
default_style.add_paragraph_style("SBT-Footer",para)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user