public class CaptionElement extends JsNode
Modifier and Type | Field and Description |
---|---|
protected static JsNode |
captionJsObject |
instanceManagerByTemplate, nodeJsObject, nodes, protoTemplate, tag, textJsObject, UNIVERSAL_PROTOTYPE_ROOT, utf8Charset
flattenerContext, shortcuts, treeJsObject
rhinoJsObject
Constructor and Description |
---|
CaptionElement(com.itextpdf.tool.xml.Tag tag, IJsObject parent) |
Modifier and Type | Method and Description |
---|---|
PositionResult |
draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox) |
void |
fixCaptionAreaByContentArea(XFARectangle rec) |
void |
fixCaptionAreaByParentArea(XFARectangle contentArea) |
String |
getCaptionText() |
XFARectangle |
getElementRec() |
String |
getPlacement() |
Float |
getReserve() |
TextDrawer |
getTextDrawer() |
boolean |
isEmpty() |
boolean |
isTagged() |
void |
move(float dx, float dy) |
void |
place(XFARectangle contentArea, FlattenerContext flattenerContext) |
PositionResult |
simulatePosition(XFARectangle parentBoundingBox) |
addAfterMe, addChild, addChild, addChild, addInstanceManagerForTemplate, addVariable, get, getChild, getInstanceManagerByTemplate, getIsContainer, getIsNull, getNodes, getNotNullXFAPrototype, getOneOfChild, getParent, getProtoTemplate, getPrototypeObject, getTag, isHidden, isInactive, isPropertySpecified, loadXML, put, 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, getClassName, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassName
protected static final JsNode captionJsObject
public CaptionElement(com.itextpdf.tool.xml.Tag tag, IJsObject parent)
public PositionResult draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox) throws com.itextpdf.text.DocumentException, IOException
com.itextpdf.text.DocumentException
IOException
public String getCaptionText()
public TextDrawer getTextDrawer()
public boolean isEmpty()
isEmpty
in class org.mozilla.javascript.ScriptableObject
public String getPlacement()
public Float getReserve()
public void fixCaptionAreaByContentArea(XFARectangle rec)
public void fixCaptionAreaByParentArea(XFARectangle contentArea)
public void place(XFARectangle contentArea, FlattenerContext flattenerContext)
public boolean isTagged()
public XFARectangle getElementRec()
public PositionResult simulatePosition(XFARectangle parentBoundingBox) throws com.itextpdf.text.DocumentException, IOException
com.itextpdf.text.DocumentException
IOException
public void move(float dx, float dy)
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.