diff --git a/src/plugins/docgen/ODFDoc.py b/src/plugins/docgen/ODFDoc.py index e6558bc9b..cc6279eeb 100644 --- a/src/plugins/docgen/ODFDoc.py +++ b/src/plugins/docgen/ODFDoc.py @@ -216,7 +216,8 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc): self.cntnt1.write(':xmlns:script:1.0" ') self.cntnt1.write('xmlns:dom="http://www.w3.org/2001/xml-events" ') self.cntnt1.write('xmlns:xforms="http://www.w3.org/2002/xforms" ') - self.cntnt1.write('office:class="text" office:version="1.0">\n') + #self.cntnt1.write('office:class="text" office:version="1.0">\n') + self.cntnt1.write('office:version="1.0">\n') self.cntnt1.write('\n') self.cntnt1.write('\n') self.cntnt1.write('') self.meta.write(self.time) self.meta.write('\n') - self.meta.write('') - self.meta.write('\n') + #self.meta.write('') + #self.meta.write('\n') self.meta.write('0-00-00T00:00:00\n') self.meta.write('%s\n' % self.lang) self.meta.write('1\n') @@ -1408,8 +1409,8 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc): maxx = max(point[0], maxx) maxy = max(point[1], maxy) - self.cntnt.write('' % float(y)) self.cntnt.write(' ' ) self.cntnt.write('' % para_name) - self.cntnt.write('' % font.get_size() ) + #self.cntnt.write('' % font.get_size() ) self.cntnt.write(escape(text, _esc_map)) - self.cntnt.write('') + #self.cntnt.write('') + self.cntnt.write('') self.cntnt.write('\n') self.cntnt.write('\n')