Fix non-text report styles in book reports.
svn: r8659
This commit is contained in:
parent
5e06472c14
commit
3bec863693
@ -1,3 +1,7 @@
|
||||
2007-06-24 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/BookReport.py (BookReportDialog::__init__):
|
||||
Fix non text report styles
|
||||
|
||||
2007-06-24 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/BookReport.py (on_booklist_ok_clicked): Handle unicode names
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user