org.odftoolkit.odfdom.dom.element.style
Class StyleListLevelPropertiesElement

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.xerces.dom.ElementNSImpl
                      extended by org.odftoolkit.odfdom.pkg.OdfElement
                          extended by org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
                              extended by org.odftoolkit.odfdom.dom.element.style.StyleListLevelPropertiesElement
All Implemented Interfaces:
Serializable, Cloneable, Element, EventTarget, Node, NodeList, TypeInfo

public class StyleListLevelPropertiesElement
extends OdfStylePropertiesBase

DOM implementation of OpenDocument element style:list-level-properties.

See Also:
Serialized Form

Field Summary
static OdfName ELEMENT_NAME
           
static OdfStyleProperty FontName
           
static OdfStyleProperty Height
           
static OdfStyleProperty ListLevelPositionAndSpaceMode
           
static OdfStyleProperty MinLabelDistance
           
static OdfStyleProperty MinLabelWidth
           
static OdfStyleProperty SpaceBefore
           
static OdfStyleProperty TextAlign
           
static OdfStyleProperty VerticalPos
           
static OdfStyleProperty VerticalRel
           
static OdfStyleProperty Width
           
static OdfStyleProperty Y
           
 
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
StyleListLevelPropertiesElement(OdfFileDom ownerDoc)
          Create the instance of StyleListLevelPropertiesElement
 
Method Summary
 void accept(ElementVisitor visitor)
          Accept an visitor instance to allow the visitor to do some operations.
 String getFoHeightAttribute()
          Receives the value of the ODFDOM attribute representation FoHeightAttribute , See fo:height
 String getFoTextAlignAttribute()
          Receives the value of the ODFDOM attribute representation FoTextAlignAttribute , See fo:text-align
 String getFoWidthAttribute()
          Receives the value of the ODFDOM attribute representation FoWidthAttribute , See fo:width
 OdfName getOdfName()
          Get the element name
 String getStyleFontNameAttribute()
          Receives the value of the ODFDOM attribute representation StyleFontNameAttribute , See style:font-name
 String getStyleVerticalPosAttribute()
          Receives the value of the ODFDOM attribute representation StyleVerticalPosAttribute , See style:vertical-pos
 String getStyleVerticalRelAttribute()
          Receives the value of the ODFDOM attribute representation StyleVerticalRelAttribute , See style:vertical-rel
 String getSvgYAttribute()
          Receives the value of the ODFDOM attribute representation SvgYAttribute , See svg:y
 String getTextListLevelPositionAndSpaceModeAttribute()
          Receives the value of the ODFDOM attribute representation TextListLevelPositionAndSpaceModeAttribute , See text:list-level-position-and-space-mode
 String getTextMinLabelDistanceAttribute()
          Receives the value of the ODFDOM attribute representation TextMinLabelDistanceAttribute , See text:min-label-distance
 String getTextMinLabelWidthAttribute()
          Receives the value of the ODFDOM attribute representation TextMinLabelWidthAttribute , See text:min-label-width
 String getTextSpaceBeforeAttribute()
          Receives the value of the ODFDOM attribute representation TextSpaceBeforeAttribute , See text:space-before
 StyleListLevelLabelAlignmentElement newStyleListLevelLabelAlignmentElement(String textLabelFollowedByValue)
          Create child element style:list-level-label-alignment.
 void setFoHeightAttribute(String foHeightValue)
          Sets the value of ODFDOM attribute representation FoHeightAttribute , See fo:height
 void setFoTextAlignAttribute(String foTextAlignValue)
          Sets the value of ODFDOM attribute representation FoTextAlignAttribute , See fo:text-align
 void setFoWidthAttribute(String foWidthValue)
          Sets the value of ODFDOM attribute representation FoWidthAttribute , See fo:width
 void setStyleFontNameAttribute(String styleFontNameValue)
          Sets the value of ODFDOM attribute representation StyleFontNameAttribute , See style:font-name
 void setStyleVerticalPosAttribute(String styleVerticalPosValue)
          Sets the value of ODFDOM attribute representation StyleVerticalPosAttribute , See style:vertical-pos
 void setStyleVerticalRelAttribute(String styleVerticalRelValue)
          Sets the value of ODFDOM attribute representation StyleVerticalRelAttribute , See style:vertical-rel
 void setSvgYAttribute(String svgYValue)
          Sets the value of ODFDOM attribute representation SvgYAttribute , See svg:y
 void setTextListLevelPositionAndSpaceModeAttribute(String textListLevelPositionAndSpaceModeValue)
          Sets the value of ODFDOM attribute representation TextListLevelPositionAndSpaceModeAttribute , See text:list-level-position-and-space-mode
 void setTextMinLabelDistanceAttribute(String textMinLabelDistanceValue)
          Sets the value of ODFDOM attribute representation TextMinLabelDistanceAttribute , See text:min-label-distance
 void setTextMinLabelWidthAttribute(String textMinLabelWidthValue)
          Sets the value of ODFDOM attribute representation TextMinLabelWidthAttribute , See text:min-label-width
 void setTextSpaceBeforeAttribute(String textSpaceBeforeValue)
          Sets the value of ODFDOM attribute representation TextSpaceBeforeAttribute , See text:space-before
 
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
hashCode
 
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
 
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
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, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, 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, appendChild, 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
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, 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 of StyleListLevelPropertiesElement

Parameters:
ownerDoc - The type is OdfFileDom
Method Detail

getOdfName

public OdfName getOdfName()
Get the element name

