Package org.xwiki.officeimporter.builder
Interface PresentationBuilder
-
@Role public interface PresentationBuilder
Component responsible for buildingXDOMOfficeDocument
objects from binary (presentation) office files. This component buildsXDOMOfficeDocument
objects which when rendered produces a slid-show like feeling on the wiki page.- Since:
- 2.1M1
- Version:
- $Id: 236add599482131ea20e5069c91b4f5a80fd368d $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XDOMOfficeDocument
build(InputStream officeFileStream, String officeFileName, org.xwiki.model.reference.DocumentReference reference)
Builds a (slide-show)XDOMOfficeDocument
corresponding to the given office presentation.
-
-
-
Method Detail
-
build
XDOMOfficeDocument build(InputStream officeFileStream, String officeFileName, org.xwiki.model.reference.DocumentReference reference) throws OfficeImporterException
Builds a (slide-show)XDOMOfficeDocument
corresponding to the given office presentation.- Parameters:
officeFileStream
-InputStream
corresponding to the office presentation.officeFileName
- name of the office document (used to determine input document format).reference
- reference document w.r.t which the presentation is built.- Returns:
XDOMOfficeDocument
corresponding to the given office presentation.- Throws:
OfficeImporterException
- if an error occurs while performing the import operation.
-
-