First DB pass

svn: r2884
This commit is contained in:
Don Allingham
2004-02-21 06:11:59 +00:00
parent c6ba4dfdcc
commit e878549bfd
63 changed files with 1701 additions and 2719 deletions

View File

@@ -555,7 +555,7 @@ class DetDescendantReport(Report.Report):
#--------------------------------------------------------------------
def insert_images(self, person):
photos = person.get_photo_list()
photos = person.get_media_list()
paragraph_started = 0
for photo in photos :
object = photo.get_reference()
@@ -564,7 +564,7 @@ class DetDescendantReport(Report.Report):
if not paragraph_started:
self.doc.start_paragraph("DDR-Entry")
paragraph_started = 1
self.doc.add_photo(file,"row",4.0,4.0)
self.doc.add_media_object(file,"row",4.0,4.0)
self.doc.end_paragraph()
#--------------------------------------------------------------------