Office Macro

The Office macro displays an Office attachment as HTML inside the current document.

In order for the Office macro to work, you first need to make sure you have an Open Office/Libre Office server installed and running.

Usage

{{office attachment="<fileName>" filterStyles="<true|false>" /}}

Parameters

NameOptionalAllowed valuesDescriptionDefault value
attachmentNoA document referenceThe name of the attachment to displayNone
filterStylesYestrue falseA flag stating whether to filter the styles from the parsed contenttrue

Example

{{office attachment="xwiki:Sandbox.Test@DocumentationPresentation2013.odp" filterStyles="false"/}}

will display

OfficeMacro.png

  

Related Pages

Trying to decide between Cloud and On Premise? See the comparison on the XWiki Help Center.

Search this space