24#include <oox/token/tokens.hxx>
87 "TableColumns::finalizeImport - count attribute doesn't match number of tableColumn elements");
96 aNames[
i] = rxTableColumn->getName();
97 aAttributesVector[
i] = rxTableColumn->getColumnAttributes();
116 return *xTableColumns;
130 "TableColumnsBuffer::getActiveTableColumns - too many table columns" );
SC_DLLPUBLIC void SetTableColumnAttributes(::std::vector< TableColumnAttributes > &&rAttributes)
SC_DLLPUBLIC void SetTableColumnNames(::std::vector< OUString > &&rNames)
OUString getStringDefaulted(sal_Int32 nAttrToken) const
bool hasAttribute(sal_Int32 nAttrToken) const
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
std::optional< OUString > getString(sal_Int32 nAttrToken) const
value_type get(sal_Int32 nIndex) const
container_type::value_type value_type
A column in a table (database range).
TableColumn(const WorkbookHelper &rHelper)
const OUString & getName() const
Gets the name of this column.
TableColumnAttributes maColumnAttributes
void importTableColumn(const AttributeList &rAttribs)
Imports table column settings from the tableColumn element.
const TableColumnAttributes & getColumnAttributes() const
Gets the attributes of this column.
TableColumns * getActiveTableColumns()
Returns the table columns object used.
TableColumnsVector maTableColumnsVector
TableColumnsBuffer(const WorkbookHelper &rHelper)
void finalizeImport(ScDBData *pDBData)
Applies the table columns to the passed database range.
TableColumns & createTableColumns()
Creates a new table columns object and stores it internally.
TableColumns(const WorkbookHelper &rHelper)
bool finalizeImport(ScDBData *pDBData)
Applies the columns to the passed database range.
void importTableColumns(const AttributeList &rAttribs)
Imports settings from the tableColumns element.
TableColumn & createTableColumn()
Creates a new table column and stores it internally.
TableColumnVector maTableColumnVector
Helper class to provide access to global workbook data.
#define SAL_WARN_IF(condition, area, stream)
std::optional< OUString > maTotalsFunction