diff --git a/src/KwordDoc.py b/src/KwordDoc.py index ca74c10a9..956af21e6 100644 --- a/src/KwordDoc.py +++ b/src/KwordDoc.py @@ -242,13 +242,13 @@ class KwordDoc(TextDoc): self.f.write('\n') if font.get_underline(): self.f.write('\n') - if para.get_top_border(): + if p.get_top_border(): self.f.write('\n') - if para.get_bottom_border(): + if p.get_bottom_border(): self.f.write('\n') - if para.get_right_border(): + if p.get_right_border(): self.f.write('\n') - if para.get_left_border(): + if p.get_left_border(): self.f.write('\n') self.f.write('\n') if left != 0: diff --git a/src/plugins/HtmlReport.py b/src/plugins/HtmlReport.py index b7fa65740..4c5d6b03c 100644 --- a/src/plugins/HtmlReport.py +++ b/src/plugins/HtmlReport.py @@ -215,7 +215,7 @@ def report(database,person): name = person.getPrimaryName().getName() topDialog.get_widget("personName").set_text(name) - topDialog.get_widget("prefix").get_text("ind") + topDialog.get_widget("prefix").get_text() top.show()