Extension:OooRender

OooRender uses a server installation of OpenOffice.org to convert uploaded documents, presentations, and spreadsheets to HTML/images. It supports Microsoft Office and OpenDocument files.

The extension also handles the display of each file, and includes a lightweight JavaScript slideshow viewer.

Beta issues

 * Tested on Windows only.
 * Potential OpenOffice.org security issues when converting documents submitted by malicious users. Be warned.
 * No UI to shut the OpenOffice.org process down manually.

Usage
Files are automatically converted. To insert them, use the standard embed markup:

Options are:


 * width=
 * height=
 * Dimensions in pixels.


 * stretch
 * Forces a document to cover 100% of the page width. No effect on spreadsheets (already default to 100%) or presentations (locked to 640px).


 * icon
 * Displays an icon instead of the document. This happens automatically at small dimensions.


 * align=left/right
 * Floats the embed box


 * caption=
 * Changes the header text.

Download instructions
Download the latest release from http://steamreview.org/external/ooorender/.

Installation
To install this extension, add the following to :

To see detailed extension logs:

Configuration parameters

 * Required. Path to an installation of OpenOffice.Org which includes Python.
 * Required. Path to an installation of OpenOffice.Org which includes Python.


 * Enable macro-enabled formats (including the MS Office binary format) to be converted.
 * Enable macro-enabled formats (including the MS Office binary format) to be converted.


 * How many seconds to wait for OpenOffice.Org to start. Default is 3.
 * How many seconds to wait for OpenOffice.Org to start. Default is 3.