Specified by:
getOdfName in class OdfElement
Returns:
return OdfName the name of element style:list-level-properties.

getFoHeightAttribute

public String getFoHeightAttribute()
Receives the value of the ODFDOM attribute representation FoHeightAttribute , See fo:height

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setFoHeightAttribute

public void setFoHeightAttribute(String foHeightValue)
Sets the value of ODFDOM attribute representation FoHeightAttribute , See fo:height

Parameters:
foHeightValue - The type is String

getFoTextAlignAttribute

public String getFoTextAlignAttribute()
Receives the value of the ODFDOM attribute representation FoTextAlignAttribute , See fo:text-align

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setFoTextAlignAttribute

public void setFoTextAlignAttribute(String foTextAlignValue)
Sets the value of ODFDOM attribute representation FoTextAlignAttribute , See fo:text-align

Parameters:
foTextAlignValue - The type is String

getFoWidthAttribute

public String getFoWidthAttribute()
Receives the value of the ODFDOM attribute representation FoWidthAttribute , See fo:width

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setFoWidthAttribute

public void setFoWidthAttribute(String foWidthValue)
Sets the value of ODFDOM attribute representation FoWidthAttribute , See fo:width

Parameters:
foWidthValue - The type is String

getStyleFontNameAttribute

public String getStyleFontNameAttribute()
Receives the value of the ODFDOM attribute representation StyleFontNameAttribute , See style:font-name

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setStyleFontNameAttribute

public void setStyleFontNameAttribute(String styleFontNameValue)
Sets the value of ODFDOM attribute representation StyleFontNameAttribute , See style:font-name

Parameters:
styleFontNameValue - The type is String

getStyleVerticalPosAttribute

public String getStyleVerticalPosAttribute()
Receives the value of the ODFDOM attribute representation StyleVerticalPosAttribute , See style:vertical-pos

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setStyleVerticalPosAttribute

public void setStyleVerticalPosAttribute(String styleVerticalPosValue)
Sets the value of ODFDOM attribute representation StyleVerticalPosAttribute , See style:vertical-pos

Parameters:
styleVerticalPosValue - The type is String

getStyleVerticalRelAttribute

public String getStyleVerticalRelAttribute()
Receives the value of the ODFDOM attribute representation StyleVerticalRelAttribute , See style:vertical-rel

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setStyleVerticalRelAttribute

public void setStyleVerticalRelAttribute(String styleVerticalRelValue)
Sets the value of ODFDOM attribute representation StyleVerticalRelAttribute , See style:vertical-rel

Parameters:
styleVerticalRelValue - The type is String

getSvgYAttribute

public String getSvgYAttribute()
Receives the value of the ODFDOM attribute representation SvgYAttribute , See svg:y

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setSvgYAttribute

public void setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representation SvgYAttribute , See svg:y

Parameters:
svgYValue - The type is String

getTextListLevelPositionAndSpaceModeAttribute

public String getTextListLevelPositionAndSpaceModeAttribute()
Receives the value of the ODFDOM attribute representation TextListLevelPositionAndSpaceModeAttribute , See text:list-level-position-and-space-mode

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTextListLevelPositionAndSpaceModeAttribute

public void setTextListLevelPositionAndSpaceModeAttribute(String textListLevelPositionAndSpaceModeValue)
Sets the value of ODFDOM attribute representation TextListLevelPositionAndSpaceModeAttribute , See text:list-level-position-and-space-mode

Parameters:
textListLevelPositionAndSpaceModeValue - The type is String

getTextMinLabelDistanceAttribute

public String getTextMinLabelDistanceAttribute()
Receives the value of the ODFDOM attribute representation TextMinLabelDistanceAttribute , See text:min-label-distance

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTextMinLabelDistanceAttribute

public void setTextMinLabelDistanceAttribute(String textMinLabelDistanceValue)
Sets the value of ODFDOM attribute representation TextMinLabelDistanceAttribute , See text:min-label-distance

Parameters:
textMinLabelDistanceValue - The type is String

getTextMinLabelWidthAttribute

public String getTextMinLabelWidthAttribute()
Receives the value of the ODFDOM attribute representation TextMinLabelWidthAttribute , See text:min-label-width

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTextMinLabelWidthAttribute

public void setTextMinLabelWidthAttribute(String textMinLabelWidthValue)
Sets the value of ODFDOM attribute representation TextMinLabelWidthAttribute , See text:min-label-width

Parameters:
textMinLabelWidthValue - The type is String

getTextSpaceBeforeAttribute

public String getTextSpaceBeforeAttribute()
Receives the value of the ODFDOM attribute representation TextSpaceBeforeAttribute , See text:space-before

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTextSpaceBeforeAttribute

public void setTextSpaceBeforeAttribute(String textSpaceBeforeValue)
Sets the value of ODFDOM attribute representation TextSpaceBeforeAttribute , See text:space-before

Parameters:
textSpaceBeforeValue - The type is String

newStyleListLevelLabelAlignmentElement

public StyleListLevelLabelAlignmentElement newStyleListLevelLabelAlignmentElement(String textLabelFollowedByValue)
Create child element style:list-level-label-alignment.

Parameters:
textLabelFollowedByValue - the String value of TextLabelFollowedByAttribute, see text:label-followed-by at specification Child element is new in Odf 1.2
Returns:
the element style:list-level-label-alignment

accept

public void accept(ElementVisitor visitor)
Description copied from class: OdfElement
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.

Overrides:
accept in class OdfElement
Parameters:
visitor - an instance of DefaultElementVisitor


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.