26 namespace oox {
class AttributeList; }
27 namespace oox {
class SequenceInputStream; }
Helper class to provide access to global workbook data.
void finalizeImport()
Creates all scenarios in the Calc sheet.
Scenario & createScenario()
Creates and returns a new scenario in this collection.
ScenarioModel maModel
Scenario cells.
void finalizeImport()
Creates the scenario in the Calc document.
bool mbLocked
Name of user created the scenario.
std::vector< ScenarioCellModel > maCells
Scenario(const WorkbookHelper &rHelper, sal_Int16 nSheet, bool bIsActive)
bool mbHidden
True = input cell values locked.
void importScenario(const AttributeList &rAttribs)
Imports a scenario definition from a scenario element.
void importInputCells(const AttributeList &rAttribs)
Imports a new cell for this scenario from an inputCells element.
SheetScenarios & createSheetScenarios(sal_Int16 nSheet)
Creates and returns a scenario collection for the passed sheet.
RefMap< sal_Int16, SheetScenarios,::std::greater< sal_Int16 > > SheetScenariosMap
sal_Int32 mnShown
Selected scenario.
ScenarioBuffer(const WorkbookHelper &rHelper)
void importScenarios(const AttributeList &rAttribs)
Imports sheet scenario settings from a scenarios element.
void finalizeImport()
Creates all scenarios in the Calc document.
SheetScenariosModel maModel
SheetScenarios(const WorkbookHelper &rHelper, sal_Int16 nSheet)
ScenarioVector maScenarios
OUString maComment
Name of the scenario.
bool mbActive
True = scenario is hidden.
SheetScenariosMap maSheetScenarios
SheetScenariosModel()
Visible scenario.
sal_Int16 mnSheet
Scenario model data.
RefVector< Scenario > ScenarioVector