LibreOffice Module sc (master) 1
Functions | Variables
dapiuno.cxx File Reference
#include <algorithm>
#include <cmath>
#include <o3tl/safeint.hxx>
#include <svl/hint.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <sal/log.hxx>
#include <dapiuno.hxx>
#include <datauno.hxx>
#include <miscuno.hxx>
#include <convuno.hxx>
#include <docsh.hxx>
#include <tabvwsh.hxx>
#include <rangeutl.hxx>
#include <dpobject.hxx>
#include <dpshttab.hxx>
#include <dpsdbtab.hxx>
#include <dpsave.hxx>
#include <dbdocfun.hxx>
#include <unonames.hxx>
#include <dpdimsave.hxx>
#include <hints.hxx>
#include <dputil.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <generalfunction.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/NullPointerException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/sheet/XDimensionsSupplier.hpp>
#include <com/sun/star/sheet/XLevelsSupplier.hpp>
#include <com/sun/star/sheet/XMembersAccess.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/sheet/DataImportMode.hpp>
#include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
#include <com/sun/star/sheet/DataPilotOutputRangeType.hpp>
#include <com/sun/star/sheet/DataPilotTablePositionData.hpp>
#include <com/sun/star/sheet/GeneralFunction2.hpp>
#include <comphelper/extract.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/exc_hlp.hxx>
Include dependency graph for dapiuno.cxx:

Go to the source code of this file.

Functions

static ScDPObjectlcl_GetDPObject (ScDocShell *pDocShell, SCTAB nTab, std::u16string_view rName)
 
static OUString lcl_CreatePivotName (ScDocShell *pDocShell)
 
static sal_Int32 lcl_GetObjectIndex (ScDPObject *pDPObj, const ScFieldIdentifier &rFieldId)
 
static bool lcl_IsDuplicated (const Reference< XPropertySet > &rDimProps)
 
static OUString lcl_GetOriginalName (const Reference< XNamed > &rDim)
 
static sal_Int32 lcl_GetFieldCount (const Reference< XDimensionsSupplier > &rSource, const Any &rOrient)
 
static bool lcl_GetFieldDataByIndex (const Reference< XDimensionsSupplier > &rSource, const Any &rOrient, SCSIZE nIndex, ScFieldIdentifier &rFieldId)
 
static bool lcl_GetFieldDataByName (ScDPObject *pDPObj, const OUString &rFieldName, ScFieldIdentifier &rFieldId)
 

Variables

constexpr OUStringLiteral SC_DATALAYOUT_NAME = u"Data"
 

Function Documentation

◆ lcl_CreatePivotName()

static OUString lcl_CreatePivotName ( ScDocShell pDocShell)
static

◆ lcl_GetDPObject()

static ScDPObject * lcl_GetDPObject ( ScDocShell pDocShell,
SCTAB  nTab,
std::u16string_view  rName 
)
static

◆ lcl_GetFieldCount()

static sal_Int32 lcl_GetFieldCount ( const Reference< XDimensionsSupplier > &  rSource,
const Any &  rOrient 
)
static

◆ lcl_GetFieldDataByIndex()

static bool lcl_GetFieldDataByIndex ( const Reference< XDimensionsSupplier > &  rSource,
const Any &  rOrient,
SCSIZE  nIndex,
ScFieldIdentifier rFieldId 
)
static

◆ lcl_GetFieldDataByName()

static bool lcl_GetFieldDataByName ( ScDPObject pDPObj,
const OUString &  rFieldName,
ScFieldIdentifier rFieldId 
)
static

◆ lcl_GetObjectIndex()

static sal_Int32 lcl_GetObjectIndex ( ScDPObject pDPObj,
const ScFieldIdentifier rFieldId 
)
static

◆ lcl_GetOriginalName()

static OUString lcl_GetOriginalName ( const Reference< XNamed > &  rDim)
static

Definition at line 381 of file dapiuno.cxx.

References Any, Exception, and SC_UNO_DP_ORIGINAL.

Referenced by lcl_GetFieldDataByIndex().

◆ lcl_IsDuplicated()

static bool lcl_IsDuplicated ( const Reference< XPropertySet > &  rDimProps)
static

Definition at line 367 of file dapiuno.cxx.

References Any, Exception, and SC_UNO_DP_ORIGINAL.

Referenced by lcl_GetFieldCount(), and lcl_GetFieldDataByIndex().

Variable Documentation

◆ SC_DATALAYOUT_NAME

constexpr OUStringLiteral SC_DATALAYOUT_NAME = u"Data"
constexpr