Interface PresentationBuilder


  • @Role
    public interface PresentationBuilder
    Component responsible for building XDOMOfficeDocument objects from binary (presentation) office files. This component builds XDOMOfficeDocument objects which when rendered produces a slid-show like feeling on the wiki page.
    Since:
    2.1M1
    Version:
    $Id: 236add599482131ea20e5069c91b4f5a80fd368d $
    • 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.