Add styled notes output to all textreports

svn: r11916
This commit is contained in:
Benny Malengier 2009-02-08 11:27:56 +00:00
parent 9d232633ab
commit 09dea89c35
2 changed files with 4 additions and 2 deletions

View File

@ -292,7 +292,8 @@ class DetAncestorReport(Report):
self.doc.end_paragraph()
for notehandle in notelist:
note = self.database.get_note_from_handle(notehandle)
self.doc.write_note(note.get(), note.get_format(),"DAR-Entry")
self.doc.write_styled_note(note.get_styledtext(),
note.get_format(),"DAR-Entry")
first = True
if self.inc_names:

View File

@ -579,7 +579,8 @@ class DetDescendantReport(Report):
self.doc.end_paragraph()
for notehandle in notelist:
note = self.database.get_note_from_handle(notehandle)
self.doc.write_note(note.get(), note.get_format(),"DDR-Entry")
self.doc.write_styled_note(note.get_styledtext(),
note.get_format(),"DDR-Entry")
first = True
if self.inc_names: