Class Table
java.lang.Object
com.independentsoft.office.spreadsheet.tables.Table
The Class Table.
-
Constructor Summary
ConstructorsConstructorDescriptionTable()Instantiates a new table.Table(byte[] buffer, Relationship relationship)Instantiates a new table. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the auto filter.Gets the columns.Gets the comment.longGets the connection id.longGets the data area format id.Gets the data cell style.Gets the display name.longGets the header row border format id.Gets the header row cell style.longGets the header row count.longGets the header row format id.longgetID()Gets the id.getName()Gets the name.Gets the query table.Gets the reference.Gets the sort state.getStyle()Gets the style.longGets the table border format id.longGets the totals row border format id.Gets the totals row cell style.longGets the totals row count.longGets the totals row format id.getType()Gets the type.booleanChecks if is insert row shift.booleanChecks if is insert row showing.booleanChecks if is published.booleanChecks if is totals row shown.voidsetAutoFilter(AutoFilter autoFilter)Sets the auto filter.voidsetComment(String comment)Sets the comment.voidsetConnectionID(long connectionID)Sets the connection id.voidsetDataAreaFormatID(long dataAreaFormatID)Sets the data area format id.voidsetDataCellStyle(String dataCellStyle)Sets the data cell style.voidsetDisplayName(String displayName)Sets the display name.voidsetHeaderRowBorderFormatID(long headerRowBorderFormatID)Sets the header row border format id.voidsetHeaderRowCellStyle(String headerRowCellStyle)Sets the header row cell style.voidsetHeaderRowCount(long headerRowCount)Sets the header row count.voidsetHeaderRowFormatID(long headerRowFormatID)Sets the header row format id.voidsetID(long id)Sets the id.voidsetInsertRowShift(boolean insertRowShift)Sets the insert row shift.voidsetInsertRowShowing(boolean insertRowShowing)Sets the insert row showing.voidSets the name.voidsetPublished(boolean published)Sets the published.voidsetQueryTable(QueryTable queryTable)Sets the query table.voidsetReference(String reference)Sets the reference.voidsetSortState(SortState sortState)Sets the sort state.voidsetStyle(TableStyle style)Sets the style.voidsetTableBorderFormatID(long tableBorderFormatID)Sets the table border format id.voidsetTotalsRowBorderFormatID(long totalsRowBorderFormatID)Sets the totals row border format id.voidsetTotalsRowCellStyle(String totalsRowCellStyle)Sets the totals row cell style.voidsetTotalsRowCount(long totalsRowCount)Sets the totals row count.voidsetTotalsRowFormatID(long totalsRowFormatID)Sets the totals row format id.voidsetTotalsRowShown(boolean totalsRowShown)Sets the totals row shown.voidSets the type.toString()
-
Constructor Details
-
Table
public Table()Instantiates a new table. -
Table
Instantiates a new table.- Parameters:
buffer- the bufferrelationship- the relationship- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getAutoFilter
Gets the auto filter.- Returns:
- the auto filter
-
setAutoFilter
Sets the auto filter.- Parameters:
autoFilter- the new auto filter
-
getSortState
Gets the sort state.- Returns:
- the sort state
-
setSortState
Sets the sort state.- Parameters:
sortState- the new sort state
-
getColumns
Gets the columns.- Returns:
- the columns
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getComment
Gets the comment.- Returns:
- the comment
-
setComment
Sets the comment.- Parameters:
comment- the new comment
-
getConnectionID
public long getConnectionID()Gets the connection id.- Returns:
- the connection id
-
setConnectionID
public void setConnectionID(long connectionID)Sets the connection id.- Parameters:
connectionID- the new connection id
-
getDataCellStyle
Gets the data cell style.- Returns:
- the data cell style
-
setDataCellStyle
Sets the data cell style.- Parameters:
dataCellStyle- the new data cell style
-
getDataAreaFormatID
public long getDataAreaFormatID()Gets the data area format id.- Returns:
- the data area format id
-
setDataAreaFormatID
public void setDataAreaFormatID(long dataAreaFormatID)Sets the data area format id.- Parameters:
dataAreaFormatID- the new data area format id
-
getDisplayName
Gets the display name.- Returns:
- the display name
-
setDisplayName
Sets the display name.- Parameters:
displayName- the new display name
-
getHeaderRowBorderFormatID
public long getHeaderRowBorderFormatID()Gets the header row border format id.- Returns:
- the header row border format id
-
setHeaderRowBorderFormatID
public void setHeaderRowBorderFormatID(long headerRowBorderFormatID)Sets the header row border format id.- Parameters:
headerRowBorderFormatID- the new header row border format id
-
getHeaderRowCellStyle
Gets the header row cell style.- Returns:
- the header row cell style
-
setHeaderRowCellStyle
Sets the header row cell style.- Parameters:
headerRowCellStyle- the new header row cell style
-
getHeaderRowCount
public long getHeaderRowCount()Gets the header row count.- Returns:
- the header row count
-
setHeaderRowCount
public void setHeaderRowCount(long headerRowCount)Sets the header row count.- Parameters:
headerRowCount- the new header row count
-
getHeaderRowFormatID
public long getHeaderRowFormatID()Gets the header row format id.- Returns:
- the header row format id
-
setHeaderRowFormatID
public void setHeaderRowFormatID(long headerRowFormatID)Sets the header row format id.- Parameters:
headerRowFormatID- the new header row format id
-
getID
public long getID()Gets the id.- Returns:
- the id
-
setID
public void setID(long id)Sets the id.- Parameters:
id- the new id
-
isInsertRowShowing
public boolean isInsertRowShowing()Checks if is insert row showing.- Returns:
- true, if is insert row showing
-
setInsertRowShowing
public void setInsertRowShowing(boolean insertRowShowing)Sets the insert row showing.- Parameters:
insertRowShowing- the new insert row showing
-
isInsertRowShift
public boolean isInsertRowShift()Checks if is insert row shift.- Returns:
- true, if is insert row shift
-
setInsertRowShift
public void setInsertRowShift(boolean insertRowShift)Sets the insert row shift.- Parameters:
insertRowShift- the new insert row shift
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
isPublished
public boolean isPublished()Checks if is published.- Returns:
- true, if is published
-
setPublished
public void setPublished(boolean published)Sets the published.- Parameters:
published- the new published
-
getReference
Gets the reference.- Returns:
- the reference
-
setReference
Sets the reference.- Parameters:
reference- the new reference
-
getTableBorderFormatID
public long getTableBorderFormatID()Gets the table border format id.- Returns:
- the table border format id
-
setTableBorderFormatID
public void setTableBorderFormatID(long tableBorderFormatID)Sets the table border format id.- Parameters:
tableBorderFormatID- the new table border format id
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getTotalsRowBorderFormatID
public long getTotalsRowBorderFormatID()Gets the totals row border format id.- Returns:
- the totals row border format id
-
setTotalsRowBorderFormatID
public void setTotalsRowBorderFormatID(long totalsRowBorderFormatID)Sets the totals row border format id.- Parameters:
totalsRowBorderFormatID- the new totals row border format id
-
getTotalsRowCellStyle
Gets the totals row cell style.- Returns:
- the totals row cell style
-
setTotalsRowCellStyle
Sets the totals row cell style.- Parameters:
totalsRowCellStyle- the new totals row cell style
-
getTotalsRowCount
public long getTotalsRowCount()Gets the totals row count.- Returns:
- the totals row count
-
setTotalsRowCount
public void setTotalsRowCount(long totalsRowCount)Sets the totals row count.- Parameters:
totalsRowCount- the new totals row count
-
getTotalsRowFormatID
public long getTotalsRowFormatID()Gets the totals row format id.- Returns:
- the totals row format id
-
setTotalsRowFormatID
public void setTotalsRowFormatID(long totalsRowFormatID)Sets the totals row format id.- Parameters:
totalsRowFormatID- the new totals row format id
-
isTotalsRowShown
public boolean isTotalsRowShown()Checks if is totals row shown.- Returns:
- true, if is totals row shown
-
setTotalsRowShown
public void setTotalsRowShown(boolean totalsRowShown)Sets the totals row shown.- Parameters:
totalsRowShown- the new totals row shown
-
getQueryTable
Gets the query table.- Returns:
- the query table
-
setQueryTable
Sets the query table.- Parameters:
queryTable- the new query table
-