Added SourceParagraph style
svn: r233
This commit is contained in:
parent
19cd6de878
commit
d04f54ea31
@ -193,7 +193,7 @@ class IndividualPage:
|
||||
|
||||
index = 1
|
||||
for sref in self.slist:
|
||||
self.doc.start_paragraph("Data")
|
||||
self.doc.start_paragraph("SourceParagraph")
|
||||
self.doc.write_text('<A NAME="s%d">%d. ' % (index,index))
|
||||
index = index + 1
|
||||
self.doc.write_text("%s. " % sref.getBase().getTitle())
|
||||
@ -590,6 +590,12 @@ def report(database,person):
|
||||
p.set_font(font)
|
||||
styles.add_style("Spouse",p)
|
||||
|
||||
font = FontStyle()
|
||||
font.set(size=12,italic=1)
|
||||
p = ParagraphStyle()
|
||||
p.set_font(font)
|
||||
styles.add_style("Label",p)
|
||||
|
||||
font = FontStyle()
|
||||
font.set_size(12)
|
||||
p = ParagraphStyle()
|
||||
@ -597,10 +603,10 @@ def report(database,person):
|
||||
styles.add_style("Data",p)
|
||||
|
||||
font = FontStyle()
|
||||
font.set(size=12,italic=1)
|
||||
font.set_size(10)
|
||||
p = ParagraphStyle()
|
||||
p.set_font(font)
|
||||
styles.add_style("Label",p)
|
||||
styles.add_style("SourceParagraph",p)
|
||||
|
||||
font = FontStyle()
|
||||
font.set_size(12)
|
||||
|
Loading…
Reference in New Issue
Block a user