27namespace oox {
class SequenceInputStream; }
28namespace oox {
class AttributeList; }
Helper class to provide access to global workbook data.
Stores information about all sheets in a spreadsheet document.
void convertSheetNameRef(OUString &sSheetNameRef) const
Converts sSheetNameRef (e.g.
RefVector< SheetInfo > maSheetInfos
OUString getWorksheetRelId(sal_Int32 nWorksheet) const
Returns the OOXML relation identifier of the specified worksheet.
OUString getCalcSheetName(sal_Int32 nWorksheet) const
Returns the finalized name of the specified worksheet.
IndexNamePair createSheet(const OUString &rPreferredName, sal_Int32 nSheetPos)
Creates a new sheet in the Calc document.
sal_Int32 getWorksheetCount() const
Returns the number of original sheets contained in the workbook.
sal_Int16 getCalcSheetIndex(sal_Int32 nWorksheet) const
Returns the Calc index of the specified worksheet.
::std::pair< sal_Int16, OUString > IndexNamePair
void importSheet(const AttributeList &rAttribs)
Imports the attributes of a sheet element.
RefMap< OUString, SheetInfo, IgnoreCaseCompare > maSheetInfosByName
sal_Int16 insertEmptySheet(const OUString &rPreferredName)
Inserts a new empty sheet into the document.
sal_Int32 getAllSheetCount() const
Returns the number of all sheets, workbook + dummy ones (pivot table cache records )
WorksheetBuffer(const WorkbookHelper &rHelper)
void finalizeImport(sal_Int16 nActiveSheet)
void insertSheet(const SheetInfoModel &rModel)
Creates a new sheet in the Calc document and inserts the related SheetInfo.
Contains data from the 'sheet' element describing a sheet in the workbook.
SheetInfoModel()
Visibility state.
OUString maName
Relation identifier for the sheet substream.
sal_Int32 mnState
Sheet identifier.
sal_Int32 mnSheetId
Original name of the sheet.
OUString maCalcQuotedName
SheetInfo(const SheetInfoModel &rModel, sal_Int16 nCalcSheet, const OUString &rCalcName)