* src/docgen/OpenOfficeDoc.py (_write_styles_file): Switch paragraph
alignment to "start" and "end" (was "left and "right"). * src/plugins/AncestorReport.py: Change prefixed style name ("AHN-"). Needed because HTML gets confised by ":" in the class name. * src/plugins/Ancestors.py: Likewise ("AR-"). * src/plugins/DescendReport.py: Likewise ("DR-"). * src/plugins/DetAncestralReport.py: Likewise ("DAR-"). * src/plugins/DetDescendantReport.py: Likewise ("DDR-"). * src/plugins/FtmStyleAncestors.py: Likewise ("FTA-"). * src/plugins/FtmStyleDescendants.py: Likewise ("FTD-"). * src/plugins/FamilyGroup.py: Likewise ("FGR-"). * src/plugins/CustomBookText.py: Likewise ("CBT-"). * src/plugins/SimpleBookTitle.py: Likewise ("SBT-"). * src/plugins/IndivSummary.py: Likewise ("IVS-"). * src/plugins/IndivComplete.py: Likewise ("IDS-"). svn: r1903
This commit is contained in:
@@ -73,11 +73,11 @@ class SimpleBookTitle(Report.Report):
|
||||
if self.newpage:
|
||||
self.doc.page_break()
|
||||
|
||||
self.doc.start_paragraph('SBT:Title')
|
||||
self.doc.start_paragraph('SBT-Title')
|
||||
self.doc.write_text(self.title_string)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_paragraph('SBT:Subtitle')
|
||||
self.doc.start_paragraph('SBT-Subtitle')
|
||||
self.doc.write_text(self.copyright_string)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
@@ -95,7 +95,7 @@ def _make_default_style(default_style):
|
||||
para.set_alignment(TextDoc.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_style("SBT-Title",para)
|
||||
|
||||
font = TextDoc.FontStyle()
|
||||
font.set(face=TextDoc.FONT_SANS_SERIF,size=14,italic=1)
|
||||
@@ -105,7 +105,7 @@ def _make_default_style(default_style):
|
||||
para.set(pad=0.5)
|
||||
para.set_alignment(TextDoc.PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the subtitle.'))
|
||||
default_style.add_style("SBT:Subtitle",para)
|
||||
default_style.add_style("SBT-Subtitle",para)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
Reference in New Issue
Block a user