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