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