ODFDoc : issue 3440; remove only fo:max-height.

svn: r13988
This commit is contained in:
Serge Noiraud 2010-01-07 20:30:47 +00:00
parent e4a8cc44ae
commit fca7917515

View File

@ -1070,7 +1070,9 @@ class ODFDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
self.cntnt.write('svg:y="%.2fcm">' % float(y))
self.cntnt.write('<draw:text-box> ' )
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(escape(text, _esc_map))
self.cntnt.write('</text:span>')
self.cntnt.write('</text:p>')
self.cntnt.write('</draw:text-box>\n')
self.cntnt.write('</draw:frame>\n')