Class PageBoxTreeBuilder


  • public class PageBoxTreeBuilder
    extends BaseBoxTreeBuilder
    A simple box tree builder that takes another page as its input, re-builds the box tree according to the parametres and returns a new page.
    Author:
    burgetr
    • Constructor Detail

      • PageBoxTreeBuilder

        public PageBoxTreeBuilder​(boolean useVisualBounds,
                                  boolean preserveAux)
    • Method Detail

      • processPage

        public Page processPage​(Page input,
                                String label,
                                String creator,
                                String creatorParams)
        Creates the new page from an input page.
        Parameters:
        input - the input page
        label - the label to be set for the new page
        creator - the creator ID to be set for the new page
        creatorParams - the creator parametres to be set for the new page
        Returns:
        the new page