|
||||||||||
| 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.OfficeStylesElement
public class OfficeStylesElement
DOM implementation of OpenDocument element office: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 | |
|---|---|
OfficeStylesElement(OdfFileDom ownerDoc)
Create the instance of OfficeStylesElement |
|
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfContainerElementBase |
|---|
insertBefore, onOdfNodeInserted, onOdfNodeRemoved, removeChild, replaceChild |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, cloneOdfElement, 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 OfficeStylesElement(OdfFileDom ownerDoc)
OfficeStylesElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element office:styles.
public DrawFillImageElement newDrawFillImageElement(String drawNameValue,
String xlinkHrefValue,
String xlinkTypeValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specificationxlinkHrefValue - the String value of XlinkHrefAttribute, see xlink:href at specificationxlinkTypeValue - the String value of XlinkTypeAttribute, see xlink:type at specification
public DrawGradientElement newDrawGradientElement(String drawStyleValue)
drawStyleValue - the String value of DrawStyleAttribute, see draw:style at specification
public DrawHatchElement newDrawHatchElement(String drawNameValue,
String drawStyleValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specificationdrawStyleValue - the String value of DrawStyleAttribute, see draw:style at specification
public DrawMarkerElement newDrawMarkerElement(String drawNameValue,
String svgDValue,
int svgViewBoxValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specificationsvgDValue - the String value of SvgDAttribute, see svg:d at specificationsvgViewBoxValue - the Integer value of SvgViewBoxAttribute, see svg:viewBox at specification
public DrawOpacityElement newDrawOpacityElement(String drawStyleValue)
drawStyleValue - the String value of DrawStyleAttribute, see draw:style at specification
public DrawStrokeDashElement newDrawStrokeDashElement(String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
public NumberBooleanStyleElement newNumberBooleanStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberCurrencyStyleElement newNumberCurrencyStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberDateStyleElement newNumberDateStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberNumberStyleElement newNumberNumberStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberPercentageStyleElement newNumberPercentageStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberTextStyleElement newNumberTextStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public NumberTimeStyleElement newNumberTimeStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public StyleDefaultPageLayoutElement newStyleDefaultPageLayoutElement()
public StyleDefaultStyleElement newStyleDefaultStyleElement(String styleFamilyValue)
styleFamilyValue - the String value of StyleFamilyAttribute, see style:family at specification
public StylePresentationPageLayoutElement newStylePresentationPageLayoutElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public StyleStyleElement newStyleStyleElement(String styleFamilyValue,
String styleNameValue)
styleFamilyValue - the String value of StyleFamilyAttribute, see style:family at specificationstyleNameValue - the String value of StyleNameAttribute, see style:name at specification
public SvgLinearGradientElement newSvgLinearGradientElement(String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
public SvgRadialGradientElement newSvgRadialGradientElement(String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
public TableTableTemplateElement newTableTableTemplateElement(String tableFirstRowEndColumnValue,
String tableFirstRowStartColumnValue,
String tableLastRowEndColumnValue,
String tableLastRowStartColumnValue,
String tableNameValue)
tableFirstRowEndColumnValue - the String value of TableFirstRowEndColumnAttribute, see table:first-row-end-column at specificationtableFirstRowStartColumnValue - the String value of TableFirstRowStartColumnAttribute, see table:first-row-start-column at specificationtableLastRowEndColumnValue - the String value of TableLastRowEndColumnAttribute, see table:last-row-end-column at specificationtableLastRowStartColumnValue - the String value of TableLastRowStartColumnAttribute, see table:last-row-start-column at specificationtableNameValue - the String value of TableNameAttribute, see table:name at specification
Child element is new in Odf 1.2
public TextBibliographyConfigurationElement newTextBibliographyConfigurationElement()
public TextLinenumberingConfigurationElement newTextLinenumberingConfigurationElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute, see style:num-format at specification
public TextListStyleElement newTextListStyleElement(String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public TextNotesConfigurationElement newTextNotesConfigurationElement(String styleNumFormatValue,
String textNoteClassValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute, see style:num-format at specificationtextNoteClassValue - the String value of TextNoteClassAttribute, see text:note-class at specification
public TextOutlineStyleElement newTextOutlineStyleElement(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 | |||||||||