From 09dea89c355ffe812846f40cc8311f722f133394 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sun, 8 Feb 2009 11:27:56 +0000 Subject: [PATCH] Add styled notes output to all textreports svn: r11916 --- src/plugins/textreport/DetAncestralReport.py | 3 ++- src/plugins/textreport/DetDescendantReport.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/textreport/DetAncestralReport.py b/src/plugins/textreport/DetAncestralReport.py index 9cd5fa9e7..ae5092520 100644 --- a/src/plugins/textreport/DetAncestralReport.py +++ b/src/plugins/textreport/DetAncestralReport.py @@ -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: diff --git a/src/plugins/textreport/DetDescendantReport.py b/src/plugins/textreport/DetDescendantReport.py index b487a103c..e4487aa6a 100644 --- a/src/plugins/textreport/DetDescendantReport.py +++ b/src/plugins/textreport/DetDescendantReport.py @@ -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: