Class CSSBoxTreeBuilder


  • public class CSSBoxTreeBuilder
    extends BaseBoxTreeBuilder
    This class implements building the box tree using the CSSBox rendering engine.
    Author:
    burgetr
    • Field Detail

      • pageUrl

        protected URL pageUrl
      • pageTitle

        protected String pageTitle
      • page

        protected PageImpl page
        The resulting page
      • viewport

        protected org.fit.cssbox.layout.Viewport viewport
        CSSBox viewport that represents the rendered page box tree
      • pageSize

        protected org.fit.cssbox.layout.Dimension pageSize
        Requested page dimensions
      • replaceImagesWithAlt

        protected boolean replaceImagesWithAlt
        Replace the images with their alt text
    • Constructor Detail

      • CSSBoxTreeBuilder

        public CSSBoxTreeBuilder​(org.fit.cssbox.layout.Dimension pageSize,
                                 boolean useVisualBounds,
                                 boolean preserveAux,
                                 boolean replaceImagesWithAlt)