LibreOffice Module sc (master)  1
Macros | Functions
addincol.cxx File Reference
#include <comphelper/processfactory.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <sfx2/objsh.hxx>
#include <unotools/charclass.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/reflection/XIdlClass.hpp>
#include <com/sun/star/beans/XIntrospectionAccess.hpp>
#include <com/sun/star/beans/theIntrospection.hpp>
#include <com/sun/star/beans/MethodConcept.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/table/XCellRange.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/sheet/XCompatibilityNames.hpp>
#include <com/sun/star/sheet/NoConvergenceException.hpp>
#include <com/sun/star/sheet/XAddIn.hpp>
#include <com/sun/star/sheet/XVolatileResult.hpp>
#include <addincol.hxx>
#include <addinhelpid.hxx>
#include <scmatrix.hxx>
#include <formula/errorcodes.hxx>
#include <formula/funcvarargs.h>
#include <optutil.hxx>
#include <addincfg.hxx>
#include <scmod.hxx>
#include <rangeseq.hxx>
#include <funcdesc.hxx>
#include <svl/sharedstring.hxx>
#include <formulaopt.hxx>
#include <memory>
Include dependency graph for addincol.cxx:

Go to the source code of this file.

Macros

#define SC_CALLERPOS_NONE   (-1)
 
#define CFGPATH_ADDINS   "Office.CalcAddIns/AddInInfo"
 
#define CFGSTR_ADDINFUNCTIONS   "AddInFunctions"
 
#define CFG_FUNCPROP_DISPLAYNAME   0
 
#define CFG_FUNCPROP_DESCRIPTION   1
 
#define CFG_FUNCPROP_CATEGORY   2
 
#define CFG_FUNCPROP_COUNT   3
 
#define CFGSTR_DISPLAYNAME   "DisplayName"
 
#define CFGSTR_DESCRIPTION   "Description"
 
#define CFGSTR_CATEGORY   "Category"
 
#define CFGSTR_COMPATIBILITYNAME   "CompatibilityName"
 
#define CFGSTR_PARAMETERS   "Parameters"
 

Functions

static sal_uInt16 lcl_GetCategory (const OUString &rName)
 
static bool IsTypeName (std::u16string_view rName, const uno::Type &rType)
 
static bool lcl_ValidReturnType (const uno::Reference< reflection::XIdlClass > &xClass)
 
static ScAddInArgumentType lcl_GetArgType (const uno::Reference< reflection::XIdlClass > &xClass)
 
static void lcl_UpdateFunctionList (const ScFunctionList &rFunctionList, const ScUnoAddInFuncData &rFuncData)
 
static const ScAddInArgDesclcl_FindArgDesc (const ScUnoAddInFuncData &rFuncData, std::u16string_view rArgIntName)
 
template<typename T >
static sal_Int32 lcl_GetMaxColCount (const uno::Sequence< uno::Sequence< T > > *pRowSeq)
 

Macro Definition Documentation

#define CFG_FUNCPROP_CATEGORY   2

Definition at line 327 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFG_FUNCPROP_COUNT   3

Definition at line 328 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFG_FUNCPROP_DESCRIPTION   1

Definition at line 326 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFG_FUNCPROP_DISPLAYNAME   0

Definition at line 325 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGPATH_ADDINS   "Office.CalcAddIns/AddInInfo"

Definition at line 322 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_ADDINFUNCTIONS   "AddInFunctions"

Definition at line 323 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_CATEGORY   "Category"

Definition at line 331 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_COMPATIBILITYNAME   "CompatibilityName"

Definition at line 334 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_DESCRIPTION   "Description"

Definition at line 330 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_DISPLAYNAME   "DisplayName"

Definition at line 329 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define CFGSTR_PARAMETERS   "Parameters"

Definition at line 335 of file addincol.cxx.

Referenced by ScUnoAddInCollection::ReadConfiguration().

#define SC_CALLERPOS_NONE   (-1)

Function Documentation

static bool IsTypeName ( std::u16string_view  rName,
const uno::Type rType 
)
static
static const ScAddInArgDesc* lcl_FindArgDesc ( const ScUnoAddInFuncData rFuncData,
std::u16string_view  rArgIntName 
)
static
static ScAddInArgumentType lcl_GetArgType ( const uno::Reference< reflection::XIdlClass > &  xClass)
static
static sal_uInt16 lcl_GetCategory ( const OUString &  rName)
static
template<typename T >
static sal_Int32 lcl_GetMaxColCount ( const uno::Sequence< uno::Sequence< T > > *  pRowSeq)
static

Definition at line 1425 of file addincol.cxx.

References a.

Referenced by ScUnoAddInCall::SetResult().

static void lcl_UpdateFunctionList ( const ScFunctionList rFunctionList,
const ScUnoAddInFuncData rFuncData 
)
static
static bool lcl_ValidReturnType ( const uno::Reference< reflection::XIdlClass > &  xClass)
static

Definition at line 601 of file addincol.cxx.

References IsTypeName(), and sName.

Referenced by ScUnoAddInCollection::ReadFromAddIn().