Fix PaperStyle typos for AbiWord2Doc.
svn: r8341
This commit is contained in:
parent
2002d9a1ba
commit
6a864bb44c
@ -1,3 +1,6 @@
|
|||||||
|
2007-03-31 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/docgen/AbiWord2Doc.py: Fix PaperStyle typos.
|
||||||
|
|
||||||
2007-03-29 Don Allingham <don@gramps-project.org>
|
2007-03-29 Don Allingham <don@gramps-project.org>
|
||||||
* src/ViewManager.py: load previous db if requested
|
* src/ViewManager.py: load previous db if requested
|
||||||
* src/gramps_main.py: load previous db if requested
|
* src/gramps_main.py: load previous db if requested
|
||||||
|
@ -103,7 +103,7 @@ class AbiWordDoc(BaseDoc.BaseDoc):
|
|||||||
|
|
||||||
# page size section
|
# page size section
|
||||||
self.f.write('<pagesize ')
|
self.f.write('<pagesize ')
|
||||||
self.f.write('pagetype="%s" ' % self.paper.get_name())
|
self.f.write('pagetype="%s" ' % self.paper.get_size().get_name())
|
||||||
if self.paper.get_orientation() == BaseDoc.PAPER_PORTRAIT:
|
if self.paper.get_orientation() == BaseDoc.PAPER_PORTRAIT:
|
||||||
self.f.write('orientation="portrait" ')
|
self.f.write('orientation="portrait" ')
|
||||||
else:
|
else:
|
||||||
@ -114,7 +114,7 @@ class AbiWordDoc(BaseDoc.BaseDoc):
|
|||||||
self.f.write('<section ')
|
self.f.write('<section ')
|
||||||
rmargin = float(self.paper.get_right_margin())/2.54
|
rmargin = float(self.paper.get_right_margin())/2.54
|
||||||
lmargin = float(self.paper.get_left_margin())/2.54
|
lmargin = float(self.paper.get_left_margin())/2.54
|
||||||
self.f.write('props="page-margin-right:%.4fin; ' % paper.get_right_margin())
|
self.f.write('props="page-margin-right:%.4fin; ' % self.paper.get_right_margin())
|
||||||
self.f.write('page-margin-left:%.4fin"' % lmargin)
|
self.f.write('page-margin-left:%.4fin"' % lmargin)
|
||||||
self.f.write('>\n')
|
self.f.write('>\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user