Class StyleListLevelPropertiesElement
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
org.odftoolkit.odfdom.dom.element.style.StyleListLevelPropertiesElement
- All Implemented Interfaces:
Serializable,Cloneable,Element,ElementTraversal,EventTarget,Node,NodeList,TypeInfo
DOM implementation of OpenDocument element <style:list-level-properties>.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OdfNamestatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertystatic final OdfStylePropertyFields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURIFields inherited from class org.apache.xerces.dom.ElementImpl
attributes, nameFields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocumentFields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSiblingFields inherited from class org.apache.xerces.dom.NodeImpl
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_NODEFields inherited from interface org.w3c.dom.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_NODEFields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION -
Constructor Summary
ConstructorsConstructorDescriptionStyleListLevelPropertiesElement(OdfFileDom ownerDoc) Create the instance ofStyleListLevelPropertiesElement -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.Receives the value of the ODFDOM attribute representationFoHeightAttribute, See @fo:heightReceives the value of the ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-alignReceives the value of the ODFDOM attribute representationFoWidthAttribute, See @fo:widthGet the element nameReceives the value of the ODFDOM attribute representationStyleFontNameAttribute, See @style:font-nameReceives the value of the ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-posReceives the value of the ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-relReceives the value of the ODFDOM attribute representationSvgYAttribute, See @svg:yReceives the value of the ODFDOM attribute representationTextListLevelPositionAndSpaceModeAttribute, See @text:list-level-position-and-space-modeReceives the value of the ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distanceReceives the value of the ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-widthReceives the value of the ODFDOM attribute representationTextSpaceBeforeAttribute, See @text:space-beforenewStyleListLevelLabelAlignmentElement(String textLabelFollowedByValue) Create child element <style:list-level-label-alignment>.voidsetFoHeightAttribute(String foHeightValue) Sets the value of ODFDOM attribute representationFoHeightAttribute, See @fo:heightvoidsetFoTextAlignAttribute(String foTextAlignValue) Sets the value of ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-alignvoidsetFoWidthAttribute(String foWidthValue) Sets the value of ODFDOM attribute representationFoWidthAttribute, See @fo:widthvoidsetStyleFontNameAttribute(String styleFontNameValue) Sets the value of ODFDOM attribute representationStyleFontNameAttribute, See @style:font-namevoidsetStyleVerticalPosAttribute(String styleVerticalPosValue) Sets the value of ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-posvoidsetStyleVerticalRelAttribute(String styleVerticalRelValue) Sets the value of ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-relvoidsetSvgYAttribute(String svgYValue) Sets the value of ODFDOM attribute representationSvgYAttribute, See @svg:yvoidsetTextListLevelPositionAndSpaceModeAttribute(String textListLevelPositionAndSpaceModeValue) Sets the value of ODFDOM attribute representationTextListLevelPositionAndSpaceModeAttribute, See @text:list-level-position-and-space-modevoidsetTextMinLabelDistanceAttribute(String textMinLabelDistanceValue) Sets the value of ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distancevoidsetTextMinLabelWidthAttribute(String textMinLabelWidthValue) Sets the value of ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-widthvoidsetTextSpaceBeforeAttribute(String textSpaceBeforeValue) Sets the value of ODFDOM attribute representationTextSpaceBeforeAttribute, See @text:space-beforeMethods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
hashCodeMethods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toStringMethods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypeMethods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDataMethods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildrenMethods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSiblingMethods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
Field Details
-
ELEMENT_NAME
-
Height
-
TextAlign
-
Width
-
FontName
-
VerticalPos
-
VerticalRel
-
Y
-
ListLevelPositionAndSpaceMode
-
MinLabelDistance
-
MinLabelWidth
-
SpaceBefore
-
-
Constructor Details
-
StyleListLevelPropertiesElement
Create the instance ofStyleListLevelPropertiesElement- Parameters:
ownerDoc- The type isOdfFileDom
-
-
Method Details
-
getOdfName
Get the element name- Specified by:
getOdfNamein classOdfElement- Returns:
- return
OdfNamethe name of element <style:list-level-properties>.
-
getFoHeightAttribute
Receives the value of the ODFDOM attribute representationFoHeightAttribute, See @fo:height- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoHeightAttribute
Sets the value of ODFDOM attribute representationFoHeightAttribute, See @fo:height- Parameters:
foHeightValue- The type isString
-
getFoTextAlignAttribute
Receives the value of the ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-align- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoTextAlignAttribute
Sets the value of ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-align- Parameters:
foTextAlignValue- The type isString
-
getFoWidthAttribute
Receives the value of the ODFDOM attribute representationFoWidthAttribute, See @fo:width- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoWidthAttribute
Sets the value of ODFDOM attribute representationFoWidthAttribute, See @fo:width- Parameters:
foWidthValue- The type isString
-
getStyleFontNameAttribute
Receives the value of the ODFDOM attribute representationStyleFontNameAttribute, See @style:font-name- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setStyleFontNameAttribute
Sets the value of ODFDOM attribute representationStyleFontNameAttribute, See @style:font-name- Parameters:
styleFontNameValue- The type isString
-
getStyleVerticalPosAttribute
Receives the value of the ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-pos- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setStyleVerticalPosAttribute
Sets the value of ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-pos- Parameters:
styleVerticalPosValue- The type isString
-
getStyleVerticalRelAttribute
Receives the value of the ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-rel- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setStyleVerticalRelAttribute
Sets the value of ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-rel- Parameters:
styleVerticalRelValue- The type isString
-
getSvgYAttribute
Receives the value of the ODFDOM attribute representationSvgYAttribute, See @svg:y- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setSvgYAttribute
Sets the value of ODFDOM attribute representationSvgYAttribute, See @svg:y- Parameters:
svgYValue- The type isString
-
getTextListLevelPositionAndSpaceModeAttribute
Receives the value of the ODFDOM attribute representationTextListLevelPositionAndSpaceModeAttribute, See @text:list-level-position-and-space-mode- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextListLevelPositionAndSpaceModeAttribute
public void setTextListLevelPositionAndSpaceModeAttribute(String textListLevelPositionAndSpaceModeValue) Sets the value of ODFDOM attribute representationTextListLevelPositionAndSpaceModeAttribute, See @text:list-level-position-and-space-mode- Parameters:
textListLevelPositionAndSpaceModeValue- The type isString
-
getTextMinLabelDistanceAttribute
Receives the value of the ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distance- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextMinLabelDistanceAttribute
Sets the value of ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distance- Parameters:
textMinLabelDistanceValue- The type isString
-
getTextMinLabelWidthAttribute
Receives the value of the ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-width- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextMinLabelWidthAttribute
Sets the value of ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-width- Parameters:
textMinLabelWidthValue- The type isString
-
getTextSpaceBeforeAttribute
Receives the value of the ODFDOM attribute representationTextSpaceBeforeAttribute, See @text:space-before- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextSpaceBeforeAttribute
Sets the value of ODFDOM attribute representationTextSpaceBeforeAttribute, See @text:space-before- Parameters:
textSpaceBeforeValue- The type isString
-
newStyleListLevelLabelAlignmentElement
public StyleListLevelLabelAlignmentElement newStyleListLevelLabelAlignmentElement(String textLabelFollowedByValue) Create child element <style:list-level-label-alignment>.- Parameters:
textLabelFollowedByValue- theStringvalue ofTextLabelFollowedByAttribute, see @text:label-followed-by at specification Child element was added in ODF 1.2- Returns:
- the element <style:list-level-label-alignment>
-
accept
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
acceptin classOdfElement- Parameters:
visitor- an instance of DefaultElementVisitor
-