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
public class StyleListLevelPropertiesElement extends OdfStylePropertiesBase
DOM implementation of OpenDocument element <style:list-level-properties>.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfNameELEMENT_NAMEstatic OdfStylePropertyFontNamestatic OdfStylePropertyHeightstatic OdfStylePropertyListLevelPositionAndSpaceModestatic OdfStylePropertyMinLabelDistancestatic OdfStylePropertyMinLabelWidthstatic OdfStylePropertySpaceBeforestatic OdfStylePropertyTextAlignstatic OdfStylePropertyVerticalPosstatic OdfStylePropertyVerticalRelstatic OdfStylePropertyWidthstatic OdfStylePropertyY-
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
-
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
-
Fields 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_NODE
-
Fields 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_NODE
-
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
-
Constructor Summary
Constructors Constructor Description StyleListLevelPropertiesElement(OdfFileDom ownerDoc)Create the instance ofStyleListLevelPropertiesElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ElementVisitor visitor)Accept an visitor instance to allow the visitor to do some operations.StringgetFoHeightAttribute()Receives the value of the ODFDOM attribute representationFoHeightAttribute, See @fo:heightStringgetFoTextAlignAttribute()Receives the value of the ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-alignStringgetFoWidthAttribute()Receives the value of the ODFDOM attribute representationFoWidthAttribute, See @fo:widthOdfNamegetOdfName()Get the element nameStringgetStyleFontNameAttribute()Receives the value of the ODFDOM attribute representationStyleFontNameAttribute, See @style:font-nameStringgetStyleVerticalPosAttribute()Receives the value of the ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-posStringgetStyleVerticalRelAttribute()Receives the value of the ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-relStringgetSvgYAttribute()Receives the value of the ODFDOM attribute representationSvgYAttribute, See @svg:yStringgetTextListLevelPositionAndSpaceModeAttribute()Receives the value of the ODFDOM attribute representationTextListLevelPositionAndSpaceModeAttribute, See @text:list-level-position-and-space-modeStringgetTextMinLabelDistanceAttribute()Receives the value of the ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distanceStringgetTextMinLabelWidthAttribute()Receives the value of the ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-widthStringgetTextSpaceBeforeAttribute()Receives the value of the ODFDOM attribute representationTextSpaceBeforeAttribute, See @text:space-beforeStyleListLevelLabelAlignmentElementnewStyleListLevelLabelAlignmentElement(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-before-
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
hashCode
-
Methods 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, toString
-
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
-
Methods 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, synchronizeData
-
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildren
-
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
-
Methods 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, setUserData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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 Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
Height
public static final OdfStyleProperty Height
-
TextAlign
public static final OdfStyleProperty TextAlign
-
Width
public static final OdfStyleProperty Width
-
FontName
public static final OdfStyleProperty FontName
-
VerticalPos
public static final OdfStyleProperty VerticalPos
-
VerticalRel
public static final OdfStyleProperty VerticalRel
-
Y
public static final OdfStyleProperty Y
-
ListLevelPositionAndSpaceMode
public static final OdfStyleProperty ListLevelPositionAndSpaceMode
-
MinLabelDistance
public static final OdfStyleProperty MinLabelDistance
-
MinLabelWidth
public static final OdfStyleProperty MinLabelWidth
-
SpaceBefore
public static final OdfStyleProperty SpaceBefore
-
-
Constructor Detail
-
StyleListLevelPropertiesElement
public StyleListLevelPropertiesElement(OdfFileDom ownerDoc)
Create the instance ofStyleListLevelPropertiesElement- Parameters:
ownerDoc- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfNamein classOdfElement- Returns:
- return
OdfNamethe name of element <style:list-level-properties>.
-
getFoHeightAttribute
public String 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
public void setFoHeightAttribute(String foHeightValue)
Sets the value of ODFDOM attribute representationFoHeightAttribute, See @fo:height- Parameters:
foHeightValue- The type isString
-
getFoTextAlignAttribute
public String 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
public void setFoTextAlignAttribute(String foTextAlignValue)
Sets the value of ODFDOM attribute representationFoTextAlignAttribute, See @fo:text-align- Parameters:
foTextAlignValue- The type isString
-
getFoWidthAttribute
public String 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
public void setFoWidthAttribute(String foWidthValue)
Sets the value of ODFDOM attribute representationFoWidthAttribute, See @fo:width- Parameters:
foWidthValue- The type isString
-
getStyleFontNameAttribute
public String 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
public void setStyleFontNameAttribute(String styleFontNameValue)
Sets the value of ODFDOM attribute representationStyleFontNameAttribute, See @style:font-name- Parameters:
styleFontNameValue- The type isString
-
getStyleVerticalPosAttribute
public String 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
public void setStyleVerticalPosAttribute(String styleVerticalPosValue)
Sets the value of ODFDOM attribute representationStyleVerticalPosAttribute, See @style:vertical-pos- Parameters:
styleVerticalPosValue- The type isString
-
getStyleVerticalRelAttribute
public String 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
public void setStyleVerticalRelAttribute(String styleVerticalRelValue)
Sets the value of ODFDOM attribute representationStyleVerticalRelAttribute, See @style:vertical-rel- Parameters:
styleVerticalRelValue- The type isString
-
getSvgYAttribute
public String 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
public void setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representationSvgYAttribute, See @svg:y- Parameters:
svgYValue- The type isString
-
getTextListLevelPositionAndSpaceModeAttribute
public String 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
public String 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
public void setTextMinLabelDistanceAttribute(String textMinLabelDistanceValue)
Sets the value of ODFDOM attribute representationTextMinLabelDistanceAttribute, See @text:min-label-distance- Parameters:
textMinLabelDistanceValue- The type isString
-
getTextMinLabelWidthAttribute
public String 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
public void setTextMinLabelWidthAttribute(String textMinLabelWidthValue)
Sets the value of ODFDOM attribute representationTextMinLabelWidthAttribute, See @text:min-label-width- Parameters:
textMinLabelWidthValue- The type isString
-
getTextSpaceBeforeAttribute
public String 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
public void setTextSpaceBeforeAttribute(String textSpaceBeforeValue)
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
public void accept(ElementVisitor visitor)
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
-
-