diff --git a/ChangeLog b/ChangeLog index 661c4af2d..2e9f61299 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-06-24 Brian Matherly + * src/plugins/BookReport.py (BookReportDialog::__init__): + Fix non text report styles + 2007-06-24 Brian Matherly * src/plugins/BookReport.py (on_booklist_ok_clicked): Handle unicode names diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 0be39869e..d40558def 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -1015,6 +1015,18 @@ class BookReportDialog(ReportDialog): self.selected_style.add_paragraph_style( this_style_name,style_sheet.get_paragraph_style(this_style_name)) + for this_style_name in style_sheet.get_draw_style_names(): + self.selected_style.add_draw_style( + this_style_name,style_sheet.get_draw_style(this_style_name)) + + for this_style_name in style_sheet.get_table_style_names(): + self.selected_style.add_table_style( + this_style_name,style_sheet.get_table_style(this_style_name)) + + for this_style_name in style_sheet.get_cell_style_names(): + self.selected_style.add_cell_style( + this_style_name,style_sheet.get_cell_style(this_style_name)) + response = self.window.run() if response == RESPONSE_OK: try: