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 OdfName
ELEMENT_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 void
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.OdfName
getOdfName()
Get the element nameorg.json.JSONArray
getPosition()
Boolean
getTableIsSubTableAttribute()
Receives the value of the ODFDOM attribute representationTableIsSubTableAttribute
, See @table:is-sub-tableString
getTableNameAttribute()
Receives the value of the ODFDOM attribute representationTableNameAttribute
, See @table:nameBoolean
getTablePrintAttribute()
Receives the value of the ODFDOM attribute representationTablePrintAttribute
, See @table:printString
getTablePrintRangesAttribute()
Receives the value of the ODFDOM attribute representationTablePrintRangesAttribute
, See @table:print-rangesBoolean
getTableProtectedAttribute()
Receives the value of the ODFDOM attribute representationTableProtectedAttribute
, See @table:protectedString
getTableProtectionKeyAttribute()
Receives the value of the ODFDOM attribute representationTableProtectionKeyAttribute
, See @table:protection-keyString
getTableProtectionKeyDigestAlgorithmAttribute()
Receives the value of the ODFDOM attribute representationTableProtectionKeyDigestAlgorithmAttribute
, See @table:protection-key-digest-algorithmString
getTableStyleNameAttribute()
Receives the value of the ODFDOM attribute representationTableStyleNameAttribute
, See @table:style-nameString
getTableTemplateNameAttribute()
Receives the value of the ODFDOM attribute representationTableTemplateNameAttribute
, See @table:template-nameBoolean
getTableUseBandingColumnsStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseBandingColumnsStylesAttribute
, See @table:use-banding-columns-stylesBoolean
getTableUseBandingRowsStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseBandingRowsStylesAttribute
, See @table:use-banding-rows-stylesBoolean
getTableUseFirstColumnStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseFirstColumnStylesAttribute
, See @table:use-first-column-stylesBoolean
getTableUseFirstRowStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseFirstRowStylesAttribute
, See @table:use-first-row-stylesBoolean
getTableUseLastColumnStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseLastColumnStylesAttribute
, See @table:use-last-column-stylesBoolean
getTableUseLastRowStylesAttribute()
Receives the value of the ODFDOM attribute representationTableUseLastRowStylesAttribute
, See @table:use-last-row-stylesString
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representationXmlIdAttribute
, See @xml:idvoid
hasChangedWidth()
boolean
isComponentRoot()
boolean
isWidthChangeRequired()
OfficeDdeSourceElement
newOfficeDdeSourceElement(String officeDdeApplicationValue, String officeDdeItemValue, String officeDdeTopicValue)
Create child element <office:dde-source>.OfficeFormsElement
newOfficeFormsElement()
Create child element <office:forms>.TableDescElement
newTableDescElement()
Create child element <table:desc>.TableNamedExpressionsElement
newTableNamedExpressionsElement()
Create child element <table:named-expressions>.TableScenarioElement
newTableScenarioElement(boolean tableIsActiveValue, String tableScenarioRangesValue)
Create child element <table:scenario>.TableShapesElement
newTableShapesElement()
Create child element <table:shapes>.TableTableColumnElement
newTableTableColumnElement()
Create child element <table:table-column>.TableTableColumnGroupElement
newTableTableColumnGroupElement()
Create child element <table:table-column-group>.TableTableColumnsElement
newTableTableColumnsElement()
Create child element <table:table-columns>.TableTableHeaderColumnsElement
newTableTableHeaderColumnsElement()
Create child element <table:table-header-columns>.TableTableHeaderRowsElement
newTableTableHeaderRowsElement()
Create child element <table:table-header-rows>.TableTableRowElement
newTableTableRowElement()
Create child element <table:table-row>.TableTableRowGroupElement
newTableTableRowGroupElement()
Create child element <table:table-row-group>.TableTableRowsElement
newTableTableRowsElement()
Create child element <table:table-rows>.TableTableSourceElement
newTableTableSourceElement(String xlinkHrefValue, String xlinkTypeValue)
Create child element <table:table-source>.TableTitleElement
newTableTitleElement()
Create child element <table:title>.TextSoftPageBreakElement
newTextSoftPageBreakElement()
Create child element <text:soft-page-break>.org.json.JSONArray
popTableGrid()
OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoid
pushTableGrid(List<Integer> columnWidths)
OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoid
pushTableGrid(org.json.JSONArray tableGrid)
OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoid
replaceLastTableGrid(org.json.JSONArray tableGrid)
OH PLEASE DELETE ME AFTER THE API WAS FIXEDvoid
requireLaterWidthChange(org.json.JSONArray start)
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: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:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the 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
- 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
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
- theBoolean
value ofTableIsActiveAttribute
, see @table:is-active at specificationtableScenarioRangesValue
- theString
value 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
- theString
value ofXlinkHrefAttribute
, see @xlink:href at specificationxlinkTypeValue
- theString
value 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:OdfElement
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
-
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
-
-