From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementation Media
Description Converts documents to HTML with OpenOffice.org
Author(s) Tom Edwardstalk
Latest version 0.1 (2012-06-18)
MediaWiki 1.19
PHP 5.3
License GPL
Download http://steamreview.org/external/ooorender/OooRender-0.1.zip

  • $wgOooRenderOooPath
  • $wgOooRenderAllowMacros
  • $wgOooRenderTimeout

Check usage and version matrix.

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[edit]

  • 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.


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


Options are:

Dimensions in pixels.
Forces a document to cover 100% of the page width. No effect on spreadsheets (already default to 100%) or presentations (locked to 640px).
Displays an icon instead of the document. This happens automatically at small dimensions.
Floats the embed box
Changes the header text.

Download instructions[edit]

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


To install this extension, add the following to LocalSettings.php :

$wgOooRenderOooPath = "my_path";

To see detailed extension logs:

$wgDebugLogGroups = array(
  'OooRender'     => 'my_path',

Configuration parameters[edit]

Required. Path to an installation of OpenOffice.Org which includes Python.
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.