Class FloatLayout
java.lang.Object
com.itextpdf.text.pdf.FloatLayout
Helper class for PdfDiv to put a collection of Element objects
at an absolute position.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ColumnTextprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected final booleanprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intfloatingLayout(List<Element> floatingElements, boolean simulate) floatintfloatgetYLine()intlayout(PdfContentByte canvas, boolean simulate) voidsetFilledWidth(float filledWidth) voidsetRunDirection(int runDirection) voidsetSimpleColumn(float llx, float lly, float urx, float ury) voidsetYLine(float yLine)
-
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
-
-
useAscender
protected final boolean useAscender
-
-
Constructor Details
-
FloatLayout
-
-
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
- Throws:
DocumentException
-
floatingLayout
private int floatingLayout(List<Element> floatingElements, boolean simulate) throws DocumentException - Throws:
DocumentException
-