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
public class TableTableElement extends OdfStylableElement
DOM implementation of OpenDocument element <table:table>.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfNameELEMENT_NAME-
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
mFamily, mStyleNameAttrib
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
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
Constructors Constructor Description TableTableElement(OdfFileDom ownerDoc)Create the instance ofTableTableElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ElementVisitor visitor)Accept an visitor instance to allow the visitor to do some operations.OdfNamegetOdfName()Get the element nameorg.json.JSONArraygetPosition()BooleangetTableIsSubTableAttribute()Receives the value of the ODFDOM attribute representationTableIsSubTableAttribute, See @table:is-sub-tableStringgetTableNameAttribute()Receives the value of the ODFDOM attribute representationTableNameAttribute, See @table:nameBooleangetTablePrintAttribute()Receives the value of the ODFDOM attribute representationTablePrintAttribute, See @table:printStringgetTablePrintRangesAttribute()Receives the value of the ODFDOM attribute representationTablePrintRangesAttribute, See @table:print-rangesBooleangetTableProtectedAttribute()Receives the value of the ODFDOM attribute representationTableProtectedAttribute, See @table:protectedStringgetTableProtectionKeyAttribute()Receives the value of the ODFDOM attribute representationTableProtectionKeyAttribute, See @table:protection-keyStringgetTableProtectionKeyDigestAlgorithmAttribute()Receives the value of the ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute, See @table:protection-key-digest-algorithmStringgetTableStyleNameAttribute()Receives the value of the ODFDOM attribute representationTableStyleNameAttribute, See @table:style-nameStringgetTableTemplateNameAttribute()Receives the value of the ODFDOM attribute representationTableTemplateNameAttribute, See @table:template-nameBooleangetTableUseBandingColumnsStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseBandingColumnsStylesAttribute, See @table:use-banding-columns-stylesBooleangetTableUseBandingRowsStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseBandingRowsStylesAttribute, See @table:use-banding-rows-stylesBooleangetTableUseFirstColumnStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseFirstColumnStylesAttribute, See @table:use-first-column-stylesBooleangetTableUseFirstRowStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseFirstRowStylesAttribute, See @table:use-first-row-stylesBooleangetTableUseLastColumnStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseLastColumnStylesAttribute, See @table:use-last-column-stylesBooleangetTableUseLastRowStylesAttribute()Receives the value of the ODFDOM attribute representationTableUseLastRowStylesAttribute, See @table:use-last-row-stylesStringgetXmlIdAttribute()Receives the value of the ODFDOM attribute representationXmlIdAttribute, See @xml:idvoidhasChangedWidth()booleanisComponentRoot()booleanisWidthChangeRequired()OfficeDdeSourceElementnewOfficeDdeSourceElement(String officeDdeApplicationValue, String officeDdeItemValue, String officeDdeTopicValue)Create child element <office:dde-source>.OfficeFormsElementnewOfficeFormsElement()Create child element <office:forms>.TableDescElementnewTableDescElement()Create child element <table:desc>.TableNamedExpressionsElementnewTableNamedExpressionsElement()Create child element <table:named-expressions>.TableScenarioElementnewTableScenarioElement(boolean tableIsActiveValue, String tableScenarioRangesValue)Create child element <table:scenario>.TableShapesElementnewTableShapesElement()Create child element <table:shapes>.TableTableColumnElementnewTableTableColumnElement()Create child element <table:table-column>.TableTableColumnGroupElementnewTableTableColumnGroupElement()Create child element <table:table-column-group>.TableTableColumnsElementnewTableTableColumnsElement()Create child element <table:table-columns>.TableTableHeaderColumnsElementnewTableTableHeaderColumnsElement()Create child element <table:table-header-columns>.TableTableHeaderRowsElementnewTableTableHeaderRowsElement()Create child element <table:table-header-rows>.TableTableRowElementnewTableTableRowElement()Create child element <table:table-row>.TableTableRowGroupElementnewTableTableRowGroupElement()Create child element <table:table-row-group>.TableTableRowsElementnewTableTableRowsElement()Create child element <table:table-rows>.TableTableSourceElementnewTableTableSourceElement(String xlinkHrefValue, String xlinkTypeValue)Create child element <table:table-source>.TableTitleElementnewTableTitleElement()Create child element <table:title>.TextSoftPageBreakElementnewTextSoftPageBreakElement()Create child element <text:soft-page-break>.org.json.JSONArraypopTableGrid()OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoidpushTableGrid(List<Integer> columnWidths)OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoidpushTableGrid(org.json.JSONArray tableGrid)OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoidreplaceLastTableGrid(org.json.JSONArray tableGrid)OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoidrequireLaterWidthChange(org.json.JSONArray start)voidsetTableIsSubTableAttribute(Boolean tableIsSubTableValue)Sets the value of ODFDOM attribute representationTableIsSubTableAttribute, See @table:is-sub-tablevoidsetTableNameAttribute(String tableNameValue)Sets the value of ODFDOM attribute representationTableNameAttribute, See @table:namevoidsetTablePrintAttribute(Boolean tablePrintValue)Sets the value of ODFDOM attribute representationTablePrintAttribute, See @table:printvoidsetTablePrintRangesAttribute(String tablePrintRangesValue)Sets the value of ODFDOM attribute representationTablePrintRangesAttribute, See @table:print-rangesvoidsetTableProtectedAttribute(Boolean tableProtectedValue)Sets the value of ODFDOM attribute representationTableProtectedAttribute, See @table:protectedvoidsetTableProtectionKeyAttribute(String tableProtectionKeyValue)Sets the value of ODFDOM attribute representationTableProtectionKeyAttribute, See @table:protection-keyvoidsetTableProtectionKeyDigestAlgorithmAttribute(String tableProtectionKeyDigestAlgorithmValue)Sets the value of ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute, See @table:protection-key-digest-algorithmvoidsetTableStyleNameAttribute(String tableStyleNameValue)Sets the value of ODFDOM attribute representationTableStyleNameAttribute, See @table:style-namevoidsetTableTemplateNameAttribute(String tableTemplateNameValue)Sets the value of ODFDOM attribute representationTableTemplateNameAttribute, See @table:template-namevoidsetTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColumnsStylesValue)Sets the value of ODFDOM attribute representationTableUseBandingColumnsStylesAttribute, See @table:use-banding-columns-stylesvoidsetTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsStylesValue)Sets the value of ODFDOM attribute representationTableUseBandingRowsStylesAttribute, See @table:use-banding-rows-stylesvoidsetTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnStylesValue)Sets the value of ODFDOM attribute representationTableUseFirstColumnStylesAttribute, See @table:use-first-column-stylesvoidsetTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesValue)Sets the value of ODFDOM attribute representationTableUseFirstRowStylesAttribute, See @table:use-first-row-stylesvoidsetTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStylesValue)Sets the value of ODFDOM attribute representationTableUseLastColumnStylesAttribute, See @table:use-last-column-stylesvoidsetTableUseLastRowStylesAttribute(Boolean tableUseLastRowStylesValue)Sets the value of ODFDOM attribute representationTableUseLastRowStylesAttribute, See @table:use-last-row-stylesvoidsetXmlIdAttribute(String xmlIdValue)Sets the value of ODFDOM attribute representationXmlIdAttribute, See @xml:id-
Methods 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, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onRemoveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, 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 Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
-
Constructor Detail
-
TableTableElement
public TableTableElement(OdfFileDom ownerDoc)
Create the instance ofTableTableElement- Parameters:
ownerDoc- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfNamein classOdfElement- Returns:
- return
OdfNamethe name of element <table:table>.
-
getTableIsSubTableAttribute
public Boolean 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
public void setTableIsSubTableAttribute(Boolean tableIsSubTableValue)
Sets the value of ODFDOM attribute representationTableIsSubTableAttribute, See @table:is-sub-table- Parameters:
tableIsSubTableValue- The type isBoolean
-
getTableNameAttribute
public String 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
public void setTableNameAttribute(String tableNameValue)
Sets the value of ODFDOM attribute representationTableNameAttribute, See @table:name- Parameters:
tableNameValue- The type isString
-
getTablePrintAttribute
public Boolean 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
public void setTablePrintAttribute(Boolean tablePrintValue)
Sets the value of ODFDOM attribute representationTablePrintAttribute, See @table:print- Parameters:
tablePrintValue- The type isBoolean
-
getTablePrintRangesAttribute
public String 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
public void setTablePrintRangesAttribute(String tablePrintRangesValue)
Sets the value of ODFDOM attribute representationTablePrintRangesAttribute, See @table:print-ranges- Parameters:
tablePrintRangesValue- The type isString
-
getTableProtectedAttribute
public Boolean 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
public void setTableProtectedAttribute(Boolean tableProtectedValue)
Sets the value of ODFDOM attribute representationTableProtectedAttribute, See @table:protected- Parameters:
tableProtectedValue- The type isBoolean
-
getTableProtectionKeyAttribute
public String 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
public void setTableProtectionKeyAttribute(String tableProtectionKeyValue)
Sets the value of ODFDOM attribute representationTableProtectionKeyAttribute, See @table:protection-key- Parameters:
tableProtectionKeyValue- The type isString
-
getTableProtectionKeyDigestAlgorithmAttribute
public String 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
public String 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
public void setTableStyleNameAttribute(String tableStyleNameValue)
Sets the value of ODFDOM attribute representationTableStyleNameAttribute, See @table:style-name- Parameters:
tableStyleNameValue- The type isString
-
getTableTemplateNameAttribute
public String 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
public void setTableTemplateNameAttribute(String tableTemplateNameValue)
Sets the value of ODFDOM attribute representationTableTemplateNameAttribute, See @table:template-name- Parameters:
tableTemplateNameValue- The type isString
-
getTableUseBandingColumnsStylesAttribute
public Boolean 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
public void setTableUseBandingColumnsStylesAttribute(Boolean tableUseBandingColumnsStylesValue)
Sets the value of ODFDOM attribute representationTableUseBandingColumnsStylesAttribute, See @table:use-banding-columns-styles- Parameters:
tableUseBandingColumnsStylesValue- The type isBoolean
-
getTableUseBandingRowsStylesAttribute
public Boolean 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
public void setTableUseBandingRowsStylesAttribute(Boolean tableUseBandingRowsStylesValue)
Sets the value of ODFDOM attribute representationTableUseBandingRowsStylesAttribute, See @table:use-banding-rows-styles- Parameters:
tableUseBandingRowsStylesValue- The type isBoolean
-
getTableUseFirstColumnStylesAttribute
public Boolean 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
public void setTableUseFirstColumnStylesAttribute(Boolean tableUseFirstColumnStylesValue)
Sets the value of ODFDOM attribute representationTableUseFirstColumnStylesAttribute, See @table:use-first-column-styles- Parameters:
tableUseFirstColumnStylesValue- The type isBoolean
-
getTableUseFirstRowStylesAttribute
public Boolean 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
public void setTableUseFirstRowStylesAttribute(Boolean tableUseFirstRowStylesValue)
Sets the value of ODFDOM attribute representationTableUseFirstRowStylesAttribute, See @table:use-first-row-styles- Parameters:
tableUseFirstRowStylesValue- The type isBoolean
-
getTableUseLastColumnStylesAttribute
public Boolean 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
public void setTableUseLastColumnStylesAttribute(Boolean tableUseLastColumnStylesValue)
Sets the value of ODFDOM attribute representationTableUseLastColumnStylesAttribute, See @table:use-last-column-styles- Parameters:
tableUseLastColumnStylesValue- The type isBoolean
-
getTableUseLastRowStylesAttribute
public Boolean 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
public void setTableUseLastRowStylesAttribute(Boolean tableUseLastRowStylesValue)
Sets the value of ODFDOM attribute representationTableUseLastRowStylesAttribute, See @table:use-last-row-styles- Parameters:
tableUseLastRowStylesValue- The type isBoolean
-
getXmlIdAttribute
public String 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
public void setXmlIdAttribute(String xmlIdValue)
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- theStringvalue ofOfficeDdeApplicationAttribute, see @office:dde-application at specificationofficeDdeItemValue- theStringvalue ofOfficeDdeItemAttribute, see @office:dde-item at specificationofficeDdeTopicValue- theStringvalue ofOfficeDdeTopicAttribute, see @office:dde-topic at specification- Returns:
- the element <office:dde-source>
-
newOfficeFormsElement
public OfficeFormsElement newOfficeFormsElement()
Create child element <office:forms>.- Returns:
- the element <office:forms>
-
newTableDescElement
public TableDescElement newTableDescElement()
Create child element <table:desc>.Child element is new in Odf 1.2
- Returns:
- the element <table:desc>
-
newTableNamedExpressionsElement
public TableNamedExpressionsElement newTableNamedExpressionsElement()
Create child element <table:named-expressions>.Child element is new 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- theBooleanvalue ofTableIsActiveAttribute, see @table:is-active at specificationtableScenarioRangesValue- theStringvalue ofTableScenarioRangesAttribute, see @table:scenario-ranges at specification- Returns:
- the element <table:scenario>
-
newTableShapesElement
public TableShapesElement newTableShapesElement()
Create child element <table:shapes>.- Returns:
- the element <table:shapes>
-
newTableTableColumnElement
public TableTableColumnElement newTableTableColumnElement()
Create child element <table:table-column>.- Returns:
- the element <table:table-column>
-
newTableTableColumnGroupElement
public TableTableColumnGroupElement newTableTableColumnGroupElement()
Create child element <table:table-column-group>.- Returns:
- the element <table:table-column-group>
-
newTableTableColumnsElement
public TableTableColumnsElement newTableTableColumnsElement()
Create child element <table:table-columns>.- Returns:
- the element <table:table-columns>
-
newTableTableHeaderColumnsElement
public TableTableHeaderColumnsElement newTableTableHeaderColumnsElement()
Create child element <table:table-header-columns>.- Returns:
- the element <table:table-header-columns>
-
newTableTableHeaderRowsElement
public TableTableHeaderRowsElement newTableTableHeaderRowsElement()
Create child element <table:table-header-rows>.- Returns:
- the element <table:table-header-rows>
-
newTableTableRowElement
public TableTableRowElement newTableTableRowElement()
Create child element <table:table-row>.- Returns:
- the element <table:table-row>
-
newTableTableRowGroupElement
public TableTableRowGroupElement newTableTableRowGroupElement()
Create child element <table:table-row-group>.- Returns:
- the element <table:table-row-group>
-
newTableTableRowsElement
public TableTableRowsElement 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- theStringvalue ofXlinkHrefAttribute, see @xlink:href at specificationxlinkTypeValue- theStringvalue ofXlinkTypeAttribute, see @xlink:type at specification- Returns:
- the element <table:table-source>
-
newTableTitleElement
public TableTitleElement newTableTitleElement()
Create child element <table:title>.Child element is new in Odf 1.2
- Returns:
- the element <table:title>
-
newTextSoftPageBreakElement
public TextSoftPageBreakElement newTextSoftPageBreakElement()
Create child element <text:soft-page-break>.- Returns:
- the element <text:soft-page-break>
-
accept
public void accept(ElementVisitor visitor)
Description copied from class:OdfElementAccept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
acceptin classOdfElement- Parameters:
visitor- an instance of DefaultElementVisitor
-
isComponentRoot
public boolean isComponentRoot()
- Overrides:
isComponentRootin classOdfElement
-
pushTableGrid
public void pushTableGrid(org.json.JSONArray tableGrid)
OH PLEASE DELETE ME AFTER THE API WAS FIXED
-
requireLaterWidthChange
public void requireLaterWidthChange(org.json.JSONArray start)
-
isWidthChangeRequired
public boolean isWidthChangeRequired()
-
hasChangedWidth
public void hasChangedWidth()
-
getPosition
public org.json.JSONArray getPosition()
-
pushTableGrid
public void pushTableGrid(List<Integer> columnWidths)
OH PLEASE DELETE ME AFTER THE API WAS FIXED
-
popTableGrid
public org.json.JSONArray popTableGrid()
OH PLEASE DELETE ME AFTER THE API WAS FIXED
-
replaceLastTableGrid
public void replaceLastTableGrid(org.json.JSONArray tableGrid)
OH PLEASE DELETE ME AFTER THE API WAS FIXED
-
-