fix for multiple notes.
svn: r8321
This commit is contained in:
parent
911590e880
commit
86fe9d11a8
@ -1,3 +1,6 @@
|
||||
2007-03-26 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/DetAncestralReport.py: fix for multiple notes.
|
||||
|
||||
2007-03-26 Don Allingham <don@gramps-project.org>
|
||||
* src/ViewManager.py: integrate the new DbManager
|
||||
* src/glade/gramps.glade: integrate the new DbManager
|
||||
|
@ -270,11 +270,14 @@ class DetAncestorReport(Report):
|
||||
if key == 1:
|
||||
self.write_mate(person)
|
||||
|
||||
if person.get_note() != "" and self.includeNotes:
|
||||
notelist = person.get_note_list()
|
||||
if len(notelist) > 0 and self.includeNotes:
|
||||
self.doc.start_paragraph("DAR-NoteHeader")
|
||||
self.doc.write_text(_("Notes for %s") % name)
|
||||
self.doc.end_paragraph()
|
||||
self.doc.write_note(person.get_note(),person.get_note_format(),"DAR-Entry")
|
||||
for notehandle in notelist:
|
||||
note = self.database.get_note_from_handle(notehandle)
|
||||
self.doc.write_note(note.get(),note.get_format(),"DAR-Entry")
|
||||
|
||||
first = True
|
||||
if self.includeNames:
|
||||
|
Loading…
Reference in New Issue
Block a user