2707: Add markup notes to html output. Finished
svn: r12654
This commit is contained in:
@@ -129,29 +129,29 @@ class CustomTextOptions(MenuReportOptions):
|
||||
|
||||
def make_default_style(self,default_style):
|
||||
"""Make the default output style for the Custom Text report."""
|
||||
font = BaseDoc.FontStyle()
|
||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = BaseDoc.ParagraphStyle()
|
||||
font = FontStyle()
|
||||
font.set(face=FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(_('The style used for the first portion of the custom text.'))
|
||||
default_style.add_paragraph_style("CBT-Initial",para)
|
||||
|
||||
font = BaseDoc.FontStyle()
|
||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = BaseDoc.ParagraphStyle()
|
||||
font = FontStyle()
|
||||
font.set(face=FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set(pad=0.5)
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the middle portion of the custom text.'))
|
||||
default_style.add_paragraph_style("CBT-Middle",para)
|
||||
|
||||
font = BaseDoc.FontStyle()
|
||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = BaseDoc.ParagraphStyle()
|
||||
font = FontStyle()
|
||||
font.set(face=FONT_SANS_SERIF,size=12,bold=0,italic=0)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(_('The style used for the last portion of the custom text.'))
|
||||
default_style.add_paragraph_style("CBT-Final",para)
|
||||
|
Reference in New Issue
Block a user