Share

OOpyRep

File Release Notes and Changelog

Release Name: oopyrep_prototype

Notes: This is the initial prototype of OOpyRep. It's intended audience is developers who want to improve it and/or participate in the further development. The only requirement, besides a basic Python installation is that reportlab (http://www.reportlab.com) is installed. Files: Document.py - the main program (currently, to be changed) Parser.py - the parsing routines for the OO file format Text.py - the text objects Line.py - line:draw object Table.py - the table objects Style.py - holds all the styles Font.py - holds all the fonts Explanations: Document.py has to be splittet. Currently it houses the Document base class as well as the DocumentParser, which shouldn't be there since it will only be needed to create the python representation of the OO document. To try different documents just change the last line in Document.py Urgent Todo's: most urgent is the correct font formatting. Currently most fonts are not recognized and therefor Times-Roman is used. This screws up the layout of the page since the font sizes aren't handled correctly. Also some attributes are not recognized, which is things like center and right align, as well as font attributes like bold and underlined. Images in the text are also not recognized. Current State: It can handle basic documents with no fancy formatting, basic tables with spans and cell repeats, as well as simple lines aligned to a paragraph. If you want to participate, drop me a note to uwe@oss4u.com Enjoy


Changes: Initial Prototype as proof of concept