Update
svn: r3949
This commit is contained in:
parent
73f958b915
commit
d92dcd72e4
@ -109,10 +109,10 @@ class DescendantGraph(Report.Report):
|
|||||||
self.box_width = max(self.box_width,new_width)
|
self.box_width = max(self.box_width,new_width)
|
||||||
|
|
||||||
self.lines = max(self.lines,len(self.text[p_id]))
|
self.lines = max(self.lines,len(self.text[p_id]))
|
||||||
|
self.calc()
|
||||||
|
|
||||||
def write_report(self):
|
def write_report(self):
|
||||||
|
|
||||||
self.calc()
|
|
||||||
maxx,maxy = self.layout.max_size()
|
maxx,maxy = self.layout.max_size()
|
||||||
|
|
||||||
maxx = int(maxx)
|
maxx = int(maxx)
|
||||||
|
@ -40,7 +40,7 @@ from gettext import gettext as _
|
|||||||
import Report
|
import Report
|
||||||
import BaseDoc
|
import BaseDoc
|
||||||
import RelLib
|
import RelLib
|
||||||
import Utils
|
import ReportUtils
|
||||||
import ReportOptions
|
import ReportOptions
|
||||||
from DateHandler import displayer as dd
|
from DateHandler import displayer as dd
|
||||||
import const
|
import const
|
||||||
@ -705,7 +705,7 @@ class FtmDescendantReport(Report.Report):
|
|||||||
|
|
||||||
self.doc.start_cell('FTD-Normal')
|
self.doc.start_cell('FTD-Normal')
|
||||||
self.doc.start_paragraph('FTD-Child-Num')
|
self.doc.start_paragraph('FTD-Child-Num')
|
||||||
self.doc.write_text("%s." % Utils.roman(child_index).lower())
|
self.doc.write_text("%s." % ReportUtils.roman(child_index).lower())
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user