Add styled notes output to all textreports
svn: r11916
This commit is contained in:
parent
9d232633ab
commit
09dea89c35
@ -292,7 +292,8 @@ class DetAncestorReport(Report):
|
|||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
for notehandle in notelist:
|
for notehandle in notelist:
|
||||||
note = self.database.get_note_from_handle(notehandle)
|
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
|
first = True
|
||||||
if self.inc_names:
|
if self.inc_names:
|
||||||
|
@ -579,7 +579,8 @@ class DetDescendantReport(Report):
|
|||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
for notehandle in notelist:
|
for notehandle in notelist:
|
||||||
note = self.database.get_note_from_handle(notehandle)
|
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
|
first = True
|
||||||
if self.inc_names:
|
if self.inc_names:
|
||||||
|
Loading…
Reference in New Issue
Block a user