* src/docgen/AbiWordDoc.py: removed the 1.0 version of AbiWord, since

GRAMPS is a GNOME 2 application, support the GNOME 2 version of AbiWord
* src/docgen/OpenOfficeDoc.py: Fixed width fonts for preformatted text
* src/docgen/AbiWord2Doc.py: Fixed width fonts for preformatted text


svn: r2521
This commit is contained in:
Don Allingham
2003-12-14 21:45:11 +00:00
parent 7ab159a93e
commit 5e9a9d1266
3 changed files with 10 additions and 360 deletions

View File

@@ -232,9 +232,11 @@ class AbiWordDoc(BaseDoc.BaseDoc):
elif format == 0:
for line in text.split('\n\n'):
self.start_paragraph(style_name)
self.f.write('<c props="font-family:Courier">')
line = line.replace('\n',' ')
line = string.join(string.split(line))
self.write_text(line)
self.f.write('</c>')
self.end_paragraph()
def write_text(self,text):
@@ -295,4 +297,4 @@ class AbiWordDoc(BaseDoc.BaseDoc):
def end_cell(self):
self.f.write('</cell>\n')
Plugins.register_text_doc(_("AbiWord (version 1.9 or greater)"),AbiWordDoc,1,1,1,".abw")
Plugins.register_text_doc(_("AbiWord"),AbiWordDoc,1,1,1,".abw")