Add styled notes output to all textreports
svn: r11916
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user