ListObject

Overview

ListObject is a class in Aspose.Cells FOSS for Java.

Represents an Excel table (structured reference / ListObject).

This class declares 29 methods for ListObject objects in Java programs. Available methods include: convertToRange, getComment, getDisplayName, getEndColumn, getEndRow, getListColumns, getStartColumn, getStartRow, getTableStyleName, getTableStyleType, isShowHeaderRow, isShowTableStyleColumnStripes, and 17 additional methods. Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: comment, displayName, endColumn, endRow, listColumns, showHeaderRow, and 9 more.

Properties

NameTypeAccessDescription
displayNameStringRead/WriteGets or sets the display name.
commentStringRead/WriteGets or sets the comment.
startRowintReadGets the start row.
startColumnintReadGets the start column.
endRowintReadGets the end row.
endColumnintReadGets the end column.
showHeaderRowbooleanRead/WriteGets or sets the show header row.
showTotalsbooleanRead/WriteGets or sets the show totals.
tableStyleTypeTableStyleTypeRead/WriteGets or sets the table style type.
tableStyleNameStringRead/WriteGets or sets the table style name.
showTableStyleFirstColumnbooleanRead/WriteGets or sets the show table style first column.
showTableStyleLastColumnbooleanRead/WriteGets or sets the show table style last column.
showTableStyleRowStripesbooleanRead/WriteGets or sets the show table style row stripes.
showTableStyleColumnStripesbooleanRead/WriteGets or sets the show table style column stripes.
listColumnsListColumnCollectionReadGets the list columns.

Methods

SignatureDescription
getDisplayName() → StringReturns the display name.
setDisplayName(name: String)Sets the display name value.
getComment() → StringReturns the comment.
setComment(comment: String)Sets the comment value.
getStartRow() → intReturns the start row.
getStartColumn() → intReturns the start column.
getEndRow() → intReturns the end row.
getEndColumn() → intReturns the end column.
isShowHeaderRow() → booleanReturns true if show header row is set.
setShowHeaderRow(show: boolean)Sets the show header row value.
isShowTotals() → booleanReturns true if show totals is set.
setShowTotals(show: boolean)Sets the show totals value.
getTableStyleType() → TableStyleTypeReturns the table style type.
setTableStyleType(type: TableStyleType)Sets the table style type value.
getTableStyleName() → StringReturns the table style name.
setTableStyleName(name: String)Sets the table style name value.
isShowTableStyleFirstColumn() → booleanReturns true if show table style first column is set.
setShowTableStyleFirstColumn(v: boolean)Sets the show table style first column value.
isShowTableStyleLastColumn() → booleanReturns true if show table style last column is set.
setShowTableStyleLastColumn(v: boolean)Sets the show table style last column value.
isShowTableStyleRowStripes() → booleanReturns true if show table style row stripes is set.
setShowTableStyleRowStripes(v: boolean)Sets the show table style row stripes value.
isShowTableStyleColumnStripes() → booleanReturns true if show table style column stripes is set.
setShowTableStyleColumnStripes(v: boolean)Sets the show table style column stripes value.
getListColumns() → ListColumnCollectionReturns the list columns.
resize(startRow: int, startColumn: int, endRow: int, endColumn: int, hasHeaders: boolean)Resizes the table to a new range, optionally preserving/removing header row.
showAutoFilter()Calls showAutoFilter on this ListObject instance.
removeAutoFilter()Calls removeAutoFilter on this ListObject instance.
convertToRange()Removes the table structure, leaving cell data in place, and removes it from the collection.

See Also

 English