svn: r3949
This commit is contained in:
Alex Roitman 2005-01-24 16:40:36 +00:00
parent 73f958b915
commit d92dcd72e4
2 changed files with 3 additions and 3 deletions

View File

@ -109,10 +109,10 @@ class DescendantGraph(Report.Report):
self.box_width = max(self.box_width,new_width)
self.lines = max(self.lines,len(self.text[p_id]))
self.calc()
def write_report(self):
self.calc()
maxx,maxy = self.layout.max_size()
maxx = int(maxx)

View File

@ -40,7 +40,7 @@ from gettext import gettext as _
import Report
import BaseDoc
import RelLib
import Utils
import ReportUtils
import ReportOptions
from DateHandler import displayer as dd
import const
@ -705,7 +705,7 @@ class FtmDescendantReport(Report.Report):
self.doc.start_cell('FTD-Normal')
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_cell()