Class VisualStructureConstructor


  • public class VisualStructureConstructor
    extends Object
    Constructs the final visual structure of page.
    Author:
    Tomas Popela, burgetr
    • Method Detail

      • setPageSize

        public void setPageSize​(Rectangular bounds)
        Sets the page bounds.
        Parameters:
        bounds - the new page bounds
      • getVisualStructure

        public VisualArea getVisualStructure()
        Returns:
        Returns final visual structure
      • setVipsBlocks

        public void setVipsBlocks​(List<VisualBlock> vipsBlocks)
        Sets VipsBlock structure and also finds and saves all visual blocks from its
        Parameters:
        vipsBlocks - VipsBlock structure
      • getVisualBlocks

        public List<VisualBlock> getVisualBlocks()
        Returns all visual blocks in page
        Returns:
        Visual Blocks
      • constructVisualStructure

        public void constructVisualStructure()
        Constructs the new visual structure.
      • getMinimalDoC

        public int getMinimalDoC()
        Returns minimal DoC on page
        Returns:
        Minimal DoC