2007-05-07 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleDoc.py: add support for tabs * src/BaseDoc.py: add support for tabs * src/docgen/TextBufDoc.py: add support for tabs svn: r8443
This commit is contained in:
@@ -85,6 +85,7 @@ def make_basic_stylesheet():
|
||||
fstyle.set_bold(True)
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(BaseDoc.PARA_ALIGN_LEFT)
|
||||
pstyle.set_tabs([4, 8, 12, 16])
|
||||
sheet.add_paragraph_style('Header1', pstyle)
|
||||
|
||||
pstyle = BaseDoc.ParagraphStyle()
|
||||
@@ -94,6 +95,7 @@ def make_basic_stylesheet():
|
||||
fstyle.set_bold(True)
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(BaseDoc.PARA_ALIGN_LEFT)
|
||||
pstyle.set_tabs([4, 8, 12, 16])
|
||||
sheet.add_paragraph_style('Header2', pstyle)
|
||||
|
||||
pstyle = BaseDoc.ParagraphStyle()
|
||||
@@ -104,7 +106,10 @@ def make_basic_stylesheet():
|
||||
fstyle.set_italic(True)
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(BaseDoc.PARA_ALIGN_LEFT)
|
||||
pstyle.set_tabs([4, 8, 12, 16])
|
||||
sheet.add_paragraph_style('Header3', pstyle)
|
||||
|
||||
sheet.add_paragraph_style('Normal', BaseDoc.ParagraphStyle())
|
||||
pstyle = BaseDoc.ParagraphStyle()
|
||||
pstyle.set_tabs([4, 8, 12, 16])
|
||||
sheet.add_paragraph_style('Normal', pstyle)
|
||||
return sheet
|
||||
|
||||
Reference in New Issue
Block a user