Improve graphic alignment in OO reports. (Bug 1370498)

svn: r6297
This commit is contained in:
Brian Matherly 2006-04-10 04:29:29 +00:00
parent 9b3b2fe2e5
commit cbcef67f59
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-04-09 Brian Matherly <pez4brian@users.sourceforge.net>
* src/docgen/ODFDoc.py: Improve graphic alignment (Bug 1370498)
* src/docgen/OpenOfficeDoc.py: Improve graphic alignment (Bug 1370498)
* src/plugins.FamilyGroup.py: Fix traceback when no spouse exists.
2006-04-09 Alex Roitman <shura@gramps-project.org>
(GrampsBSDDB._delete_primary_from_reference_map): Accept txn
argument; pass it on to self._remove_reference().

View File

@ -363,7 +363,7 @@ class ODFDoc(BaseDoc.BaseDoc):
self.cntnt.write('<style:style style:name="Right" style:family="graphic"')
self.cntnt.write(' style:parent-style-name="photo">')
self.cntnt.write('<style:graphic-properties style:run-through="foreground"')
self.cntnt.write(' style:wrap="parallel"')
self.cntnt.write(' style:wrap="dynamic"')
self.cntnt.write(' style:number-wrapped-paragraphs="no-limit"')
self.cntnt.write(' style:wrap-contour="false" style:vertical-pos="from-top"')
self.cntnt.write(' style:vertical-rel="paragraph-content"')

View File

@ -332,7 +332,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
self.cntnt.write('<style:style style:name="Right" style:family="graphics"')
self.cntnt.write(' style:parent-style-name="photo">')
self.cntnt.write('<style:properties style:run-through="foreground"')
self.cntnt.write(' style:wrap="parallel"')
self.cntnt.write(' style:wrap="dynamic"')
self.cntnt.write(' style:number-wrapped-paragraphs="no-limit"')
self.cntnt.write(' style:wrap-contour="false" style:vertical-pos="from-top"')
self.cntnt.write(' style:vertical-rel="paragraph-content"')

View File

@ -657,6 +657,7 @@ class FamilyGroupOptions(ReportOptions.ReportOptions):
will return a placebo label and disable the OK button.
"""
spouses = []
spouse_id = None
family_list = person.get_family_handle_list()
for family_handle in family_list:
family = database.get_family_from_handle(family_handle)