Package com.itextpdf.text.pdf
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 ColumnText
protected float
protected float
protected float
protected float
protected float
protected float
protected float
protected final boolean
protected float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
floatingLayout
(List<Element> floatingElements, boolean simulate) float
int
float
getYLine()
int
layout
(PdfContentByte canvas, boolean simulate) void
setFilledWidth
(float filledWidth) void
setRunDirection
(int runDirection) void
setSimpleColumn
(float llx, float lly, float urx, float ury) void
setYLine
(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
-