Class FloatLayout

java.lang.Object
com.itextpdf.text.pdf.FloatLayout

public class FloatLayout extends Object
Helper class for PdfDiv to put a collection of Element objects at an absolute position.
  • Field Details

    • maxY

      protected float maxY
    • minY

      protected float minY
    • leftX

      protected float leftX
    • rightX

      protected float rightX
    • yLine

      protected float yLine
    • floatLeftX

      protected float floatLeftX
    • floatRightX

      protected float floatRightX
    • filledWidth

      protected float filledWidth
    • compositeColumn

      protected final ColumnText compositeColumn
    • content

      protected final List<Element> content
    • useAscender

      protected final boolean useAscender
  • Constructor Details

    • FloatLayout

      public FloatLayout(List<Element> elements, boolean useAscender)
  • Method Details

    • getYLine

      public float getYLine()
    • setYLine

      public void setYLine(float yLine)
    • getFilledWidth

      public float getFilledWidth()
    • setFilledWidth

      public void setFilledWidth(float filledWidth)
    • getRunDirection

      public int getRunDirection()
    • setRunDirection

      public void setRunDirection(int runDirection)
    • setSimpleColumn

      public void setSimpleColumn(float llx, float lly, float urx, float ury)
    • layout

      public int layout(PdfContentByte canvas, boolean simulate) throws DocumentException
      Throws:
      DocumentException
    • floatingLayout

      private int floatingLayout(List<Element> floatingElements, boolean simulate) throws DocumentException
      Throws:
      DocumentException