2007-09-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/IndivComplete.py (write_person): * src/plugins/IndivSummary.py (write_report): Change image alignment from 'row' to 'center'. svn: r8964
This commit is contained in:
parent
2fbe01e584
commit
1cc238eea2
@ -1,3 +1,8 @@
|
||||
2007-09-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||
* src/plugins/IndivComplete.py (write_person):
|
||||
* src/plugins/IndivSummary.py (write_report):
|
||||
Change image alignment from 'row' to 'center'.
|
||||
|
||||
2007-09-08 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/plugins/lineage.py: Quick report lineage based on code Jerome
|
||||
* po/POTFILES.in : translate lineage
|
||||
|
@ -445,7 +445,7 @@ class IndivCompleteReport(Report):
|
||||
filename = object.get_path()
|
||||
if os.path.exists(filename):
|
||||
self.doc.start_paragraph("IDS-Normal")
|
||||
self.doc.add_media_object(filename,"row",4.0,4.0)
|
||||
self.doc.add_media_object(filename, "center", 4.0, 4.0)
|
||||
self.doc.end_paragraph()
|
||||
else:
|
||||
WarningDialog(_("Could not add photo to page"),
|
||||
|
@ -197,7 +197,7 @@ class IndivSummary(Report):
|
||||
if mime_type and mime_type.startswith("image"):
|
||||
file = object.get_path()
|
||||
self.doc.start_paragraph("IVS-Normal")
|
||||
self.doc.add_media_object(file,"row",4.0,4.0)
|
||||
self.doc.add_media_object(file, "center", 4.0, 4.0)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_table("one","IVS-IndTable")
|
||||
|
Loading…
Reference in New Issue
Block a user