Package org.xwiki.office.viewer
Interface OfficeResourceViewer
-
@Role public interface OfficeResourceViewer
The component responsible for creating XDOM views from office resource.- Since:
- 5.4.6, 6.2.2
- Version:
- $Id: 74ea05c0154287dc7ab69c1e52b210cfc6d61864 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.xwiki.rendering.block.XDOM
createView(org.xwiki.rendering.listener.reference.ResourceReference reference, Map<String,?> parameters)
Creates aXDOM
view of the specified office file.
-
-
-
Method Detail
-
createView
org.xwiki.rendering.block.XDOM createView(org.xwiki.rendering.listener.reference.ResourceReference reference, Map<String,?> parameters) throws Exception
Creates aXDOM
view of the specified office file.- Parameters:
reference
- reference to the office file to be viewedparameters
- implementation specific view parameters- Returns:
XDOM
representation of the specified office document- Throws:
Exception
- if an error occurs while accessing the office attachment or while creating the view
-
-