|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.pkg.OdfContainerElementBase
org.odftoolkit.odfdom.dom.element.OdfStyleBase
org.odftoolkit.odfdom.dom.element.style.StyleStyleElement
public class StyleStyleElement
DOM implementation of OpenDocument element style:style.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.pkg.OdfContainerElementBase |
|---|
mPackageDocument |
| 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 interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
StyleStyleElement(OdfFileDom ownerDoc)
Create the instance of StyleStyleElement |
|
| Method Summary | |
|---|---|
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
Attribute is mandatory. |
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
Attribute is mandatory. |
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 |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStyleBase |
|---|
addStyleUser, compareTo, equals, getFamily, getFamilyName, getOrCreatePropertiesElement, getParentStyle, getProperties, getPropertiesElement, getProperty, getStrictProperties, getStyleProperties, getStylePropertiesDeep, getStyleUserCount, getStyleUsers, hashCode, hasProperty, onOdfNodeInserted, onOdfNodeRemoved, removeProperty, removeStyleUser, setProperties, setProperty |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfContainerElementBase |
|---|
insertBefore, removeChild, replaceChild |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, cloneOdfElement, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, 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.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 |
|---|
public static final OdfName ELEMENT_NAME
| Constructor Detail |
|---|
public StyleStyleElement(OdfFileDom ownerDoc)
StyleStyleElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element style:style.public Boolean getStyleAutoUpdateAttribute()
StyleAutoUpdateAttribute , See style:auto-update
Boolean , the value or null, if the attribute is not set and no default value defined.public void setStyleAutoUpdateAttribute(Boolean styleAutoUpdateValue)
StyleAutoUpdateAttribute , See style:auto-update
styleAutoUpdateValue - The type is Booleanpublic String getStyleClassAttribute()
StyleClassAttribute , See style:class
String , the value or null, if the attribute is not set and no default value defined.public void setStyleClassAttribute(String styleClassValue)
StyleClassAttribute , See style:class
styleClassValue - The type is Stringpublic String getStyleDataStyleNameAttribute()
StyleDataStyleNameAttribute , See style:data-style-name
String , 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-name
styleDataStyleNameValue - The type is Stringpublic Integer getStyleDefaultOutlineLevelAttribute()
StyleDefaultOutlineLevelAttribute , See style:default-outline-level
Integer , 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-level
styleDefaultOutlineLevelValue - The type is Integerpublic String getStyleDisplayNameAttribute()
StyleDisplayNameAttribute , See style:display-name
String , the value or null, if the attribute is not set and no default value defined.public void setStyleDisplayNameAttribute(String styleDisplayNameValue)
StyleDisplayNameAttribute , See style:display-name
styleDisplayNameValue - 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:family
styleFamilyValue - The type is Stringpublic Integer getStyleListLevelAttribute()
StyleListLevelAttribute , See style:list-level
Integer , the value or null, if the attribute is not set and no default value defined.public void setStyleListLevelAttribute(Integer styleListLevelValue)
StyleListLevelAttribute , See style:list-level
styleListLevelValue - The type is Integerpublic String getStyleListStyleNameAttribute()
StyleListStyleNameAttribute , See style:list-style-name
String , 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-name
styleListStyleNameValue - The type is Stringpublic String getStyleMasterPageNameAttribute()
StyleMasterPageNameAttribute , See style:master-page-name
String , 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-name
styleMasterPageNameValue - 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:name
styleNameValue - The type is Stringpublic String getStyleNextStyleNameAttribute()
StyleNextStyleNameAttribute , See style:next-style-name
String , 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-name
styleNextStyleNameValue - The type is Stringpublic String getStyleParentStyleNameAttribute()
StyleParentStyleNameAttribute , See style:parent-style-name
String , 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-name
styleParentStyleNameValue - The type is Stringpublic String getStylePercentageDataStyleNameAttribute()
StylePercentageDataStyleNameAttribute , See style:percentage-data-style-name
String , 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-name
stylePercentageDataStyleNameValue - The type is Stringpublic StyleChartPropertiesElement newStyleChartPropertiesElement(String chartSymbolTypeValue)
chartSymbolTypeValue - the String value of ChartSymbolTypeAttribute, see chart:symbol-type at specification
public 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 specification
public 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 specification
public void accept(ElementVisitor visitor)
OdfElement
accept in class OdfElementvisitor - an instance of DefaultElementVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||