public class StaticContent extends FlowObjectWithElements
EMPTY_ARRAY
MAP_TYPE_FLYWEIGHT, MAP_TYPE_HASH
Constructor and Description |
---|
StaticContent() |
Modifier and Type | Method and Description |
---|---|
StaticContent |
add(BlockElement element)
Adds an formatting object (that is a block-group-member) to this FO.
|
StaticContent |
add(InlineElement element)
Adds an InlineElement embedded in a fo-block.
|
StaticContent |
add(int idx,
BlockElement element)
Adds an formatting object (that is a block-group-member) to this FO.
|
StaticContent |
add(java.lang.String text)
Adds some text embedded in a fo-block.
|
StaticContent |
append(StaticContent sc)
Appends the content of the given StaticContent to this content.
|
java.lang.String |
getFlowName()
Gets the flow-name of this static content.
|
Values.Region |
getRegion()
Gets the region of this static content.
|
void |
setFlowName(java.lang.String flowName)
Sets the flow-name directly.
|
void |
setRegion(Values.Region reg)
Sets the region of this static content.
|
add, add, add, add, addAllImpl, addAllUnsafe, addAllUnsafe, addElement, addElement, addElements, addElements, addUnsafe, addUnsafe, clone, firstElement, getElements, isEmpty, lastElement, remove, remove, removeAll, removeElement, removeElement, removeLast, replaceElement, setElement
cloned, clonedList, createUniqueID, doGetAttribute, doSetAttribute, elementCount, get, getAbsolutePosition, getAccessibility, getAttributeMap, getBackground, getBorder, getDefinedAttributes, getDocument, getFont, getID, getLanguage, getLogger, getMargin, getMeasureValue, getObjectValue, getObjectValue, getObjectValue, getObjectValue, getOrphans, getPadding, getParentFO, getRelativePosition, getWidows, hasBorder, hasID, hasPadding, isHyphenation, setAbsolutePosition, setAccessibility, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBackground, setBorder, setFont, setHyphenation, setID, setLanguage, setLanguage, setMargin, setOrphans, setPadding, setRelativePosition, setWidows
getDefaultMapType, setDefaultMapType
addAttributeChangeListener, clearEqualAttributes, clearInheratedAttribute, clearInheratedAttributes, clearValue, contains, contains, copyAttributes, createID, findFirstNodeWithText, findNode, findNodesWithText, fire, fireSaxEvents, getAttrAsBoolean, getAttrAsInteger, getAttrAsString, getAttrAsString, getAttribute, getAttribute, getAttributeMap, getContentText, getContentText, getDefinedAttributes, getElements, getElements, getElements, getFirstElement, getIndex, getLocalName, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getParent, getParent, getParent, getParentOrThis, getQName, getRoot, hasEqualAttrs, indexOf, liftInheritedAttribute, removeAttributeChangeListener, setAttribute, setAttributes, setAttrIfNotNull, setEnableAttributeChangeEvent, setNamespace, setParent, setQName, setUndefinedAttributes, writeTo, writeTo, writeTo, writeTo
public StaticContent add(BlockElement element)
element
- FormattingObject.public StaticContent add(int idx, BlockElement element)
idx
- Index.element
- FormattingObject.public StaticContent append(StaticContent sc)
sc
- StaticContent you want to append.public StaticContent add(InlineElement element)
element
- Element.public StaticContent add(java.lang.String text)
text
- Text.public Values.Region getRegion()
public void setRegion(Values.Region reg)
reg
- Region of static content.public void setFlowName(java.lang.String flowName)
flowName
- Name of flow.public java.lang.String getFlowName()
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.