* src/docgen/OpenOfficeDoc.py: Compute correctly the draw:viewBox to
please some versions of OpenOffice.org svn: r4909
This commit is contained in:
parent
b068587c78
commit
8c2ce165d2
@ -1,3 +1,7 @@
|
||||
2005-07-07 Julio Sanchez <jsanchez@users.sourceforge.net>
|
||||
* src/docgen/OpenOfficeDoc.py: Compute correctly the draw:viewBox to
|
||||
please some versions of OpenOffice.org
|
||||
|
||||
2005-07-05 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/PeopleModel.py (calculate_data): Fix invert of search result
|
||||
* src/Date.py (is_equal): Only compare text value for TEXTONLY dates.
|
||||
|
@ -834,7 +834,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
|
||||
y = int((miny)*1000)
|
||||
|
||||
self.cntnt.write('svg:x="%d" svg:y="%d" ' % (x,y))
|
||||
self.cntnt.write('svg:viewBox="0 0 %d %d" ' % (int(maxx-minx)*1000,int(maxy-miny)*1000))
|
||||
self.cntnt.write('svg:viewBox="0 0 %d %d" ' % (int((maxx-minx)*1000),int((maxy-miny)*1000)))
|
||||
self.cntnt.write('svg:width="%.4fcm" ' % (maxx-minx))
|
||||
self.cntnt.write('svg:height="%.4fcm" ' % (maxy-miny))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user