1 Mar 2009 04:42
r5880 - in trunk/sandbox/rst2odp: bin/rst2odp odplib/preso.py
<matt_harrison <at> users.berlios.de>
2009-03-01 03:42:20 GMT
2009-03-01 03:42:20 GMT
Author: matt_harrison
Date: 2009-03-01 04:42:19 +0100 (Sun, 01 Mar 2009)
New Revision: 5880
Modified:
trunk/sandbox/rst2odp/bin/rst2odp
trunk/sandbox/rst2odp/odplib/preso.py
Log:
code cleanup, add line breaks between paragraphs, handle spaces more like OOo
Modified: trunk/sandbox/rst2odp/bin/rst2odp
===================================================================
--- trunk/sandbox/rst2odp/bin/rst2odp 2009-02-27 15:23:41 UTC (rev 5879)
+++ trunk/sandbox/rst2odp/bin/rst2odp 2009-03-01 03:42:19 UTC (rev 5880)
<at> <at> -229,9 +229,10 <at> <at>
self.cur_slide.add_notes_frame()
else:
self.cur_slide.cur_element = self.cur_slide.notes_frame
- self.cur_slide.add_node('text:line-break', {})
- self.cur_slide.pop_node() # close line-break
+ self.cur_slide.insert_line_break += 1
+ self.cur_slide.insert_line_breaks()
+
def visit_paragraph(self, node):
classes = node.attributes.get('classes', [])
self._push_handout(classes)
<at> <at> -299,6 +300,8 <at> <at>
self.bullet_depth += 1
(Continue reading)
RSS Feed