public class OfficeStylesElement extends OdfContainerElementBase
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
mPackageDocument
localName, namespaceURI
attributes, name
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_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_NODE
ATTRIBUTE_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_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
OfficeStylesElement(OdfFileDom ownerDoc)
Create the instance of
OfficeStylesElement |
insertBefore, onOdfNodeInserted, onOdfNodeRemoved, removeChild, replaceChild
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, setOdfAttribute, setOdfAttributeValue, toString
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
public static final OdfName ELEMENT_NAME
public OfficeStylesElement(OdfFileDom ownerDoc)
OfficeStylesElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
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 specificationpublic DrawGradientElement newDrawGradientElement(String drawStyleValue)
drawStyleValue
- the String
value of DrawStyleAttribute
, see draw:style at specificationpublic 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 specificationpublic 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 specificationpublic DrawOpacityElement newDrawOpacityElement(String drawStyleValue)
drawStyleValue
- the String
value of DrawStyleAttribute
, see draw:style at specificationpublic DrawStrokeDashElement newDrawStrokeDashElement(String drawNameValue)
drawNameValue
- the String
value of DrawNameAttribute
, see draw:name at specificationpublic NumberBooleanStyleElement newNumberBooleanStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberCurrencyStyleElement newNumberCurrencyStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberDateStyleElement newNumberDateStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberNumberStyleElement newNumberNumberStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberPercentageStyleElement newNumberPercentageStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberTextStyleElement newNumberTextStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic NumberTimeStyleElement newNumberTimeStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic StyleDefaultPageLayoutElement newStyleDefaultPageLayoutElement()
public StyleDefaultStyleElement newStyleDefaultStyleElement(String styleFamilyValue)
styleFamilyValue
- the String
value of StyleFamilyAttribute
, see style:family at specificationpublic StylePresentationPageLayoutElement newStylePresentationPageLayoutElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic 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 specificationpublic SvgLinearGradientElement newSvgLinearGradientElement(String drawNameValue)
drawNameValue
- the String
value of DrawNameAttribute
, see draw:name at specificationpublic SvgRadialGradientElement newSvgRadialGradientElement(String drawNameValue)
drawNameValue
- the String
value of DrawNameAttribute
, see draw:name at specificationpublic 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.2public TextBibliographyConfigurationElement newTextBibliographyConfigurationElement()
public TextLinenumberingConfigurationElement newTextLinenumberingConfigurationElement(String styleNumFormatValue)
styleNumFormatValue
- the String
value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextListStyleElement newTextListStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic 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 specificationpublic TextOutlineStyleElement newTextOutlineStyleElement(String styleNameValue)
styleNameValue
- the String
value of StyleNameAttribute
, see style:name at specificationpublic void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.