public class PageArea extends SubFormPositioner
Positioner.PositionedLayoutComparator, Positioner.RowLayoutComparator
Modifier and Type | Field and Description |
---|---|
protected List<ContentArea> |
contentAreas |
protected int |
currentContentAreaInd |
protected static JsContainer |
pageareaJsObject |
protected com.itextpdf.text.Rectangle |
pageSize |
breakAfter, breakBefore, breakConditionNodes, breakOverflow, canvases, childUnnamedSubforms, internalBBox, subformJsObject
accessibleAttributes, assistTag, breakConditions, buildNextInstance, canvas, childElements, contentArea, data, endPageNumber, id, immediateChildren, isContentTagged, isEmpty, isTagged, keepConditions, layoutOutOfDate, overflowConditions, overflowedContentAreas, parent, positionState, role, startPageNumber, startSheetNumber, template, transformation
containerJsObject
instanceManagerByTemplate, nodeJsObject, nodes, protoTemplate, tag, textJsObject, UNIVERSAL_PROTOTYPE_ROOT, utf8Charset
flattenerContext, shortcuts, treeJsObject
rhinoJsObject
Constructor and Description |
---|
PageArea(XFATemplateTag templateTag, JsNode parentNode, DataTag dataTag, FlattenerContext flattenerContext) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(JsTree child) |
String |
getClassName() |
ContentArea |
getCurrentContentArea() |
int |
getCurrentContentAreaInd() |
int |
getMaxOccur() |
ContentArea |
getNextContentArea() |
int |
getOccured() |
com.itextpdf.text.Rectangle |
getPageSize() |
void |
incOccured() |
void |
initContentArea(Float parentLlx, Float parentUry) |
protected void |
populateCanvases(com.itextpdf.text.pdf.PdfContentByte parentCanvas) |
void |
setCurrentContentArea(ContentArea contentArea) |
void |
setCurrentContentAreaInd(int currentContentAreaInd) |
void |
setMaxOccur(int maxOccur) |
void |
setOccured(int occured) |
addInstance, addInternalBox, adjustContentArea, adjustContentAreaHeight, applyAlignment, checkBreakBeforeCondition, checkBreakBeforeCondition, checkOverflowing, createBreakConditions, get, getBreakOverflow, getFirstBreakAfter, getInstanceIndex, getInstanceManager, getInstanceManagerByTemplate, initLayout, isBreakable, position, relayout, resolveAllFromUnnamedSubformRecursively, resolveNameFromUnnamedSubformRecursively, setBreakOverflow, supportLegacyPlusPrint
addOverflowedPageContentArea, adjustContentAreaUry, adjustLayout, applyMargins, applyRotation, applyTransformationToRectangle, applyTransformationToRectangle, applyTranslation, doesNotFitContentArea, drawBorder, drawBorder, execCalculate, execEvent, execValidate, fetchDataNode, fetchDataTagRecursively, findNextBreakableElement, findNextBreakableElement, getAbsoluteBbox, getAbsoluteBbox, getAccessibleAttribute, getAccessibleAttributes, getAlternateText, getBBox, getBottomInset, getBreakConditions, getCalculationScripts, getCanvas, getCaptionText, getChildren, getContentArea, getData, getEndPageNumber, getFinalTransformation, getFlattenerContext, getFormattedValue, getId, getIndependentRotation, getKeepConditions, getLastPositionerBeforeInd, getLastPositionerInLayout, getLayout, getName, getOverflowConditions, getParent, getPositionState, getPreviousPositionerInLayout, getRawValue, getRole, getScriptsByActivity, getStartPageNumber, getStartSheetNumber, getTemplate, getTemplateId, getTransformation, getValidateScripts, initMinWContentAreaProperty, isBackgroundOrBorderExist, isContentTagged, isCurrentPageContentAreaOverflowed, isEmpty, isInline, isInvisible, isLayoutOutOfDate, isPositionedPartially, isVisible, move, place, place, put, removeChild, restorePosState, savePosState, setAccessibleAttribute, setBreakConditions, setCanvas, setData, setEndPageNumber, setId, setLayoutOutOfDate, setParent, setPositionState, setRawValue, setRole, setStartPageNumber, setTransformation, setWidth, setX, unapplyMargins
execInitialize, execOwnEvent, get$, getDataNode, getFillColor, setFillColor
addAfterMe, addChild, addChild, addInstanceManagerForTemplate, addVariable, getChild, getInstanceManagerByTemplate, getIsContainer, getIsNull, getNodes, getNotNullXFAPrototype, getOneOfChild, getProtoTemplate, getPrototypeObject, getTag, isHidden, isInactive, isPropertySpecified, loadXML, putCallback, retrieveAttribute, retrieveAttributes, retrieveChild, retrieveChild, retrieveChildren, retrieveChildren, retrieveContent, retrieveName, retrieveParent, retrieveRichText, retrieveValue, setOneOfChild, setProtoTemplate
getAll, getIndex, getNamePropertyByNameKey, getSomExpression, resolveNode, resolveNodeInt, resolveNodes, resolveNodesInt, searchNode, searchNodeByClassName, searchNodeById, searchNodeByName, searchNodeDown, searchNodes, searchNodesById, searchNodesByName, splitSOM, strictSearchNode, strictSearchNodeByName
defineConstantProperty, defineProperty, evaluateScript, evaluateScript, getDefaultValue, getOwnProperty, getProperty, getStringProperty, isUndefined, unwrap
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
protected static final JsContainer pageareaJsObject
protected int currentContentAreaInd
protected List<ContentArea> contentAreas
protected com.itextpdf.text.Rectangle pageSize
public PageArea(XFATemplateTag templateTag, JsNode parentNode, DataTag dataTag, FlattenerContext flattenerContext)
public int getOccured()
public int getMaxOccur()
public void setMaxOccur(int maxOccur)
public void setOccured(int occured)
public void incOccured()
public int getCurrentContentAreaInd()
public void setCurrentContentAreaInd(int currentContentAreaInd)
public String getClassName()
getClassName
in interface FormNode
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class SubFormPositioner
public void initContentArea(Float parentLlx, Float parentUry)
initContentArea
in class Positioner
public com.itextpdf.text.Rectangle getPageSize()
public ContentArea getCurrentContentArea()
public void setCurrentContentArea(ContentArea contentArea)
public ContentArea getNextContentArea()
public void addChild(JsTree child)
addChild
in class SubFormPositioner
protected void populateCanvases(com.itextpdf.text.pdf.PdfContentByte parentCanvas)
populateCanvases
in class SubFormPositioner
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.