AutoFilter & createAutoFilter()
Creates a new auto filter and stores it internally.
Table & createTable()
Creates a new empty table.
RefVector< Table > TableVector
TableRef getTable(sal_Int32 nTableId) const
Returns a table by its identifier.
void applyTableColumns()
Applies columns names from created database range ( requires finalizeImport to have run before being ...
void applyAutoFilters()
Applies autofilters from created database range ( requires finalizeImport to have run before being ca...
TableBuffer(const WorkbookHelper &rHelper)
RefMap< OUString, Table > maNameTables
void insertTableToMaps(const TableRef &rxTable)
Inserts the passed table into the maps according to its identifier and name.
RefMap< sal_Int32, Table > maIdTables
void finalizeImport()
Creates database ranges from all imported tables.
TableColumns & createTableColumns()
Creates a new table columns object and stores it internally.
SCCOL getWidth() const
Returns the number of columns of this table.
TableColumnsBuffer maTableColumns
Filter settings for this table.
sal_Int32 mnTokenIndex
Validated range of the table in the worksheet.
sal_Int32 getTokenIndex() const
Returns the token index used in API token arrays (com.sun.star.sheet.FormulaToken).
sal_Int32 getHeaderRows() const
Returns the number of header rows in the table range.
void finalizeImport()
Creates a database range from this tables.
OUString maDBRangeName
Column names of this table.
const ScRange & getOriginalRange() const
Returns the original (unchecked) total range of the table.
sal_Int32 getTotalsRows() const
Returns the number of totals rows in the table range.
void importTable(const AttributeList &rAttribs, sal_Int16 nSheet)
Imports a table definition from the passed attributes.
const OUString & getDisplayName() const
Returns the original display name of the table.
TableColumns & createTableColumns()
Creates a new tableColumns handler and stores it internally.
const ScRange & getRange() const
Returns the cell range of this table.
ScRange maDestRange
Name of the database range in the Calc document.
sal_Int32 getTableId() const
Returns the unique table identifier.
SCROW getHeight() const
Returns the number of rows of this table.
AutoFilter & createAutoFilter()
Creates a new auto filter and stores it internally.
AutoFilterBuffer maAutoFilters
Table(const WorkbookHelper &rHelper)
Helper class to provide access to global workbook data.
std::shared_ptr< Table > TableRef
sal_Int32 mnType
Unique table identifier.
OUString maDisplayName
Programmatical name.
OUString maProgName
Original (unchecked) range of the table.
sal_Int32 mnId
Display name.
TableModel()
Number of totals rows.
sal_Int32 mnTotalsRows
Number of header rows.
sal_Int32 mnHeaderRows
Table type (worksheet, query, etc.).