public class TextNumberedParagraphElement extends OdfStylableElement
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
mFamily, mStyleNameAttrib
localName, namespaceURI
attributes, name
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
TextNumberedParagraphElement(OdfFileDom ownerDoc)
Create the instance of
TextNumberedParagraphElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
OdfName |
getOdfName()
Get the element name
|
Boolean |
getTextContinueNumberingAttribute()
Receives the value of the ODFDOM attribute representation
TextContinueNumberingAttribute , See text:continue-numbering |
Integer |
getTextLevelAttribute()
Receives the value of the ODFDOM attribute representation
TextLevelAttribute , See text:level |
String |
getTextListIdAttribute()
Receives the value of the ODFDOM attribute representation
TextListIdAttribute , See text:list-id
Attribute is mandatory. |
Integer |
getTextStartValueAttribute()
Receives the value of the ODFDOM attribute representation
TextStartValueAttribute , See text:start-value |
String |
getTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
TextStyleNameAttribute , See text:style-name |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation
XmlIdAttribute , See xml:id |
TextHElement |
newTextHElement(int textOutlineLevelValue)
Create child element text:h.
|
TextNumberElement |
newTextNumberElement()
Create child element text:number.
|
TextPElement |
newTextPElement()
Create child element text:p.
|
void |
setTextContinueNumberingAttribute(Boolean textContinueNumberingValue)
Sets the value of ODFDOM attribute representation
TextContinueNumberingAttribute , See text:continue-numbering |
void |
setTextLevelAttribute(Integer textLevelValue)
Sets the value of ODFDOM attribute representation
TextLevelAttribute , See text:level |
void |
setTextListIdAttribute(String textListIdValue)
Sets the value of ODFDOM attribute representation
TextListIdAttribute , See text:list-id |
void |
setTextStartValueAttribute(Integer textStartValueValue)
Sets the value of ODFDOM attribute representation
TextStartValueAttribute , See text:start-value |
void |
setTextStyleNameAttribute(String textStyleNameValue)
Sets the value of ODFDOM attribute representation
TextStyleNameAttribute , See text:style-name |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation
XmlIdAttribute , See xml:id |
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleName
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
public static final OdfName ELEMENT_NAME
public TextNumberedParagraphElement(OdfFileDom ownerDoc)
TextNumberedParagraphElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element text:numbered-paragraph.public Boolean getTextContinueNumberingAttribute()
TextContinueNumberingAttribute
, See text:continue-numberingBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue)
TextContinueNumberingAttribute
, See text:continue-numberingtextContinueNumberingValue
- The type is Boolean
public Integer getTextLevelAttribute()
TextLevelAttribute
, See text:levelInteger
, the value or null
, if the attribute is not set and no default value defined.public void setTextLevelAttribute(Integer textLevelValue)
TextLevelAttribute
, See text:leveltextLevelValue
- The type is Integer
public String getTextListIdAttribute()
TextListIdAttribute
, See text:list-id
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setTextListIdAttribute(String textListIdValue)
TextListIdAttribute
, See text:list-idtextListIdValue
- The type is String
public Integer getTextStartValueAttribute()
TextStartValueAttribute
, See text:start-valueInteger
, the value or null
, if the attribute is not set and no default value defined.public void setTextStartValueAttribute(Integer textStartValueValue)
TextStartValueAttribute
, See text:start-valuetextStartValueValue
- The type is Integer
public String getTextStyleNameAttribute()
TextStyleNameAttribute
, See text:style-nameString
, the value or null
, if the attribute is not set and no default value defined.public void setTextStyleNameAttribute(String textStyleNameValue)
TextStyleNameAttribute
, See text:style-nametextStyleNameValue
- The type is String
public String getXmlIdAttribute()
XmlIdAttribute
, See xml:idString
, the value or null
, if the attribute is not set and no default value defined.public void setXmlIdAttribute(String xmlIdValue)
XmlIdAttribute
, See xml:idxmlIdValue
- The type is String
public TextHElement newTextHElement(int textOutlineLevelValue)
textOutlineLevelValue
- the Integer
value of TextOutlineLevelAttribute
, see text:outline-level at specificationpublic TextNumberElement newTextNumberElement()
public TextPElement newTextPElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.