Package org.xlsx4j.sml
Class CTTable
java.lang.Object
org.xlsx4j.sml.CTTable
- All Implemented Interfaces:
Child
public class CTTable extends java.lang.Object implements Child
Java class for CT_Table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Table">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="autoFilter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_AutoFilter" minOccurs="0"/>
<element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
<element name="tableColumns" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TableColumns"/>
<element name="tableStyleInfo" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TableStyleInfo" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="displayName" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="comment" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
<attribute name="tableType" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TableType" default="worksheet" />
<attribute name="headerRowCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
<attribute name="insertRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="insertRowShift" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="totalsRowCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="totalsRowShown" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="published" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="headerRowDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="dataDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="totalsRowDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="headerRowBorderDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="tableBorderDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="totalsRowBorderDxfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DxfId" />
<attribute name="headerRowCellStyle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="dataCellStyle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="totalsRowCellStyle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="connectionId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTAutoFilterautoFilterprotected java.lang.Stringcommentprotected java.lang.LongconnectionIdprotected java.lang.StringdataCellStyleprotected java.lang.LongdataDxfIdprotected java.lang.StringdisplayNameprotected CTExtensionListextLstprotected java.lang.LongheaderRowBorderDxfIdprotected java.lang.StringheaderRowCellStyleprotected java.lang.LongheaderRowCountprotected java.lang.LongheaderRowDxfIdprotected longidprotected java.lang.BooleaninsertRowprotected java.lang.BooleaninsertRowShiftprotected java.lang.Stringnameprotected java.lang.Booleanpublishedprotected java.lang.Stringrefprotected CTSortStatesortStateprotected java.lang.LongtableBorderDxfIdprotected CTTableColumnstableColumnsprotected CTTableStyleInfotableStyleInfoprotected STTableTypetableTypeprotected java.lang.LongtotalsRowBorderDxfIdprotected java.lang.StringtotalsRowCellStyleprotected java.lang.LongtotalsRowCountprotected java.lang.LongtotalsRowDxfIdprotected java.lang.BooleantotalsRowShown -
Constructor Summary
Constructors Constructor Description CTTable() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTAutoFiltergetAutoFilter()Gets the value of the autoFilter property.java.lang.StringgetComment()Gets the value of the comment property.java.lang.LonggetConnectionId()Gets the value of the connectionId property.java.lang.StringgetDataCellStyle()Gets the value of the dataCellStyle property.java.lang.LonggetDataDxfId()Gets the value of the dataDxfId property.java.lang.StringgetDisplayName()Gets the value of the displayName property.CTExtensionListgetExtLst()Gets the value of the extLst property.java.lang.LonggetHeaderRowBorderDxfId()Gets the value of the headerRowBorderDxfId property.java.lang.StringgetHeaderRowCellStyle()Gets the value of the headerRowCellStyle property.longgetHeaderRowCount()Gets the value of the headerRowCount property.java.lang.LonggetHeaderRowDxfId()Gets the value of the headerRowDxfId property.longgetId()Gets the value of the id property.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRef()Gets the value of the ref property.CTSortStategetSortState()Gets the value of the sortState property.java.lang.LonggetTableBorderDxfId()Gets the value of the tableBorderDxfId property.CTTableColumnsgetTableColumns()Gets the value of the tableColumns property.CTTableStyleInfogetTableStyleInfo()Gets the value of the tableStyleInfo property.STTableTypegetTableType()Gets the value of the tableType property.java.lang.LonggetTotalsRowBorderDxfId()Gets the value of the totalsRowBorderDxfId property.java.lang.StringgetTotalsRowCellStyle()Gets the value of the totalsRowCellStyle property.longgetTotalsRowCount()Gets the value of the totalsRowCount property.java.lang.LonggetTotalsRowDxfId()Gets the value of the totalsRowDxfId property.booleanisInsertRow()Gets the value of the insertRow property.booleanisInsertRowShift()Gets the value of the insertRowShift property.booleanisPublished()Gets the value of the published property.booleanisTotalsRowShown()Gets the value of the totalsRowShown property.voidsetAutoFilter(CTAutoFilter value)Sets the value of the autoFilter property.voidsetComment(java.lang.String value)Sets the value of the comment property.voidsetConnectionId(java.lang.Long value)Sets the value of the connectionId property.voidsetDataCellStyle(java.lang.String value)Sets the value of the dataCellStyle property.voidsetDataDxfId(java.lang.Long value)Sets the value of the dataDxfId property.voidsetDisplayName(java.lang.String value)Sets the value of the displayName property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetHeaderRowBorderDxfId(java.lang.Long value)Sets the value of the headerRowBorderDxfId property.voidsetHeaderRowCellStyle(java.lang.String value)Sets the value of the headerRowCellStyle property.voidsetHeaderRowCount(java.lang.Long value)Sets the value of the headerRowCount property.voidsetHeaderRowDxfId(java.lang.Long value)Sets the value of the headerRowDxfId property.voidsetId(long value)Sets the value of the id property.voidsetInsertRow(java.lang.Boolean value)Sets the value of the insertRow property.voidsetInsertRowShift(java.lang.Boolean value)Sets the value of the insertRowShift property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetPublished(java.lang.Boolean value)Sets the value of the published property.voidsetRef(java.lang.String value)Sets the value of the ref property.voidsetSortState(CTSortState value)Sets the value of the sortState property.voidsetTableBorderDxfId(java.lang.Long value)Sets the value of the tableBorderDxfId property.voidsetTableColumns(CTTableColumns value)Sets the value of the tableColumns property.voidsetTableStyleInfo(CTTableStyleInfo value)Sets the value of the tableStyleInfo property.voidsetTableType(STTableType value)Sets the value of the tableType property.voidsetTotalsRowBorderDxfId(java.lang.Long value)Sets the value of the totalsRowBorderDxfId property.voidsetTotalsRowCellStyle(java.lang.String value)Sets the value of the totalsRowCellStyle property.voidsetTotalsRowCount(java.lang.Long value)Sets the value of the totalsRowCount property.voidsetTotalsRowDxfId(java.lang.Long value)Sets the value of the totalsRowDxfId property.voidsetTotalsRowShown(java.lang.Boolean value)Sets the value of the totalsRowShown property.
-
Field Details
-
autoFilter
-
sortState
-
tableColumns
-
tableStyleInfo
-
extLst
-
id
protected long id -
name
protected java.lang.String name -
displayName
protected java.lang.String displayName -
comment
protected java.lang.String comment -
ref
protected java.lang.String ref -
tableType
-
headerRowCount
protected java.lang.Long headerRowCount -
insertRow
protected java.lang.Boolean insertRow -
insertRowShift
protected java.lang.Boolean insertRowShift -
totalsRowCount
protected java.lang.Long totalsRowCount -
totalsRowShown
protected java.lang.Boolean totalsRowShown -
published
protected java.lang.Boolean published -
headerRowDxfId
protected java.lang.Long headerRowDxfId -
dataDxfId
protected java.lang.Long dataDxfId -
totalsRowDxfId
protected java.lang.Long totalsRowDxfId -
headerRowBorderDxfId
protected java.lang.Long headerRowBorderDxfId -
tableBorderDxfId
protected java.lang.Long tableBorderDxfId -
totalsRowBorderDxfId
protected java.lang.Long totalsRowBorderDxfId -
headerRowCellStyle
protected java.lang.String headerRowCellStyle -
dataCellStyle
protected java.lang.String dataCellStyle -
totalsRowCellStyle
protected java.lang.String totalsRowCellStyle -
connectionId
protected java.lang.Long connectionId
-
-
Constructor Details
-
CTTable
public CTTable()
-
-
Method Details
-
getAutoFilter
Gets the value of the autoFilter property.- Returns:
- possible object is
CTAutoFilter
-
setAutoFilter
Sets the value of the autoFilter property.- Parameters:
value- allowed object isCTAutoFilter
-
getSortState
Gets the value of the sortState property.- Returns:
- possible object is
CTSortState
-
setSortState
Sets the value of the sortState property.- Parameters:
value- allowed object isCTSortState
-
getTableColumns
Gets the value of the tableColumns property.- Returns:
- possible object is
CTTableColumns
-
setTableColumns
Sets the value of the tableColumns property.- Parameters:
value- allowed object isCTTableColumns
-
getTableStyleInfo
Gets the value of the tableStyleInfo property.- Returns:
- possible object is
CTTableStyleInfo
-
setTableStyleInfo
Sets the value of the tableStyleInfo property.- Parameters:
value- allowed object isCTTableStyleInfo
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getId
public long getId()Gets the value of the id property. -
setId
public void setId(long value)Sets the value of the id property. -
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDisplayName
public java.lang.String getDisplayName()Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
public void setDisplayName(java.lang.String value)Sets the value of the displayName property.- Parameters:
value- allowed object isString
-
getComment
public java.lang.String getComment()Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(java.lang.String value)Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getRef
public java.lang.String getRef()Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
public void setRef(java.lang.String value)Sets the value of the ref property.- Parameters:
value- allowed object isString
-
getTableType
Gets the value of the tableType property.- Returns:
- possible object is
STTableType
-
setTableType
Sets the value of the tableType property.- Parameters:
value- allowed object isSTTableType
-
getHeaderRowCount
public long getHeaderRowCount()Gets the value of the headerRowCount property.- Returns:
- possible object is
Long
-
setHeaderRowCount
public void setHeaderRowCount(java.lang.Long value)Sets the value of the headerRowCount property.- Parameters:
value- allowed object isLong
-
isInsertRow
public boolean isInsertRow()Gets the value of the insertRow property.- Returns:
- possible object is
Boolean
-
setInsertRow
public void setInsertRow(java.lang.Boolean value)Sets the value of the insertRow property.- Parameters:
value- allowed object isBoolean
-
isInsertRowShift
public boolean isInsertRowShift()Gets the value of the insertRowShift property.- Returns:
- possible object is
Boolean
-
setInsertRowShift
public void setInsertRowShift(java.lang.Boolean value)Sets the value of the insertRowShift property.- Parameters:
value- allowed object isBoolean
-
getTotalsRowCount
public long getTotalsRowCount()Gets the value of the totalsRowCount property.- Returns:
- possible object is
Long
-
setTotalsRowCount
public void setTotalsRowCount(java.lang.Long value)Sets the value of the totalsRowCount property.- Parameters:
value- allowed object isLong
-
isTotalsRowShown
public boolean isTotalsRowShown()Gets the value of the totalsRowShown property.- Returns:
- possible object is
Boolean
-
setTotalsRowShown
public void setTotalsRowShown(java.lang.Boolean value)Sets the value of the totalsRowShown property.- Parameters:
value- allowed object isBoolean
-
isPublished
public boolean isPublished()Gets the value of the published property.- Returns:
- possible object is
Boolean
-
setPublished
public void setPublished(java.lang.Boolean value)Sets the value of the published property.- Parameters:
value- allowed object isBoolean
-
getHeaderRowDxfId
public java.lang.Long getHeaderRowDxfId()Gets the value of the headerRowDxfId property.- Returns:
- possible object is
Long
-
setHeaderRowDxfId
public void setHeaderRowDxfId(java.lang.Long value)Sets the value of the headerRowDxfId property.- Parameters:
value- allowed object isLong
-
getDataDxfId
public java.lang.Long getDataDxfId()Gets the value of the dataDxfId property.- Returns:
- possible object is
Long
-
setDataDxfId
public void setDataDxfId(java.lang.Long value)Sets the value of the dataDxfId property.- Parameters:
value- allowed object isLong
-
getTotalsRowDxfId
public java.lang.Long getTotalsRowDxfId()Gets the value of the totalsRowDxfId property.- Returns:
- possible object is
Long
-
setTotalsRowDxfId
public void setTotalsRowDxfId(java.lang.Long value)Sets the value of the totalsRowDxfId property.- Parameters:
value- allowed object isLong
-
getHeaderRowBorderDxfId
public java.lang.Long getHeaderRowBorderDxfId()Gets the value of the headerRowBorderDxfId property.- Returns:
- possible object is
Long
-
setHeaderRowBorderDxfId
public void setHeaderRowBorderDxfId(java.lang.Long value)Sets the value of the headerRowBorderDxfId property.- Parameters:
value- allowed object isLong
-
getTableBorderDxfId
public java.lang.Long getTableBorderDxfId()Gets the value of the tableBorderDxfId property.- Returns:
- possible object is
Long
-
setTableBorderDxfId
public void setTableBorderDxfId(java.lang.Long value)Sets the value of the tableBorderDxfId property.- Parameters:
value- allowed object isLong
-
getTotalsRowBorderDxfId
public java.lang.Long getTotalsRowBorderDxfId()Gets the value of the totalsRowBorderDxfId property.- Returns:
- possible object is
Long
-
setTotalsRowBorderDxfId
public void setTotalsRowBorderDxfId(java.lang.Long value)Sets the value of the totalsRowBorderDxfId property.- Parameters:
value- allowed object isLong
-
getHeaderRowCellStyle
public java.lang.String getHeaderRowCellStyle()Gets the value of the headerRowCellStyle property.- Returns:
- possible object is
String
-
setHeaderRowCellStyle
public void setHeaderRowCellStyle(java.lang.String value)Sets the value of the headerRowCellStyle property.- Parameters:
value- allowed object isString
-
getDataCellStyle
public java.lang.String getDataCellStyle()Gets the value of the dataCellStyle property.- Returns:
- possible object is
String
-
setDataCellStyle
public void setDataCellStyle(java.lang.String value)Sets the value of the dataCellStyle property.- Parameters:
value- allowed object isString
-
getTotalsRowCellStyle
public java.lang.String getTotalsRowCellStyle()Gets the value of the totalsRowCellStyle property.- Returns:
- possible object is
String
-
setTotalsRowCellStyle
public void setTotalsRowCellStyle(java.lang.String value)Sets the value of the totalsRowCellStyle property.- Parameters:
value- allowed object isString
-
getConnectionId
public java.lang.Long getConnectionId()Gets the value of the connectionId property.- Returns:
- possible object is
Long
-
setConnectionId
public void setConnectionId(java.lang.Long value)Sets the value of the connectionId property.- Parameters:
value- allowed object isLong
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-