Difference between revisions of "Open Office Export"
From Organic Design wiki
(add working tests even though dev stopped on it) |
m |
||
Line 31: | Line 31: | ||
;Here's some documents you can test it with (they have the export transform added to th URL's): | ;Here's some documents you can test it with (they have the export transform added to th URL's): | ||
− | *[{{SERVER}}/wiki/index.php?title= | + | *[{{SERVER}}/wiki/index.php?title=Forms_and_XPath_Queries&xpath:/properties:data=oo-regexp-export.php Forms & Xpath Queries] |
*[{{SERVER}}/wiki/index.php?title=The_Nodal_Model&xpath:/properties:data=oo-regexp-export.php The Nodal Model] | *[{{SERVER}}/wiki/index.php?title=The_Nodal_Model&xpath:/properties:data=oo-regexp-export.php The Nodal Model] | ||
*[{{SERVER}}/wiki/index.php?title=Project&xpath:/properties:data=oo-regexp-export.php About the project] | *[{{SERVER}}/wiki/index.php?title=Project&xpath:/properties:data=oo-regexp-export.php About the project] |
Revision as of 20:41, 24 January 2007
! |
Its only kept here incase we want to use any of the code again later |
The Export transform article is oo-regexp-export.php (and also oo-dom-export.php which does the same but using DOM but is unfinished). It is accessed from the "Export" button at the top of the page. The new button it is put there by default-skin.php which creates all the toolbars and navigation links outside the article itself.
Currently only Open Office Writer format is supported. It works correctly for embedded articles and outline numbered headings, integrating with Open Office's native outline-numbering system.
- Dependencies
- oo-doc-content.xml article
- oo-doc-styles.xml article
- oo-doc-manifest.xml article
- PclZip library from www.phpconcept.net
- Current limitations and bugs
- Images not started yet
- Some html tags showing up like p, br
- Some html that should be handled isn't like center
- Tables not finished yet
- Syntax highlighting has some bugs (eg. this doesn't work)
- Bullet lists don't indent to show hierarchy
- pre and nowiki still have some bugs
- No control over style
- Here's some documents you can test it with (they have the export transform added to th URL's)