fix ODF output put, prettify kinship html output

svn: r12657
This commit is contained in:
Benny Malengier 2009-06-12 07:31:30 +00:00
parent 94dba1433d
commit aa5aa031c0
2 changed files with 3 additions and 2 deletions

View File

@ -79,8 +79,8 @@ _esc_map = {
#-------------------------------------------------------------------------
class ODFDoc(BaseDoc, TextDoc, DrawDoc):
def __init__(self, styles, type, template):
BaseDoc.__init__(self, styles, type, template)
def __init__(self, styles, type):
BaseDoc.__init__(self, styles, type)
self.media_list = []
self.cntnt = None
self.filename = None

View File

@ -378,6 +378,7 @@ class KinshipOptions(MenuReportOptions):
font.set_size(12)
font.set_bold(True)
p = ParagraphStyle()
p.set_header_level(3)
p.set_font(font)
p.set_top_margin(ReportUtils.pt2cm(6))
p.set_description(_('The basic style used for sub-headings.'))