@Role
public interface OfficeResourceViewer
Modifier and Type | Method and Description |
---|---|
org.xwiki.rendering.block.XDOM |
createView(org.xwiki.rendering.listener.reference.ResourceReference reference,
Map<String,?> parameters)
Creates a
XDOM view of the specified office file. |
org.xwiki.rendering.block.XDOM createView(org.xwiki.rendering.listener.reference.ResourceReference reference, Map<String,?> parameters) throws Exception
XDOM
view of the specified office file.reference
- reference to the office file to be viewedparameters
- implementation specific view parametersXDOM
representation of the specified office documentException
- if an error occurs while accessing the office attachment or while creating the viewCopyright © 2004–2021 XWiki. All rights reserved.