diff options
-rw-r--r-- | offapi/com/sun/star/sheet/AddIn.idl | 15 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/LocalizedName.idl | 91 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/XCompatibilityNames.idl | 98 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/makefile.mk | 6 |
4 files changed, 206 insertions, 4 deletions
diff --git a/offapi/com/sun/star/sheet/AddIn.idl b/offapi/com/sun/star/sheet/AddIn.idl index b2720304e..dd6e8936f 100644 --- a/offapi/com/sun/star/sheet/AddIn.idl +++ b/offapi/com/sun/star/sheet/AddIn.idl @@ -2,9 +2,9 @@ * * $RCSfile: AddIn.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mi $ $Date: 2000-12-19 13:59:41 $ + * last change: $Author: nn $ $Date: 2001-02-19 19:52:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,6 +69,10 @@ #include <com/sun/star/sheet/XAddIn.idl> #endif +#ifndef __com_sun_star_sheet_XCompatibilityNames_idl__ +#include <com/sun/star/sheet/XCompatibilityNames.idl> +#endif + //============================================================================= @@ -213,6 +217,10 @@ service AddIn // DocMerge: empty anyway interface com::sun::star::sheet::XAddIn; + /** This optional interface gives access to compatibility names for + the functions. + */ + [optional] interface com::sun::star::sheet::XCompatibilityNames; }; //============================================================================= @@ -222,6 +230,9 @@ service AddIn /*============================================================================= $Log: not supported by cvs2svn $ + Revision 1.5 2000/12/19 13:59:41 mi + syntax errors in documentation fixed + Revision 1.4 2000/12/19 13:13:17 mi no dim='[][]' anymore for new document generator diff --git a/offapi/com/sun/star/sheet/LocalizedName.idl b/offapi/com/sun/star/sheet/LocalizedName.idl new file mode 100644 index 000000000..31fcbd874 --- /dev/null +++ b/offapi/com/sun/star/sheet/LocalizedName.idl @@ -0,0 +1,91 @@ +/************************************************************************* + * + * $RCSfile: LocalizedName.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: nn $ $Date: 2001-02-19 19:52:39 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sheet_LocalizedName_idl__ +#define __com_sun_star_sheet_LocalizedName_idl__ + +#ifndef __com_sun_star_lang_Locale_idl__ +#include <com/sun/star/lang/Locale.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module sheet { + +//============================================================================= + +/** A name that is valid for a specified locale. + */ +struct LocalizedName +{ + /// The locale for which this name is valid. + ::com::sun::star::lang::Locale Locale; + + /// The name itself. + string Name; +}; + +//============================================================================= + +}; }; }; }; + +#endif + diff --git a/offapi/com/sun/star/sheet/XCompatibilityNames.idl b/offapi/com/sun/star/sheet/XCompatibilityNames.idl new file mode 100644 index 000000000..3037b5d16 --- /dev/null +++ b/offapi/com/sun/star/sheet/XCompatibilityNames.idl @@ -0,0 +1,98 @@ +/************************************************************************* + * + * $RCSfile: XCompatibilityNames.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: nn $ $Date: 2001-02-19 19:52:39 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sheet_XCompatibilityNames_idl__ +#define __com_sun_star_sheet_XCompatibilityNames_idl__ + +#ifndef __com_sun_star_sheet_LocalizedName_idl__ +#include <com/sun/star/sheet/LocalizedName.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module sheet { + +//============================================================================= + +/** gives access to an AddIn's compatibility names. + */ +[ uik(37BBBE81-0673-11d5-A02F0050-04D75D79), ident( "XCompatibilityNames", 1.0 ) ] +interface XCompatibilityNames: com::sun::star::uno::XInterface +{ + /** returns the compatibility names of the function. + + <p>The compatibility names are used for import and export to other + applications. They may be locale-dependent. + The default name for each locale must be the first for that locale. + The first entry in the sequence must be for the default + locale (used for a locale that is not in the list). + If a function doesn't have any compatibility names, + the returned sequence is empty.</p> + */ + sequence<LocalizedName> getCompatibilityNames( [in] string aProgrammaticName ); +}; + +//============================================================================= + +}; }; }; }; + +#endif + diff --git a/offapi/com/sun/star/sheet/makefile.mk b/offapi/com/sun/star/sheet/makefile.mk index c7287e0de..2f9ad1611 100644 --- a/offapi/com/sun/star/sheet/makefile.mk +++ b/offapi/com/sun/star/sheet/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.4 $ +# $Revision: 1.5 $ # -# last change: $Author: nn $ $Date: 2000-11-09 19:50:08 $ +# last change: $Author: nn $ $Date: 2001-02-19 19:52:39 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -132,6 +132,7 @@ IDLFILES=\ HeaderFooterContent.idl\ LabelRange.idl\ LabelRanges.idl\ + LocalizedName.idl\ MemberResult.idl\ MemberResultFlags.idl\ NamedRange.idl\ @@ -187,6 +188,7 @@ IDLFILES=\ XCellRangeReferrer.idl\ XCellRangesQuery.idl\ XCellSeries.idl\ + XCompatibilityNames.idl\ XConsolidatable.idl\ XConsolidationDescriptor.idl\ XDatabaseRange.idl\ |