public class StyleStyleElement extends OdfStyleBase
| Modifier and Type | Field and Description |
|---|---|
static OdfName |
ELEMENT_NAME |
mPackageDocumentlocalName, namespaceURIattributes, namefirstChild, fNodeListCache, ownerDocumentnextSibling, previousSiblingDOCUMENT_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_NODEATTRIBUTE_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_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION| Constructor and Description |
|---|
StyleStyleElement(OdfFileDom ownerDoc)
Create the instance of
StyleStyleElement |
| 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 |
getStyleAutoUpdateAttribute()
Receives the value of the ODFDOM attribute representation
StyleAutoUpdateAttribute
, See style:auto-update |
String |
getStyleClassAttribute()
Receives the value of the ODFDOM attribute representation
StyleClassAttribute ,
See style:class |
String |
getStyleDataStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleDataStyleNameAttribute
, See style:data-style-name |
Integer |
getStyleDefaultOutlineLevelAttribute()
Receives the value of the ODFDOM attribute representation
StyleDefaultOutlineLevelAttribute , See style:default-outline-level |
String |
getStyleDisplayNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleDisplayNameAttribute
, See style:display-name |
String |
getStyleFamilyAttribute()
Receives the value of the ODFDOM attribute representation
StyleFamilyAttribute ,
See style:family |
Integer |
getStyleListLevelAttribute()
Receives the value of the ODFDOM attribute representation
StyleListLevelAttribute
, See style:list-level |
String |
getStyleListStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleListStyleNameAttribute
, See style:list-style-name |
String |
getStyleMasterPageNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleMasterPageNameAttribute
, See style:master-page-name |
String |
getStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleNameAttribute , See
style:name |
String |
getStyleNextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleNextStyleNameAttribute
, See style:next-style-name |
String |
getStyleParentStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StyleParentStyleNameAttribute
, See style:parent-style-name |
String |
getStylePercentageDataStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
StylePercentageDataStyleNameAttribute , See style:percentage-data-style-name |
StyleChartPropertiesElement |
newStyleChartPropertiesElement(String chartSymbolTypeValue)
Create child element style:chart-properties.
|
StyleDrawingPagePropertiesElement |
newStyleDrawingPagePropertiesElement()
Create child element style:drawing-page-properties.
|
StyleGraphicPropertiesElement |
newStyleGraphicPropertiesElement()
Create child element style:graphic-properties.
|
StyleMapElement |
newStyleMapElement(String styleApplyStyleNameValue,
String styleConditionValue)
Create child element style:map.
|
StyleParagraphPropertiesElement |
newStyleParagraphPropertiesElement()
Create child element style:paragraph-properties.
|
StyleRubyPropertiesElement |
newStyleRubyPropertiesElement()
Create child element style:ruby-properties.
|
StyleSectionPropertiesElement |
newStyleSectionPropertiesElement()
Create child element style:section-properties.
|
StyleTableCellPropertiesElement |
newStyleTableCellPropertiesElement()
Create child element style:table-cell-properties.
|
StyleTableColumnPropertiesElement |
newStyleTableColumnPropertiesElement()
Create child element style:table-column-properties.
|
StyleTablePropertiesElement |
newStyleTablePropertiesElement()
Create child element style:table-properties.
|
StyleTableRowPropertiesElement |
newStyleTableRowPropertiesElement()
Create child element style:table-row-properties.
|
StyleTextPropertiesElement |
newStyleTextPropertiesElement(String textDisplayValue)
Create child element style:text-properties.
|
void |
setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue)
Sets the value of ODFDOM attribute representation
StyleAutoUpdateAttribute , See
style:auto-update |
void |
setStyleClassAttribute(String styleClassValue)
Sets the value of ODFDOM attribute representation
StyleClassAttribute , See
style:class |
void |
setStyleDataStyleNameAttribute(String styleDataStyleNameValue)
Sets the value of ODFDOM attribute representation
StyleDataStyleNameAttribute ,
See style:data-style-name |
void |
setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue)
Sets the value of ODFDOM attribute representation
StyleDefaultOutlineLevelAttribute
, See style:default-outline-level |
void |
setStyleDisplayNameAttribute(String styleDisplayNameValue)
Sets the value of ODFDOM attribute representation
StyleDisplayNameAttribute , See
style:display-name |
void |
setStyleFamilyAttribute(String styleFamilyValue)
Sets the value of ODFDOM attribute representation
StyleFamilyAttribute , See
style:family |
void |
setStyleListLevelAttribute(Integer styleListLevelValue)
Sets the value of ODFDOM attribute representation
StyleListLevelAttribute , See
style:list-level |
void |
setStyleListStyleNameAttribute(String styleListStyleNameValue)
Sets the value of ODFDOM attribute representation
StyleListStyleNameAttribute ,
See style:list-style-name |
void |
setStyleMasterPageNameAttribute(String styleMasterPageNameValue)
Sets the value of ODFDOM attribute representation
StyleMasterPageNameAttribute ,
See style:master-page-name |
void |
setStyleNameAttribute(String styleNameValue)
Sets the value of ODFDOM attribute representation
StyleNameAttribute , See
style:name |
void |
setStyleNextStyleNameAttribute(String styleNextStyleNameValue)
Sets the value of ODFDOM attribute representation
StyleNextStyleNameAttribute ,
See style:next-style-name |
void |
setStyleParentStyleNameAttribute(String styleParentStyleNameValue)
Sets the value of ODFDOM attribute representation
StyleParentStyleNameAttribute ,
See style:parent-style-name |
void |
setStylePercentageDataStyleNameAttribute(String stylePercentageDataStyleNameValue)
Sets the value of ODFDOM attribute representation
StylePercentageDataStyleNameAttribute
, See style:percentage-data-style-name |
addStyleUser, compareTo, equals, getFamily, getFamilyName, getOrCreatePropertiesElement, getParentStyle, getProperties, getPropertiesElement, getProperty, getStrictProperties, getStyleProperties, getStylePropertiesDeep, getStyleUserCount, getStyleUsers, hashCode, hasProperty, onOdfNodeInserted, onOdfNodeRemoved, removeProperty, removeStyleUser, setProperties, setPropertyinsertBefore, removeChild, replaceChildcloneNode, cloneOdfElement, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, setOdfAttribute, setOdfAttributeValue, toStringgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypegetAttribute, 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, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserDatapublic static final OdfName ELEMENT_NAME
public StyleStyleElement(OdfFileDom ownerDoc)
StyleStyleElementownerDoc - The type is OdfFileDompublic OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element style:style.public Boolean getStyleAutoUpdateAttribute()
StyleAutoUpdateAttribute
, See style:auto-updateBoolean , the value or null, if the attribute is not
set and no default value defined.public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue)
StyleAutoUpdateAttribute , See
style:auto-updatestyleAutoUpdateValue - The type is Booleanpublic String getStyleClassAttribute()
StyleClassAttribute ,
See style:classString , the value or null, if the attribute is not set
and no default value defined.public void setStyleClassAttribute(String styleClassValue)
StyleClassAttribute , See
style:classstyleClassValue - The type is Stringpublic String getStyleDataStyleNameAttribute()
StyleDataStyleNameAttribute
, See style:data-style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleDataStyleNameAttribute(String styleDataStyleNameValue)
StyleDataStyleNameAttribute ,
See style:data-style-namestyleDataStyleNameValue - The type is Stringpublic Integer getStyleDefaultOutlineLevelAttribute()
StyleDefaultOutlineLevelAttribute , See style:default-outline-levelInteger , the value or null, if the attribute is not
set and no default value defined.public void setStyleDefaultOutlineLevelAttribute(Integer styleDefaultOutlineLevelValue)
StyleDefaultOutlineLevelAttribute
, See style:default-outline-levelstyleDefaultOutlineLevelValue - The type is Integerpublic String getStyleDisplayNameAttribute()
StyleDisplayNameAttribute
, See style:display-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleDisplayNameAttribute(String styleDisplayNameValue)
StyleDisplayNameAttribute , See
style:display-namestyleDisplayNameValue - The type is Stringpublic String getStyleFamilyAttribute()
StyleFamilyAttribute ,
See style:family
Attribute is mandatory.
String , the value or null, if the attribute is not set
and no default value defined.public void setStyleFamilyAttribute(String styleFamilyValue)
StyleFamilyAttribute , See
style:familystyleFamilyValue - The type is Stringpublic Integer getStyleListLevelAttribute()
StyleListLevelAttribute
, See style:list-levelInteger , the value or null, if the attribute is not
set and no default value defined.public void setStyleListLevelAttribute(Integer styleListLevelValue)
StyleListLevelAttribute , See
style:list-levelstyleListLevelValue - The type is Integerpublic String getStyleListStyleNameAttribute()
StyleListStyleNameAttribute
, See style:list-style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleListStyleNameAttribute(String styleListStyleNameValue)
StyleListStyleNameAttribute ,
See style:list-style-namestyleListStyleNameValue - The type is Stringpublic String getStyleMasterPageNameAttribute()
StyleMasterPageNameAttribute
, See style:master-page-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleMasterPageNameAttribute(String styleMasterPageNameValue)
StyleMasterPageNameAttribute ,
See style:master-page-namestyleMasterPageNameValue - The type is Stringpublic String getStyleNameAttribute()
StyleNameAttribute , See
style:name
Attribute is mandatory.
String , the value or null, if the attribute is not set
and no default value defined.public void setStyleNameAttribute(String styleNameValue)
StyleNameAttribute , See
style:namestyleNameValue - The type is Stringpublic String getStyleNextStyleNameAttribute()
StyleNextStyleNameAttribute
, See style:next-style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleNextStyleNameAttribute(String styleNextStyleNameValue)
StyleNextStyleNameAttribute ,
See style:next-style-namestyleNextStyleNameValue - The type is Stringpublic String getStyleParentStyleNameAttribute()
StyleParentStyleNameAttribute
, See style:parent-style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStyleParentStyleNameAttribute(String styleParentStyleNameValue)
StyleParentStyleNameAttribute ,
See style:parent-style-namestyleParentStyleNameValue - The type is Stringpublic String getStylePercentageDataStyleNameAttribute()
StylePercentageDataStyleNameAttribute , See style:percentage-data-style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setStylePercentageDataStyleNameAttribute(String stylePercentageDataStyleNameValue)
StylePercentageDataStyleNameAttribute
, See style:percentage-data-style-namestylePercentageDataStyleNameValue - The type is Stringpublic StyleChartPropertiesElement newStyleChartPropertiesElement(String chartSymbolTypeValue)
chartSymbolTypeValue - the String value of ChartSymbolTypeAttribute
, see chart:symbol-type at specificationpublic StyleDrawingPagePropertiesElement newStyleDrawingPagePropertiesElement()
public StyleGraphicPropertiesElement newStyleGraphicPropertiesElement()
public StyleMapElement newStyleMapElement(String styleApplyStyleNameValue, String styleConditionValue)
styleApplyStyleNameValue - the String value of
StyleApplyStyleNameAttribute, see style:apply-style-name at
specificationstyleConditionValue - the String value of StyleConditionAttribute
, see style:condition at specificationpublic StyleParagraphPropertiesElement newStyleParagraphPropertiesElement()
public StyleRubyPropertiesElement newStyleRubyPropertiesElement()
public StyleSectionPropertiesElement newStyleSectionPropertiesElement()
public StyleTableCellPropertiesElement newStyleTableCellPropertiesElement()
public StyleTableColumnPropertiesElement newStyleTableColumnPropertiesElement()
public StyleTablePropertiesElement newStyleTablePropertiesElement()
public StyleTableRowPropertiesElement newStyleTableRowPropertiesElement()
public StyleTextPropertiesElement newStyleTextPropertiesElement(String textDisplayValue)
textDisplayValue - the String value of TextDisplayAttribute, see
text:display at specificationpublic void accept(ElementVisitor visitor)
OdfElementaccept in class OdfElementvisitor - an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.