LibreOffice Module sc (master) 1
|
#include <comphelper/processfactory.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <sfx2/objsh.hxx>
#include <unotools/charclass.hxx>
#include <sal/log.hxx>
#include <o3tl/string_view.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 <compiler.hxx>
#include <document.hxx>
#include <memory>
Go to the source code of this file.
Macros | |
#define | SC_CALLERPOS_NONE (-1) |
#define | CFG_FUNCPROP_DISPLAYNAME 0 |
#define | CFG_FUNCPROP_DESCRIPTION 1 |
#define | CFG_FUNCPROP_CATEGORY 2 |
#define | CFG_FUNCPROP_COUNT 3 |
Functions | |
static sal_uInt16 | lcl_GetCategory (std::u16string_view 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, bool bEnglishFunctionNames) |
static const ScAddInArgDesc * | lcl_FindArgDesc (const ScUnoAddInFuncData &rFuncData, std::u16string_view rArgIntName) |
template<typename T > | |
static sal_Int32 | lcl_GetMaxColCount (const uno::Sequence< uno::Sequence< T > > *pRowSeq) |
Variables | |
constexpr OUStringLiteral | CFGPATH_ADDINS = u"Office.CalcAddIns/AddInInfo" |
constexpr OUStringLiteral | CFGSTR_ADDINFUNCTIONS = u"AddInFunctions" |
constexpr OUStringLiteral | CFGSTR_DISPLAYNAME = u"DisplayName" |
constexpr OUStringLiteral | CFGSTR_DESCRIPTION = u"Description" |
constexpr OUStringLiteral | CFGSTR_CATEGORY = u"Category" |
constexpr OUStringLiteral | CFGSTR_COMPATIBILITYNAME = u"CompatibilityName" |
constexpr OUStringLiteral | CFGSTR_PARAMETERS = u"Parameters" |
#define CFG_FUNCPROP_CATEGORY 2 |
Definition at line 347 of file addincol.cxx.
#define CFG_FUNCPROP_COUNT 3 |
Definition at line 348 of file addincol.cxx.
#define CFG_FUNCPROP_DESCRIPTION 1 |
Definition at line 346 of file addincol.cxx.
#define CFG_FUNCPROP_DISPLAYNAME 0 |
Definition at line 345 of file addincol.cxx.
#define SC_CALLERPOS_NONE (-1) |
Definition at line 69 of file addincol.cxx.
|
static |
Definition at line 670 of file addincol.cxx.
Referenced by lcl_GetArgType(), lcl_ValidReturnType(), and ScUnoAddInCollection::ReadFromAddIn().
|
static |
Definition at line 1050 of file addincol.cxx.
References ScUnoAddInFuncData::GetArgumentCount(), ScUnoAddInFuncData::GetArguments(), and nPos.
Referenced by ScUnoAddInCollection::UpdateFromAddIn().
|
static |
Definition at line 723 of file addincol.cxx.
References eType, IsTypeName(), SC_ADDINARG_CALLER, SC_ADDINARG_CELLRANGE, SC_ADDINARG_DOUBLE, SC_ADDINARG_DOUBLE_ARRAY, SC_ADDINARG_INTEGER, SC_ADDINARG_INTEGER_ARRAY, SC_ADDINARG_MIXED_ARRAY, SC_ADDINARG_NONE, SC_ADDINARG_STRING, SC_ADDINARG_STRING_ARRAY, SC_ADDINARG_VALUE_OR_ARRAY, SC_ADDINARG_VARARGS, and sName.
Referenced by ScUnoAddInCollection::ReadFromAddIn(), and ScUnoAddInCollection::UpdateFromAddIn().
|
static |
Definition at line 317 of file addincol.cxx.
References o3tl::equalsAscii(), i, ID_FUNCTION_GRP_ADDINS, and SC_FUNCGROUP_COUNT.
Referenced by ScUnoAddInCollection::ReadConfiguration(), and ScUnoAddInCollection::ReadFromAddIn().
|
static |
Definition at line 1548 of file addincol.cxx.
References a.
Referenced by ScUnoAddInCall::SetResult().
|
static |
Definition at line 1031 of file addincol.cxx.
References ScUnoAddInCollection::FillFunctionDescFromData(), ScFunctionList::GetCount(), ScFunctionList::GetFunction(), ScUnoAddInFuncData::GetUpperEnglish(), ScUnoAddInFuncData::GetUpperLocal(), ScFuncDesc::mxFuncName, nCount, and nPos.
Referenced by ScUnoAddInCollection::UpdateFromAddIn().
|
static |
Definition at line 675 of file addincol.cxx.
References IsTypeName(), and sName.
Referenced by ScUnoAddInCollection::ReadFromAddIn().
|
constexpr |
Definition at line 342 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 343 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 351 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 354 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 350 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 349 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().
|
constexpr |
Definition at line 355 of file addincol.cxx.
Referenced by ScUnoAddInCollection::ReadConfiguration().