Class ExternalDocumentLayoutManager

    • Constructor Detail

      • ExternalDocumentLayoutManager

        public ExternalDocumentLayoutManager​(AreaTreeHandler ath,
                                             ExternalDocument document)
        Constructor
        Parameters:
        ath - the area tree handler object
        document - fox:external-document to process
    • Method Detail

      • getExternalDocument

        protected ExternalDocument getExternalDocument()
        Returns:
        the ExternalDocument being managed by this layout manager
      • activateLayout

        public void activateLayout()
        Activate the layout of this page sequence. PageViewports corresponding to each page generated by this page sequence will be created and sent to the AreaTreeModel for rendering.
      • finishPageSequence

        public void finishPageSequence()
        Finished the page-sequence and notifies everyone about it.
      • createPage

        protected Page createPage​(int pageNumber,
                                  boolean isBlank)
        Creates and returns a new page.
        Specified by:
        createPage in class AbstractPageSequenceLayoutManager
        Parameters:
        pageNumber - the page number
        isBlank - true if it's a blank page
        Returns:
        the newly created page