|
||||||||||
| 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 |
java.lang.Boolean |
getStyleAutoUpdateAttribute()
Receives the value of the ODFDOM attribute representation StyleAutoUpdateAttribute , See style:auto-update |
java.lang.String |
getStyleClassAttribute()
Receives the value of the ODFDOM attribute representation StyleClassAttribute , See style:class |
java.lang.String |
getStyleDataStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StyleDataStyleNameAttribute , See style:data-style-name |
java.lang.Integer |
getStyleDefaultOutlineLevelAttribute()
Receives the value of the ODFDOM attribute representation StyleDefaultOutlineLevelAttribute , See style:default-outline-level |
java.lang.String |
getStyleDisplayNameAttribute()
Receives the value of the ODFDOM attribute representation StyleDisplayNameAttribute , See style:display-name |
java.lang.String |
getStyleFamilyAttribute()
Receives the value of the ODFDOM attribute representation StyleFamilyAttribute , See style:family
Attribute is mandatory. |
java.lang.Integer |
getStyleListLevelAttribute()
Receives the value of the ODFDOM attribute representation StyleListLevelAttribute , See style:list-level |
java.lang.String |
getStyleListStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StyleListStyleNameAttribute , See style:list-style-name |
java.lang.String |
getStyleMasterPageNameAttribute()
Receives the value of the ODFDOM attribute representation StyleMasterPageNameAttribute , See style:master-page-name |
java.lang.String |
getStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StyleNameAttribute , See style:name
Attribute is mandatory. |
java.lang.String |
getStyleNextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StyleNextStyleNameAttribute , See style:next-style-name |
java.lang.String |
getStyleParentStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StyleParentStyleNameAttribute , See style:parent-style-name |
java.lang.String |
getStylePercentageDataStyleNameAttribute()
Receives the value of the ODFDOM attribute representation StylePercentageDataStyleNameAttribute , See style:percentage-data-style-name |
StyleChartPropertiesElement |
newStyleChartPropertiesElement(java.lang.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(java.lang.String styleApplyStyleNameValue,
java.lang.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(java.lang.String textDisplayValue)
Create child element style:text-properties. |
void |
setStyleAutoUpdateAttribute(java.lang.Boolean styleAutoUpdateValue)
Sets the value of ODFDOM attribute representation StyleAutoUpdateAttribute , See style:auto-update |
void |
setStyleClassAttribute(java.lang.String styleClassValue)
Sets the value of ODFDOM attribute representation StyleClassAttribute , See style:class |
void |
setStyleDataStyleNameAttribute(java.lang.String styleDataStyleNameValue)
Sets the value of ODFDOM attribute representation StyleDataStyleNameAttribute , See style:data-style-name |
void |
setStyleDefaultOutlineLevelAttribute(java.lang.Integer styleDefaultOutlineLevelValue)
Sets the value of ODFDOM attribute representation StyleDefaultOutlineLevelAttribute , See style:default-outline-level |
void |
setStyleDisplayNameAttribute(java.lang.String styleDisplayNameValue)
Sets the value of ODFDOM attribute representation StyleDisplayNameAttribute , See style:display-name |
void |
setStyleFamilyAttribute(java.lang.String styleFamilyValue)
Sets the value of ODFDOM attribute representation StyleFamilyAttribute , See style:family |
void |
setStyleListLevelAttribute(java.lang.Integer styleListLevelValue)
Sets the value of ODFDOM attribute representation StyleListLevelAttribute , See style:list-level |
void |
setStyleListStyleNameAttribute(java.lang.String styleListStyleNameValue)
Sets the value of ODFDOM attribute representation StyleListStyleNameAttribute , See style:list-style-name |
void |
setStyleMasterPageNameAttribute(java.lang.String styleMasterPageNameValue)
Sets the value of ODFDOM attribute representation StyleMasterPageNameAttribute , See style:master-page-name |
void |
setStyleNameAttribute(java.lang.String styleNameValue)
Sets the value of ODFDOM attribute representation StyleNameAttribute , See style:name |
void |
setStyleNextStyleNameAttribute(java.lang.String styleNextStyleNameValue)
Sets the value of ODFDOM attribute representation StyleNextStyleNameAttribute , See style:next-style-name |
void |
setStyleParentStyleNameAttribute(java.lang.String styleParentStyleNameValue)
Sets the value of ODFDOM attribute representation StyleParentStyleNameAttribute , See style:parent-style-name |
void |
setStylePercentageDataStyleNameAttribute(java.lang.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, 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 java.lang.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(java.lang.Boolean styleAutoUpdateValue)
StyleAutoUpdateAttribute , See style:auto-update
styleAutoUpdateValue - The type is Booleanpublic java.lang.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(java.lang.String styleClassValue)
StyleClassAttribute , See style:class
styleClassValue - The type is Stringpublic java.lang.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(java.lang.String styleDataStyleNameValue)
StyleDataStyleNameAttribute , See style:data-style-name
styleDataStyleNameValue - The type is Stringpublic java.lang.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(java.lang.Integer styleDefaultOutlineLevelValue)
StyleDefaultOutlineLevelAttribute , See style:default-outline-level
styleDefaultOutlineLevelValue - The type is Integerpublic java.lang.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(java.lang.String styleDisplayNameValue)
StyleDisplayNameAttribute , See style:display-name
styleDisplayNameValue - The type is Stringpublic java.lang.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(java.lang.String styleFamilyValue)
StyleFamilyAttribute , See style:family
styleFamilyValue - The type is Stringpublic java.lang.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(java.lang.Integer styleListLevelValue)
StyleListLevelAttribute , See style:list-level
styleListLevelValue - The type is Integerpublic java.lang.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(java.lang.String styleListStyleNameValue)
StyleListStyleNameAttribute , See style:list-style-name
styleListStyleNameValue - The type is Stringpublic java.lang.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(java.lang.String styleMasterPageNameValue)
StyleMasterPageNameAttribute , See style:master-page-name
styleMasterPageNameValue - The type is Stringpublic java.lang.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(java.lang.String styleNameValue)
StyleNameAttribute , See style:name
styleNameValue - The type is Stringpublic java.lang.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(java.lang.String styleNextStyleNameValue)
StyleNextStyleNameAttribute , See style:next-style-name
styleNextStyleNameValue - The type is Stringpublic java.lang.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(java.lang.String styleParentStyleNameValue)
StyleParentStyleNameAttribute , See style:parent-style-name
styleParentStyleNameValue - The type is Stringpublic java.lang.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(java.lang.String stylePercentageDataStyleNameValue)
StylePercentageDataStyleNameAttribute , See style:percentage-data-style-name
stylePercentageDataStyleNameValue - The type is Stringpublic StyleChartPropertiesElement newStyleChartPropertiesElement(java.lang.String chartSymbolTypeValue)
chartSymbolTypeValue - the String value of ChartSymbolTypeAttribute, see chart:symbol-type at specification
public StyleDrawingPagePropertiesElement newStyleDrawingPagePropertiesElement()
public StyleGraphicPropertiesElement newStyleGraphicPropertiesElement()
public StyleMapElement newStyleMapElement(java.lang.String styleApplyStyleNameValue,
java.lang.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(java.lang.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 | |||||||||