24#include <oox/token/namespaces.hxx>
28using ::oox::core::ContextHandlerRef;
32 mrScenario( rSheetScenarios.createScenario() )
38 switch( getCurrentElement() )
40 case XLS_TOKEN( scenario ):
55 switch( getCurrentElement() )
72 mrSheetScenarios( getScenarios().createSheetScenarios( getSheetIndex() ) )
78 switch( getCurrentElement() )
80 case XLS_TOKEN( scenarios ):
95 switch( getCurrentElement() )
106 if( isRootElement() )
virtual void onStartElement(const AttributeList &rAttribs) override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
ScenarioContext(WorksheetContextBase &rParent, SheetScenarios &rSheetScenarios)
virtual void onStartRecord(SequenceInputStream &rStrm) override
void importInputCells(const AttributeList &rAttribs)
Imports a new cell for this scenario from an inputCells element.
void importScenario(const AttributeList &rAttribs)
Imports a scenario definition from a scenario element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
SheetScenarios & mrSheetScenarios
virtual void onStartElement(const AttributeList &rAttribs) override
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
ScenariosContext(WorksheetFragmentBase &rFragment)
virtual void onStartRecord(SequenceInputStream &rStrm) override
void importScenarios(const AttributeList &rAttribs)
Imports sheet scenario settings from a scenarios element.
Context handler derived from the WorksheetHelper helper class.
Fragment handler derived from the WorksheetHelper helper class.
const sal_Int32 BIFF12_ID_SCENARIO
const sal_Int32 BIFF12_ID_INPUTCELLS
const sal_Int32 BIFF12_ID_SCENARIOS