|
||||||||||
| 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.office.OfficeAutomaticStylesElement
public class OfficeAutomaticStylesElement
DOM implementation of OpenDocument element office:automatic-styles.
| 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 | |
|---|---|
OfficeAutomaticStylesElement(OdfFileDom ownerDoc)
Create the instance of OfficeAutomaticStylesElement |
|
| Method Summary | |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
OdfName |
getOdfName()
Get the element name |
NumberBooleanStyleElement |
newNumberBooleanStyleElement(java.lang.String styleNameValue)
Create child element number:boolean-style. |
NumberCurrencyStyleElement |
newNumberCurrencyStyleElement(java.lang.String styleNameValue)
Create child element number:currency-style. |
NumberDateStyleElement |
newNumberDateStyleElement(java.lang.String styleNameValue)
Create child element number:date-style. |
NumberNumberStyleElement |
newNumberNumberStyleElement(java.lang.String styleNameValue)
Create child element number:number-style. |
NumberPercentageStyleElement |
newNumberPercentageStyleElement(java.lang.String styleNameValue)
Create child element number:percentage-style. |
NumberTextStyleElement |
newNumberTextStyleElement(java.lang.String styleNameValue)
Create child element number:text-style. |
NumberTimeStyleElement |
newNumberTimeStyleElement(java.lang.String styleNameValue)
Create child element number:time-style. |
StylePageLayoutElement |
newStylePageLayoutElement(java.lang.String styleNameValue)
Create child element style:page-layout. |
StyleStyleElement |
newStyleStyleElement(java.lang.String styleFamilyValue,
java.lang.String styleNameValue)
Create child element style:style. |
TextListStyleElement |
newTextListStyleElement(java.lang.String styleNameValue)
Create child element text:list-style. |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfContainerElementBase |
|---|
insertBefore, onOdfNodeInserted, onOdfNodeRemoved, removeChild, replaceChild |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, equals, 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, hashCode, 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 OfficeAutomaticStylesElement(OdfFileDom ownerDoc)
OfficeAutomaticStylesElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element office:automatic-styles.public NumberBooleanStyleElement newNumberBooleanStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberCurrencyStyleElement newNumberCurrencyStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberDateStyleElement newNumberDateStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberNumberStyleElement newNumberNumberStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberPercentageStyleElement newNumberPercentageStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberTextStyleElement newNumberTextStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberTimeStyleElement newNumberTimeStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public StylePageLayoutElement newStylePageLayoutElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public StyleStyleElement newStyleStyleElement(java.lang.String styleFamilyValue,
java.lang.String styleNameValue)
styleFamilyValue - the String value of StyleFamilyAttribute, see style:family at specificationstyleNameValue - the String value of StyleNameAttribute, see style:name at specification
public TextListStyleElement newTextListStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name 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 | |||||||||