|
||||||||||
| 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 |
|
| Method Summary | |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
OdfName |
getOdfName()
Get the element name |
DrawFillImageElement |
newDrawFillImageElement(java.lang.String drawNameValue,
java.lang.String xlinkHrefValue,
java.lang.String xlinkTypeValue)
Create child element draw:fill-image. |
DrawGradientElement |
newDrawGradientElement(java.lang.String drawStyleValue)
Create child element draw:gradient. |
DrawHatchElement |
newDrawHatchElement(java.lang.String drawNameValue,
java.lang.String drawStyleValue)
Create child element draw:hatch. |
DrawMarkerElement |
newDrawMarkerElement(java.lang.String drawNameValue,
java.lang.String svgDValue,
java.lang.String svgViewBoxValue)
Create child element draw:marker. |
DrawOpacityElement |
newDrawOpacityElement(java.lang.String drawStyleValue)
Create child element draw:opacity. |
DrawStrokeDashElement |
newDrawStrokeDashElement(java.lang.String drawNameValue)
Create child element draw:stroke-dash. |
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. |
StyleDefaultPageLayoutElement |
newStyleDefaultPageLayoutElement()
Create child element style:default-page-layout. |
StyleDefaultStyleElement |
newStyleDefaultStyleElement(java.lang.String styleFamilyValue)
Create child element style:default-style. |
StylePresentationPageLayoutElement |
newStylePresentationPageLayoutElement(java.lang.String styleNameValue)
Create child element style:presentation-page-layout. |
StyleStyleElement |
newStyleStyleElement(java.lang.String styleFamilyValue,
java.lang.String styleNameValue)
Create child element style:style. |
SvgLinearGradientElement |
newSvgLinearGradientElement(java.lang.String drawNameValue)
Create child element svg:linearGradient. |
SvgRadialGradientElement |
newSvgRadialGradientElement(java.lang.String drawNameValue)
Create child element svg:radialGradient. |
TableTableTemplateElement |
newTableTableTemplateElement(java.lang.String tableFirstRowEndColumnValue,
java.lang.String tableFirstRowStartColumnValue,
java.lang.String tableLastRowEndColumnValue,
java.lang.String tableLastRowStartColumnValue,
java.lang.String tableNameValue)
Create child element table:table-template. |
TextBibliographyConfigurationElement |
newTextBibliographyConfigurationElement()
Create child element text:bibliography-configuration. |
TextLinenumberingConfigurationElement |
newTextLinenumberingConfigurationElement(java.lang.String styleNumFormatValue)
Create child element text:linenumbering-configuration. |
TextListStyleElement |
newTextListStyleElement(java.lang.String styleNameValue)
Create child element text:list-style. |
TextNotesConfigurationElement |
newTextNotesConfigurationElement(java.lang.String styleNumFormatValue,
java.lang.String textNoteClassValue)
Create child element text:notes-configuration. |
TextOutlineStyleElement |
newTextOutlineStyleElement(java.lang.String styleNameValue)
Create child element text:outline-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 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(java.lang.String drawNameValue,
java.lang.String xlinkHrefValue,
java.lang.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(java.lang.String drawStyleValue)
drawStyleValue - the String value of DrawStyleAttribute, see draw:style at specification
public DrawHatchElement newDrawHatchElement(java.lang.String drawNameValue,
java.lang.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(java.lang.String drawNameValue,
java.lang.String svgDValue,
java.lang.String svgViewBoxValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specificationsvgDValue - the String value of SvgDAttribute, see svg:d at specificationsvgViewBoxValue - the String value of SvgViewBoxAttribute, see svg:viewBox at specification
public DrawOpacityElement newDrawOpacityElement(java.lang.String drawStyleValue)
drawStyleValue - the String value of DrawStyleAttribute, see draw:style at specification
public DrawStrokeDashElement newDrawStrokeDashElement(java.lang.String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
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 StyleDefaultPageLayoutElement newStyleDefaultPageLayoutElement()
public StyleDefaultStyleElement newStyleDefaultStyleElement(java.lang.String styleFamilyValue)
styleFamilyValue - the String value of StyleFamilyAttribute, see style:family at specification
public StylePresentationPageLayoutElement newStylePresentationPageLayoutElement(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 SvgLinearGradientElement newSvgLinearGradientElement(java.lang.String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
public SvgRadialGradientElement newSvgRadialGradientElement(java.lang.String drawNameValue)
drawNameValue - the String value of DrawNameAttribute, see draw:name at specification
public TableTableTemplateElement newTableTableTemplateElement(java.lang.String tableFirstRowEndColumnValue,
java.lang.String tableFirstRowStartColumnValue,
java.lang.String tableLastRowEndColumnValue,
java.lang.String tableLastRowStartColumnValue,
java.lang.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(java.lang.String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute, see style:num-format at specification
public TextListStyleElement newTextListStyleElement(java.lang.String styleNameValue)
styleNameValue - the String value of StyleNameAttribute, see style:name at specification
public TextNotesConfigurationElement newTextNotesConfigurationElement(java.lang.String styleNumFormatValue,
java.lang.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(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 | |||||||||