diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-13 09:20:30 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-13 09:20:30 +0100 |
commit | 3f751c7fa02862356c6ea03ea3af311cd1f26943 (patch) | |
tree | 484c3063287d937dc82290ffac283b96549cfe1c /offapi/com/sun/star | |
parent | 59162c85c269e247dc0c07fabb8b67d361d6392c (diff) |
split into one file for each interface/service
This is the way gbuild's UnoApi class keeps track of which header files
are there to be delivered.
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r-- | offapi/com/sun/star/sheet/addin/Analysis.idl | 59 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/addin/DateFunctions.idl | 59 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/addin/XAnalysis.idl (renamed from offapi/com/sun/star/scaddins/analysisadd.idl) | 22 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/addin/XCompatibilityNames.idl | 58 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/addin/XDateFunctions.idl (renamed from offapi/com/sun/star/scaddins/dateadd.idl) | 28 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/addin/XMiscFunctions.idl | 62 |
6 files changed, 247 insertions, 41 deletions
diff --git a/offapi/com/sun/star/sheet/addin/Analysis.idl b/offapi/com/sun/star/sheet/addin/Analysis.idl new file mode 100644 index 000000000000..2e1ad523e615 --- /dev/null +++ b/offapi/com/sun/star/sheet/addin/Analysis.idl @@ -0,0 +1,59 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org 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 version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef com_sun_star_sheet_addin_Analysis_idl +#define com_sun_star_sheet_addin_Analysis_idl + +#include <com/sun/star/sheet/addin/XAnalysis.idl> +#include <com/sun/star/sheet/addin/XCompatibilityNames.idl> + +module com +{ +module sun +{ +module star +{ +module sheet +{ +module addin +{ + service Analysis + { + // exported interfaces: + interface XCompatibilityNames; + interface XAnalysis; + }; +}; +}; +}; +}; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/sheet/addin/DateFunctions.idl b/offapi/com/sun/star/sheet/addin/DateFunctions.idl new file mode 100644 index 000000000000..5411284b94f9 --- /dev/null +++ b/offapi/com/sun/star/sheet/addin/DateFunctions.idl @@ -0,0 +1,59 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* +* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org 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 version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * +************************************************************************/ + +#ifndef com_sun_star_sheet_addin_DateFunctions_idl +#define com_sun_star_sheet_addin_DateFunctions_idl + +#include <com/sun/star/sheet/addin/XDateFunctions.idl> +#include <com/sun/star/sheet/addin/XMiscFunctions.idl> + +module com +{ +module sun +{ +module star +{ +module sheet +{ +module addin +{ + service DateFunctions + { + // exported interfaces: + interface XDateFunctions; + interface XMiscFunctions; + }; +}; +}; +}; +}; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/scaddins/analysisadd.idl b/offapi/com/sun/star/sheet/addin/XAnalysis.idl index 88ab78aada0d..1cb001851aaf 100644 --- a/offapi/com/sun/star/scaddins/analysisadd.idl +++ b/offapi/com/sun/star/sheet/addin/XAnalysis.idl @@ -26,13 +26,12 @@ * ************************************************************************/ -#ifndef __com_sun_star_sheet_NoConvergenceException_idl__ -#include <com/sun/star/sheet/NoConvergenceException.idl> -#endif +#ifndef com_sun_star_sheet_addin_XAnalysis_idl +#define com_sun_star_sheet_addin_XAnalysis_idl #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/beans/XPropertySet.idl> -#include <com/sun/star/sheet/LocalizedName.idl> +#include <com/sun/star/sheet/NoConvergenceException.idl> module com { @@ -44,12 +43,6 @@ module sheet { module addin { - interface XCompatibilityNames : com::sun::star::uno::XInterface - { - /// getCompatibilityNames. - sequence< com::sun::star::sheet::LocalizedName > getCompatibilityNames ( [in] string aProgrammaticName ); - }; - /** * Interface with analysis functions. */ @@ -580,17 +573,12 @@ module addin double getFvschedule( [in] double Principal, [in] sequence< sequence< double > > Schedule ) raises( com::sun::star::lang::IllegalArgumentException ); }; - - service Analysis - { - // exported interfaces: - interface XCompatibilityNames; - interface XAnalysis; - }; }; }; }; }; }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/sheet/addin/XCompatibilityNames.idl b/offapi/com/sun/star/sheet/addin/XCompatibilityNames.idl new file mode 100644 index 000000000000..fade59e835b3 --- /dev/null +++ b/offapi/com/sun/star/sheet/addin/XCompatibilityNames.idl @@ -0,0 +1,58 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* +* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org 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 version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * +************************************************************************/ + +#ifndef com_sun_star_sheet_addin_XCompatibilityNames_idl +#define com_sun_star_sheet_addin_XCompatibilityNames_idl + +#include <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/sheet/LocalizedName.idl> + +module com +{ +module sun +{ +module star +{ +module sheet +{ +module addin +{ + interface XCompatibilityNames : com::sun::star::uno::XInterface + { + /// @return a sequence with all localized names for a programmatic name + sequence< com::sun::star::sheet::LocalizedName > getCompatibilityNames ( [in] string aProgrammaticName ); + }; +}; +}; +}; +}; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/scaddins/dateadd.idl b/offapi/com/sun/star/sheet/addin/XDateFunctions.idl index 3c88517bef49..773a1ff67f57 100644 --- a/offapi/com/sun/star/scaddins/dateadd.idl +++ b/offapi/com/sun/star/sheet/addin/XDateFunctions.idl @@ -26,10 +26,11 @@ * ************************************************************************/ +#ifndef com_sun_star_sheet_addin_XDateFunctions_idl +#define com_sun_star_sheet_addin_XDateFunctions_idl #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/beans/XPropertySet.idl> -#include <com/sun/star/sheet/LocalizedName.idl> module com { @@ -41,12 +42,6 @@ module sheet { module addin { - interface XCompatibilityNames : com::sun::star::uno::XInterface - { - /// @return a sequence with all localized names for a programmatic name - sequence< com::sun::star::sheet::LocalizedName > getCompatibilityNames ( [in] string aProgrammaticName ); - }; - /** * Interface with date functions. */ @@ -94,27 +89,12 @@ module addin [in] long nDate ) raises( com::sun::star::lang::IllegalArgumentException ); }; - - /** - * Interface with miscellaneous functions. - */ - interface XMiscFunctions : com::sun::star::uno::XInterface - { - /// Encrypts or decrypts a string using the ROT13 algorithm. - string getRot13( [in] string aSrcString ) - raises( com::sun::star::lang::IllegalArgumentException ); - }; - - service DateFunctions - { - // exported interfaces: - interface XDateFunctions; - interface XMiscFunctions; - }; }; }; }; }; }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/sheet/addin/XMiscFunctions.idl b/offapi/com/sun/star/sheet/addin/XMiscFunctions.idl new file mode 100644 index 000000000000..dd5189cc401f --- /dev/null +++ b/offapi/com/sun/star/sheet/addin/XMiscFunctions.idl @@ -0,0 +1,62 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* +* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org 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 version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * +************************************************************************/ + +#ifndef com_sun_star_sheet_addin_XMiscFunctions_idl +#define com_sun_star_sheet_addin_XMiscFunctions_idl + +#include <com/sun/star/lang/IllegalArgumentException.idl> +#include <com/sun/star/uno/XInterface.idl> + +module com +{ +module sun +{ +module star +{ +module sheet +{ +module addin +{ + /** + * Interface with miscellaneous functions. + */ + interface XMiscFunctions : com::sun::star::uno::XInterface + { + /// Encrypts or decrypts a string using the ROT13 algorithm. + string getRot13( [in] string aSrcString ) + raises( com::sun::star::lang::IllegalArgumentException ); + }; +}; +}; +}; +}; +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |