:: com :: sun :: star :: sheet ::

interface XScenarios
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::container::XElementAccess
    |
    +-::com::sun::star::container::XNameAccess
       |
       +-XScenarios
Description
provides access via name to the scenarios in a collection and inserting and removing scenarios.
See also
Scenarios
See also
Spreadsheet
Developers Guide
8.3.11 Spreadsheet Documents - Working with Spreadsheet Documents - Other Table Operations - Scenarios

Methods' Summary
addNewByName creates a new scenario and adds it to the collection.
removeByName removes a scenario from the collection.
Methods' Details
addNewByName
void
addNewByName(
 
[in] string
[in] sequence< ::com::sun::star::table::CellRangeAddress >
[in] string
 
aName,
aRanges,
aComment );

Description
creates a new scenario and adds it to the collection.
Parameter aName
the name of the scenario (used i.e. for collection access).
Parameter aRanges
the cell ranges contained in the scenario.
Parameter aComment
the user defined comment for the scenario.
removeByName
void
removeByName(
 
[in] string
 
aName );

Description
removes a scenario from the collection.
Top of Page