Class TableTableElement
java.lang.Object
org.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.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.table.TableTableElement
- All Implemented Interfaces:
Serializable
,Cloneable
,OdfStylePropertySet
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
DOM implementation of OpenDocument element <table:table>.
- See Also:
-
Field Summary
FieldsFields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
mFamily, mStyleNameAttrib
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 class org.apache.xerces.dom.NodeImpl
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
Fields inherited from interface org.w3c.dom.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
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
Constructor Summary
ConstructorsConstructorDescriptionTableTableElement
(OdfFileDom ownerDoc) Create the instance ofTableTableElement
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.Get the element nameReceives the value of the ODFDOM attribute representationTableIsSubTableAttribute
, See @table:is-sub-tableReceives the value of the ODFDOM attribute representationTableNameAttribute
, See @table:nameReceives the value of the ODFDOM attribute representationTablePrintAttribute
, See @table:printReceives the value of the ODFDOM attribute representationTablePrintRangesAttribute
, See @table:print-rangesReceives the value of the ODFDOM attribute representationTableProtectedAttribute
, See @table:protectedReceives the value of the ODFDOM attribute representationTableProtectionKeyAttribute
, See @table:protection-keyReceives the value of the ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute
, See @table:protection-key-digest-algorithmReceives the value of the ODFDOM attribute representationTableStyleNameAttribute
, See @table:style-nameReceives the value of the ODFDOM attribute representationTableTemplateNameAttribute
, See @table:template-nameReceives the value of the ODFDOM attribute representationTableUseBandingColumnsStylesAttribute
, See @table:use-banding-columns-stylesReceives the value of the ODFDOM attribute representationTableUseBandingRowsStylesAttribute
, See @table:use-banding-rows-stylesReceives the value of the ODFDOM attribute representationTableUseFirstColumnStylesAttribute
, See @table:use-first-column-stylesReceives the value of the ODFDOM attribute representationTableUseFirstRowStylesAttribute
, See @table:use-first-row-stylesReceives the value of the ODFDOM attribute representationTableUseLastColumnStylesAttribute
, See @table:use-last-column-stylesReceives the value of the ODFDOM attribute representationTableUseLastRowStylesAttribute
, See @table:use-last-row-stylesReceives the value of the ODFDOM attribute representationXmlIdAttribute
, See @xml:idboolean
newOfficeDdeSourceElement
(String officeDdeApplicationValue, String officeDdeItemValue, String officeDdeTopicValue) Create child element <office:dde-source>.Create child element <office:forms>.Create child element <table:desc>.Create child element <table:named-expressions>.newTableScenarioElement
(boolean tableIsActiveValue, String tableScenarioRangesValue) Create child element <table:scenario>.Create child element <table:shapes>.Create child element <table:table-column>.Create child element <table:table-column-group>.Create child element <table:table-columns>.Create child element <table:table-header-columns>.Create child element <table:table-header-rows>.Create child element <table:table-row>.Create child element <table:table-row-group>.Create child element <table:table-rows>.newTableTableSourceElement
(String xlinkHrefValue, String xlinkTypeValue) Create child element <table:table-source>.Create child element <table:title>.Create child element <text:soft-page-break>.void
setTableIsSubTableAttribute
(Boolean tableIsSubTableValue) Sets the value of ODFDOM attribute representationTableIsSubTableAttribute
, See @table:is-sub-tablevoid
setTableNameAttribute
(String tableNameValue) Sets the value of ODFDOM attribute representationTableNameAttribute
, See @table:namevoid
setTablePrintAttribute
(Boolean tablePrintValue) Sets the value of ODFDOM attribute representationTablePrintAttribute
, See @table:printvoid
setTablePrintRangesAttribute
(String tablePrintRangesValue) Sets the value of ODFDOM attribute representationTablePrintRangesAttribute
, See @table:print-rangesvoid
setTableProtectedAttribute
(Boolean tableProtectedValue) Sets the value of ODFDOM attribute representationTableProtectedAttribute
, See @table:protectedvoid
setTableProtectionKeyAttribute
(String tableProtectionKeyValue) Sets the value of ODFDOM attribute representationTableProtectionKeyAttribute
, See @table:protection-keyvoid
setTableProtectionKeyDigestAlgorithmAttribute
(String tableProtectionKeyDigestAlgorithmValue) Sets the value of ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute
, See @table:protection-key-digest-algorithmvoid
setTableStyleNameAttribute
(String tableStyleNameValue) Sets the value of ODFDOM attribute representationTableStyleNameAttribute
, See @table:style-namevoid
setTableTemplateNameAttribute
(String tableTemplateNameValue) Sets the value of ODFDOM attribute representationTableTemplateNameAttribute
, See @table:template-namevoid
setTableUseBandingColumnsStylesAttribute
(Boolean tableUseBandingColumnsStylesValue) Sets the value of ODFDOM attribute representationTableUseBandingColumnsStylesAttribute
, See @table:use-banding-columns-stylesvoid
setTableUseBandingRowsStylesAttribute
(Boolean tableUseBandingRowsStylesValue) Sets the value of ODFDOM attribute representationTableUseBandingRowsStylesAttribute
, See @table:use-banding-rows-stylesvoid
setTableUseFirstColumnStylesAttribute
(Boolean tableUseFirstColumnStylesValue) Sets the value of ODFDOM attribute representationTableUseFirstColumnStylesAttribute
, See @table:use-first-column-stylesvoid
setTableUseFirstRowStylesAttribute
(Boolean tableUseFirstRowStylesValue) Sets the value of ODFDOM attribute representationTableUseFirstRowStylesAttribute
, See @table:use-first-row-stylesvoid
setTableUseLastColumnStylesAttribute
(Boolean tableUseLastColumnStylesValue) Sets the value of ODFDOM attribute representationTableUseLastColumnStylesAttribute
, See @table:use-last-column-stylesvoid
setTableUseLastRowStylesAttribute
(Boolean tableUseLastRowStylesValue) Sets the value of ODFDOM attribute representationTableUseLastRowStylesAttribute
, See @table:use-last-row-stylesvoid
setXmlIdAttribute
(String xmlIdValue) Sets the value of ODFDOM attribute representationXmlIdAttribute
, See @xml:idMethods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getDocumentStyleName, getOrCreateAutomaticStyles, getOrCreateUnqiueAutomaticStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleName
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onRemoveNode, receiveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toString
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, 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, 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
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
Field Details
-
ELEMENT_NAME
-
-
Constructor Details
-
TableTableElement
Create the instance ofTableTableElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Details
-
getOdfName
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <table:table>.
-
getTableIsSubTableAttribute
Receives the value of the ODFDOM attribute representationTableIsSubTableAttribute
, See @table:is-sub-table- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableIsSubTableAttribute
Sets the value of ODFDOM attribute representationTableIsSubTableAttribute
, See @table:is-sub-table- Parameters:
tableIsSubTableValue
- The type isBoolean
-
getTableNameAttribute
Receives the value of the ODFDOM attribute representationTableNameAttribute
, See @table:name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableNameAttribute
Sets the value of ODFDOM attribute representationTableNameAttribute
, See @table:name- Parameters:
tableNameValue
- The type isString
-
getTablePrintAttribute
Receives the value of the ODFDOM attribute representationTablePrintAttribute
, See @table:print- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTablePrintAttribute
Sets the value of ODFDOM attribute representationTablePrintAttribute
, See @table:print- Parameters:
tablePrintValue
- The type isBoolean
-
getTablePrintRangesAttribute
Receives the value of the ODFDOM attribute representationTablePrintRangesAttribute
, See @table:print-ranges- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTablePrintRangesAttribute
Sets the value of ODFDOM attribute representationTablePrintRangesAttribute
, See @table:print-ranges- Parameters:
tablePrintRangesValue
- The type isString
-
getTableProtectedAttribute
Receives the value of the ODFDOM attribute representationTableProtectedAttribute
, See @table:protected- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableProtectedAttribute
Sets the value of ODFDOM attribute representationTableProtectedAttribute
, See @table:protected- Parameters:
tableProtectedValue
- The type isBoolean
-
getTableProtectionKeyAttribute
Receives the value of the ODFDOM attribute representationTableProtectionKeyAttribute
, See @table:protection-key- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableProtectionKeyAttribute
Sets the value of ODFDOM attribute representationTableProtectionKeyAttribute
, See @table:protection-key- Parameters:
tableProtectionKeyValue
- The type isString
-
getTableProtectionKeyDigestAlgorithmAttribute
Receives the value of the ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute
, See @table:protection-key-digest-algorithm- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableProtectionKeyDigestAlgorithmAttribute
public void setTableProtectionKeyDigestAlgorithmAttribute(String tableProtectionKeyDigestAlgorithmValue) Sets the value of ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute
, See @table:protection-key-digest-algorithm- Parameters:
tableProtectionKeyDigestAlgorithmValue
- The type isString
-
getTableStyleNameAttribute
Receives the value of the ODFDOM attribute representationTableStyleNameAttribute
, See @table:style-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableStyleNameAttribute
Sets the value of ODFDOM attribute representationTableStyleNameAttribute
, See @table:style-name- Parameters:
tableStyleNameValue
- The type isString
-
getTableTemplateNameAttribute
Receives the value of the ODFDOM attribute representationTableTemplateNameAttribute
, See @table:template-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableTemplateNameAttribute
Sets the value of ODFDOM attribute representationTableTemplateNameAttribute
, See @table:template-name- Parameters:
tableTemplateNameValue
- The type isString
-
getTableUseBandingColumnsStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseBandingColumnsStylesAttribute
, See @table:use-banding-columns-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseBandingColumnsStylesAttribute
Sets the value of ODFDOM attribute representationTableUseBandingColumnsStylesAttribute
, See @table:use-banding-columns-styles- Parameters:
tableUseBandingColumnsStylesValue
- The type isBoolean
-
getTableUseBandingRowsStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseBandingRowsStylesAttribute
, See @table:use-banding-rows-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseBandingRowsStylesAttribute
Sets the value of ODFDOM attribute representationTableUseBandingRowsStylesAttribute
, See @table:use-banding-rows-styles- Parameters:
tableUseBandingRowsStylesValue
- The type isBoolean
-
getTableUseFirstColumnStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseFirstColumnStylesAttribute
, See @table:use-first-column-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseFirstColumnStylesAttribute
Sets the value of ODFDOM attribute representationTableUseFirstColumnStylesAttribute
, See @table:use-first-column-styles- Parameters:
tableUseFirstColumnStylesValue
- The type isBoolean
-
getTableUseFirstRowStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseFirstRowStylesAttribute
, See @table:use-first-row-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseFirstRowStylesAttribute
Sets the value of ODFDOM attribute representationTableUseFirstRowStylesAttribute
, See @table:use-first-row-styles- Parameters:
tableUseFirstRowStylesValue
- The type isBoolean
-
getTableUseLastColumnStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseLastColumnStylesAttribute
, See @table:use-last-column-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseLastColumnStylesAttribute
Sets the value of ODFDOM attribute representationTableUseLastColumnStylesAttribute
, See @table:use-last-column-styles- Parameters:
tableUseLastColumnStylesValue
- The type isBoolean
-
getTableUseLastRowStylesAttribute
Receives the value of the ODFDOM attribute representationTableUseLastRowStylesAttribute
, See @table:use-last-row-styles- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableUseLastRowStylesAttribute
Sets the value of ODFDOM attribute representationTableUseLastRowStylesAttribute
, See @table:use-last-row-styles- Parameters:
tableUseLastRowStylesValue
- The type isBoolean
-
getXmlIdAttribute
Receives the value of the ODFDOM attribute representationXmlIdAttribute
, See @xml:id- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXmlIdAttribute
Sets the value of ODFDOM attribute representationXmlIdAttribute
, See @xml:id- Parameters:
xmlIdValue
- The type isString
-
newOfficeDdeSourceElement
public OfficeDdeSourceElement newOfficeDdeSourceElement(String officeDdeApplicationValue, String officeDdeItemValue, String officeDdeTopicValue) Create child element <office:dde-source>.- Parameters:
officeDdeApplicationValue
- theString
value ofOfficeDdeApplicationAttribute
, see @office:dde-application at specificationofficeDdeItemValue
- theString
value ofOfficeDdeItemAttribute
, see @office:dde-item at specificationofficeDdeTopicValue
- theString
value ofOfficeDdeTopicAttribute
, see @office:dde-topic at specification- Returns:
- the element <office:dde-source>
-
newOfficeFormsElement
Create child element <office:forms>.- Returns:
- the element <office:forms>
-
newTableDescElement
Create child element <table:desc>.Child element was added in ODF 1.2
- Returns:
- the element <table:desc>
-
newTableNamedExpressionsElement
Create child element <table:named-expressions>.Child element was added in ODF 1.2
- Returns:
- the element <table:named-expressions>
-
newTableScenarioElement
public TableScenarioElement newTableScenarioElement(boolean tableIsActiveValue, String tableScenarioRangesValue) Create child element <table:scenario>.- Parameters:
tableIsActiveValue
- theBoolean
value ofTableIsActiveAttribute
, see @table:is-active at specificationtableScenarioRangesValue
- theString
value ofTableScenarioRangesAttribute
, see @table:scenario-ranges at specification- Returns:
- the element <table:scenario>
-
newTableShapesElement
Create child element <table:shapes>.- Returns:
- the element <table:shapes>
-
newTableTableColumnElement
Create child element <table:table-column>.- Returns:
- the element <table:table-column>
-
newTableTableColumnGroupElement
Create child element <table:table-column-group>.- Returns:
- the element <table:table-column-group>
-
newTableTableColumnsElement
Create child element <table:table-columns>.- Returns:
- the element <table:table-columns>
-
newTableTableHeaderColumnsElement
Create child element <table:table-header-columns>.- Returns:
- the element <table:table-header-columns>
-
newTableTableHeaderRowsElement
Create child element <table:table-header-rows>.- Returns:
- the element <table:table-header-rows>
-
newTableTableRowElement
Create child element <table:table-row>.- Returns:
- the element <table:table-row>
-
newTableTableRowGroupElement
Create child element <table:table-row-group>.- Returns:
- the element <table:table-row-group>
-
newTableTableRowsElement
Create child element <table:table-rows>.- Returns:
- the element <table:table-rows>
-
newTableTableSourceElement
public TableTableSourceElement newTableTableSourceElement(String xlinkHrefValue, String xlinkTypeValue) Create child element <table:table-source>.- Parameters:
xlinkHrefValue
- theString
value ofXlinkHrefAttribute
, see @xlink:href at specificationxlinkTypeValue
- theString
value ofXlinkTypeAttribute
, see @xlink:type at specification- Returns:
- the element <table:table-source>
-
newTableTitleElement
Create child element <table:title>.Child element was added in ODF 1.2
- Returns:
- the element <table:title>
-
newTextSoftPageBreakElement
Create child element <text:soft-page-break>.Child element was added in ODF 1.1
- Returns:
- the element <text:soft-page-break>
-
accept
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
accept
in classOdfElement
- Parameters:
visitor
- an instance of DefaultElementVisitor
-
isComponentRoot
public boolean isComponentRoot()- Overrides:
isComponentRoot
in classOdfElement
-