ODFDoc : issue 3440; only remove fo:max-height.
svn: r13989
This commit is contained in:
parent
427b24a34d
commit
da41542da6
@ -1468,10 +1468,10 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
|
|||||||
self.cntnt.write('svg:y="%.2fcm">' % float(y))
|
self.cntnt.write('svg:y="%.2fcm">' % float(y))
|
||||||
self.cntnt.write('<draw:text-box> ' )
|
self.cntnt.write('<draw:text-box> ' )
|
||||||
self.cntnt.write('<text:p text:style-name="F%s">' % para_name)
|
self.cntnt.write('<text:p text:style-name="F%s">' % para_name)
|
||||||
#self.cntnt.write('<text:span text:style-name="F%s"' % para_name)
|
self.cntnt.write('<text:span text:style-name="F%s">' % para_name)
|
||||||
#self.cntnt.write(' fo:max-height="%.2f">' % font.get_size() )
|
#self.cntnt.write(' fo:max-height="%.2f">' % font.get_size() )
|
||||||
self.cntnt.write(escape(text, _esc_map))
|
self.cntnt.write(escape(text, _esc_map))
|
||||||
#self.cntnt.write('</text:span>')
|
self.cntnt.write('</text:span>')
|
||||||
self.cntnt.write('</text:p>')
|
self.cntnt.write('</text:p>')
|
||||||
self.cntnt.write('</draw:text-box>\n')
|
self.cntnt.write('</draw:text-box>\n')
|
||||||
self.cntnt.write('</draw:frame>\n')
|
self.cntnt.write('</draw:frame>\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user