ListObject

Overview

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

Represents an Excel table (structured reference / ListObject).

This class provides 29 methods for working with ListObject objects in Java programs. Available methods include: convertToRange, getComment, getDisplayName, getEndColumn, getEndRow, getListColumns, getStartColumn, getStartRow, getTableStyleName, getTableStyleType, isShowHeaderRow, isShowTableStyleColumnStripes, and 17 additional methods. All exported 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.

Description

ListObject is a class in the Aspose.Cells FOSS library for Java that exposes 29 methods and 15 properties for programmatic use.

Core capabilities include: string; string; boolean. These operations enable developers to integrate listobject functionality directly into Java applications.

The class also provides the displayName property (gets the display name), the comment property (gets the comment), the startRow property (gets the start row).

Properties

NameTypeAccessDescription
displayNameStringReadGets the display name.
commentStringReadGets the comment.
startRowintReadGets the start row.
startColumnintReadGets the start column.
endRowintReadGets the end row.
endColumnintReadGets the end column.
showHeaderRowbooleanReadGets the show header row.
showTotalsbooleanReadGets the show totals.
tableStyleTypeTableStyleTypeReadGets the table style type.
tableStyleNameStringReadGets the table style name.
showTableStyleFirstColumnbooleanReadGets the show table style first column.
showTableStyleLastColumnbooleanReadGets the show table style last column.
showTableStyleRowStripesbooleanReadGets the show table style row stripes.
showTableStyleColumnStripesbooleanReadGets 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()
removeAutoFilter()
convertToRange()Removes the table structure, leaving cell data in place, and removes it from the collection.

See Also