You are not logged in Log in Join
You are here: Home » Members » longsleep » CMF OpenOffice Document » CMF OpenOffice Document Readme

Log in
Name

Password

 

CMF OpenOffice Document Readme

CMF OpenOffice.org Document

The CMF OpenOffice Document provide the possibility to integrate OpenOffice.org and Suns StarOffice 6 documents including images, and tables into a CMF powered Website. There are the following features:

  • A uploaded OpenOffice.org Document is rendered with XSLT to html.
  • All binary content included with the Document is also accessable through the web representation.
  • Metadata (currently Title and Description) is automatically inserted into the DublinCore elements.
  • OpenOffice.org files are zip archives which are extracted on demand to get the xml files. Images inside the OpenOffice Document are extracted and stored inside a persistent BTree.
  • The included images are resized using bicubic filtering to provide best image quality. (PIL is required)
  • Fast XSLT transformation by use of libxml2/libxslt.
  • Libxslt and Libxml2 and its python bindings are available on a lot of platforms (including Windows).
  • OpenOffice.org Documents can be edited with Casey Duncans ExternalEditor which make it very easy to modify existing documents with OpenOffice.org. When a Document is stored back is will be rendered html at once.
  • A document specific css stylesheet can be used to display font/color modifications of the native OpenOffice.org document inside the html. (turned of by default)
  • Add a integer property called keepOOStyles to your portal object and set it to 0 (zero) value to strip OpenOffice.org styles.
  • Makes use of sx2ml xslt stylesheets which can be found at http://xml.openoffice.org/source/browse/xml/xmloff/xslt/sx2ml/ . More information can be found inside the readme.txt file inside the sx2ml directory of the CMFOODocument folder.

Using It

Use of OODocument is quite as easy as the use of usual Documents. Just add and OODocument to a folder and upload an OpenOffice.org Document. Right after uploading the document is rendered to html. When rendering is finished one can view the html repesentation.

Integration

Conclusion

I hope you enjoy using this software. If you have any comments, suggestions or would like to report a bug, send an email to the author:

Simon Eisenmann

[email protected]

-- (c) 2002-2003, Simon Eisenmann and Zope Corporation. All rights reserved.