[initial checkin - not working yet! Andreas Gohr **20070115192753] [works a little bit more - still not complete Andreas Gohr **20070115221407] [more improvements Andreas Gohr **20070116211928 internal images nearly work preformatted text works good enough for a start ] [more changes Andreas Gohr **20070123195430] [Tables added, styles missing, yet Andreas Gohr **20070124095505] [more link features Andreas Gohr **20070124112817] [function complete Andreas Gohr **20070124150428 All needed function should be there now. Not all are implemented fully, next step is creating better style defs and fixing the metadata ] [added missing XML encoding Aurelien Bompard **20071013193258] [multiple updates Aurelien Bompard **20071015115229 Here's what the patch contains, in the file's order - removed a few unused styles - added styles for bullet and numbered lists (numbered lists were rendered with bullets before) - added a few styles titles (cosmetic...) - added styles for aligned table cells (they were all left-justified before) - added a few empty functions for further implementation... - added bookmarks when a title is created, to enable internal links - fix table cells alignment (it's always text:style, not table:style) - use styles for bullet and numbered lists - make the smiley function actually embed the smiley's image (makes nice FIXME images :) ) - fixed the entity function to work on PHP5 and degrade as before on PHP4 - added the right UTF-8 character for multiplication - use the language-dependant character for quotes and apostrophes - render quoted text (normally) - add a camelcase handling function - add a reference function for internal linking - use this function when the link is internal - fix email links - copy _headerToLink function from xhtml rendering, for internal links - copy the rss function from xhtml rendering, and fix the list open functions to adapt to odt rendering ] [adds an "Export to ODT" button where you add "~~ODT~~" Aurelien Bompard **20071015115415] [enable the image legends Aurelien Bompard **20071015115506] [remove hardcoded german language Aurelien Bompard **20071015115624] [fixed export button creation Andreas Gohr **20071015120248] [fix for html_entity_decode without multibyte support Andreas Gohr **20071015122005] [correctly XML encode URLs Andreas Gohr **20071016122312] [place headers in metadata + cleanup Andreas Gohr **20071016190518] [removed settings.xml and added some info to styles.xml Andreas Gohr **20071016204901] [various improvements Aurelien Bompard **20071026130413 * factorisation of the image adding code into one function (except for external media, which does not add the image to the archive). IIRC, LCD monitors are 96dpi in resolution, so I've switched 72 to 96 because that works for me. No idea if it's the right solution though. * the automatic-styles need to be kept both in styles.xml and in content.xml. That's a bit strange and IIRC the spec says that styles.xml should be enough, but OpenOffice likes it better when they're in both. So I've made a function which allows registering a style into a class variable, and outputing all the styles in both files at document generation. This has another advantage: any function can register its styles when needed, so external plugins can start supporting the odt output format... * don't register titles in the TOC, since we don't build it * use svg:rel-width="100%" when we don't know the image size (external media) * remove the unused reference2 function * justify the "Text body" text by default ] [changed syntax plugin to output similar to S5 output Andreas Gohr **20071026191602] [fixed copy'n'paste errors Andreas Gohr **20071026192519] [added missing plugin info Andreas Gohr **20071026192852] [French and German language file Andreas Gohr **20071029204328] [add the missing style for footnotes Aurelien Bompard **20080219171427] [fix table borders and list style Aurelien Bompard **20080219171641] [version number upped Andreas Gohr **20080219172449]