public class CPage extends CBlockElement
elementPtr| Constructor and Description |
|---|
CPage(long ptr)
Create a page element with native pointer.
|
| Modifier and Type | Method and Description |
|---|---|
CDiv |
createDivElement()
Create a div element as a child of this page.
|
CList |
createListElement()
Create a list element as a child of this page.
|
CTable |
createTableElement(CUnitValue[] colWidths)
Create a table element as a child of this page, with column widths as unit values.
|
CTable |
createTableElement(float[] colWidths)
Create a table element as a child of this page, with column widths in points.
|
CTable |
createTableElement(int numColumns)
Create a table element as a child of this page, specifying number of columns.
|
java.util.ArrayList<CIElement> |
getChildren()
Get child elements of this page.
|
CUnitValue |
getHeight()
Get page height.
|
CElementType |
getType()
Get element type.
|
CUnitValue |
getWidth()
Get page width.
|
getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, setHeight, setHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddings, setPaddingTop, setVerticalAlignment, setWidth, setWidthaddStyle, getStyles, hasProperty, isAbsolute, isEmptydeleteProperty, getProperties, getStrokeColor, getStrokeWidth, hasProperty, setAbsolutePosition, setAbsolutePosition, setBackgroundColor, setBackgroundImage, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setFontColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setHorizontalAlignment, setInlineVerticalAlignment, setOpacity, setStrokeColor, setStrokeWidth, setTextAlignment, setUnderline, setWordSpacingpublic CPage(long ptr)
ptr - Native page pointer/handle.public CElementType getType()
CElementType.ELEMENT_PAGE.public CUnitValue getWidth()
getWidth in class CBlockElementCUnitValue.public CUnitValue getHeight()
getHeight in class CBlockElementCUnitValue.public CDiv createDivElement()
CDiv element instance.public CTable createTableElement(float[] colWidths)
colWidths - Column widths array (unit is implementation-defined; commonly points).CTable element instance.public CTable createTableElement(CUnitValue[] colWidths)
colWidths - Column widths array as CUnitValue.CTable element instance.public CTable createTableElement(int numColumns)
numColumns - Number of columns.CTable element instance.public CList createListElement()
CList element instance.public java.util.ArrayList<CIElement> getChildren()
getChildren in class CAbstractElement