diff options
Diffstat (limited to 'offapi/com/sun/star/sheet/XScenarios.idl')
-rw-r--r-- | offapi/com/sun/star/sheet/XScenarios.idl | 119 |
1 files changed, 54 insertions, 65 deletions
diff --git a/offapi/com/sun/star/sheet/XScenarios.idl b/offapi/com/sun/star/sheet/XScenarios.idl index 5c155419f..5a0fadae4 100644 --- a/offapi/com/sun/star/sheet/XScenarios.idl +++ b/offapi/com/sun/star/sheet/XScenarios.idl @@ -2,9 +2,9 @@ * * $RCSfile: XScenarios.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jsc $ $Date: 2001-03-16 16:41:38 $ + * last change: $Author: mi $ $Date: 2002-10-03 13:08:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,72 +58,61 @@ * * ************************************************************************/ -#ifndef __com_sun_star_sheet_XScenarios_idl__ -#define __com_sun_star_sheet_XScenarios_idl__ - -#ifndef __com_sun_star_container_XNameAccess_idl__ -#include <com/sun/star/container/XNameAccess.idl> -#endif - -#ifndef __com_sun_star_table_CellRangeAddress_idl__ -#include <com/sun/star/table/CellRangeAddress.idl> -#endif - - -//============================================================================= - - module com { module sun { module star { module sheet { - -//============================================================================= - -// DocMerge from xml: interface com::sun::star::sheet::XScenarios -/** represents a collection of scenarios.@see com::sun::star::sheet::Scenarios + +#ifndef __com_sun_star_sheet_XScenarios_idl__ +#define __com_sun_star_sheet_XScenarios_idl__ + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + +#ifndef __com_sun_star_table_CellRangeAddress_idl__ +#include <com/sun/star/table/CellRangeAddress.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module sheet { + +//============================================================================= + +/** provides access via name to the scenarios in a collection and inserting + and removing scenarios. + + @see com::sun::star::sheet::Scenarios + @see com::sun::star::sheet::Spreadsheet */ interface XScenarios: com::sun::star::container::XNameAccess -{ - //------------------------------------------------------------------------- - - // DocMerge from xml: method com::sun::star::sheet::XScenarios::addNewByName +{ + //------------------------------------------------------------------------- + /** creates a new scenario and adds it to the collection. + + @param aName + the name of the scenario (used i.e. for collection access). + + @param aRanges + the cell ranges contained in the scenario. + + @param aComment + the user defined comment for the scenario. */ - void addNewByName( [in] string aName, - [in] sequence<com::sun::star::table::CellRangeAddress> aRanges, - [in] string aComment ); - - //------------------------------------------------------------------------- - - // DocMerge from xml: method com::sun::star::sheet::XScenarios::removeByName + void addNewByName( + [in] string aName, + [in] sequence< com::sun::star::table::CellRangeAddress > aRanges, + [in] string aComment ); + + //------------------------------------------------------------------------- + /** removes a scenario from the collection. */ - void removeByName( [in] string aName ); - -}; - -//============================================================================= - -}; }; }; }; - -/*============================================================================= - - $Log: not supported by cvs2svn $ - Revision 1.4 2000/12/21 08:35:12 mi - @see interface/service/... ident -> @see ident - for new docu generator - - Revision 1.3 2000/11/08 12:43:47 mi - moved from api - - Revision 1.2 2000/10/09 14:24:58 mi - #78715# exchanged stardiv::... by com::sun::star::... (especially in @see tags) - - Revision 1.1.1.1 2000/09/18 23:35:51 hjs - initial import - - Revision 1.3 2000/09/11 11:52:52 mi - documentation merged from XML - - Revision 1.1.1.1 1999/11/11 09:48:45 jsc - new - - -=============================================================================*/ -#endif + void removeByName( [in] string aName ); + +}; + +//============================================================================= + +}; }; }; }; + +#endif + |