LibreOffice Module sc (master) 1
Functions | Variables
dpobject.cxx File Reference
#include <docsh.hxx>
#include <dpcache.hxx>
#include <dpobject.hxx>
#include <dptabsrc.hxx>
#include <dpsave.hxx>
#include <dpdimsave.hxx>
#include <dpoutput.hxx>
#include <dpshttab.hxx>
#include <dpsdbtab.hxx>
#include <dpgroup.hxx>
#include <document.hxx>
#include <pivot.hxx>
#include <dapiuno.hxx>
#include <miscuno.hxx>
#include <refupdat.hxx>
#include <attrib.hxx>
#include <scitems.hxx>
#include <unonames.hxx>
#include <dpglobal.hxx>
#include <globstr.hrc>
#include <queryentry.hxx>
#include <dputil.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdb/XCompletedExecution.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sheet/GeneralFunction2.hpp>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceType.hpp>
#include <com/sun/star/sheet/DataPilotTableHeaderData.hpp>
#include <com/sun/star/sheet/DataPilotTablePositionData.hpp>
#include <com/sun/star/sheet/DataPilotTablePositionType.hpp>
#include <com/sun/star/sheet/DimensionFlags.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/sheet/XDrillDownDataSupplier.hpp>
#include <unotools/charclass.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <o3tl/safeint.hxx>
#include <sal/macros.h>
#include <svl/numformat.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <svl/zforlist.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <vector>
#include <memory>
#include <algorithm>
Include dependency graph for dpobject.cxx:

Go to the source code of this file.

Functions

static sheet::DataPilotFieldOrientation lcl_GetDataGetOrientation (const uno::Reference< sheet::XDimensionsSupplier > &xSource)
 
static bool lcl_HasButton (const ScDocument *pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab)
 
static PivotFunc lcl_FirstSubTotal (const uno::Reference< beans::XPropertySet > &xDimProp)
 
static void lcl_FillOldFields (ScPivotFieldVector &rFields, const uno::Reference< sheet::XDimensionsSupplier > &xSource, sheet::DataPilotFieldOrientation nOrient, bool bAddData)
 
static void lcl_FillLabelData (ScDPLabelData &rData, const uno::Reference< beans::XPropertySet > &xDimProp)
 
bool operator< (const ScDPCollection::DBType &left, const ScDPCollection::DBType &right)
 

Variables

constexpr OUStringLiteral SC_SERVICE_ROWSET = u"com.sun.star.sdb.RowSet"
 
constexpr OUStringLiteral SC_DBPROP_DATASOURCENAME = u"DataSourceName"
 
constexpr OUStringLiteral SC_DBPROP_COMMAND = u"Command"
 
constexpr OUStringLiteral SC_DBPROP_COMMANDTYPE = u"CommandType"
 
constexpr OUStringLiteral SCDPSOURCE_SERVICE = u"com.sun.star.sheet.DataPilotSource"
 

Function Documentation

◆ lcl_FillLabelData()

static void lcl_FillLabelData ( ScDPLabelData rData,
const uno::Reference< beans::XPropertySet > &  xDimProp 
)
static

◆ lcl_FillOldFields()

static void lcl_FillOldFields ( ScPivotFieldVector rFields,
const uno::Reference< sheet::XDimensionsSupplier > &  xSource,
sheet::DataPilotFieldOrientation  nOrient,
bool  bAddData 
)
static

◆ lcl_FirstSubTotal()

static PivotFunc lcl_FirstSubTotal ( const uno::Reference< beans::XPropertySet > &  xDimProp)
static

◆ lcl_GetDataGetOrientation()

static sheet::DataPilotFieldOrientation lcl_GetDataGetOrientation ( const uno::Reference< sheet::XDimensionsSupplier > &  xSource)
static

◆ lcl_HasButton()

static bool lcl_HasButton ( const ScDocument pDoc,
SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)
static

Definition at line 929 of file dpobject.cxx.

References ATTR_MERGE_FLAG(), and ScDocument::GetAttr().

Referenced by ScDPObject::RefreshAfterLoad().

◆ operator<()

bool operator< ( const ScDPCollection::DBType left,
const ScDPCollection::DBType right 
)

Definition at line 3969 of file dpobject.cxx.

References left, and right.

Variable Documentation

◆ SC_DBPROP_COMMAND

constexpr OUStringLiteral SC_DBPROP_COMMAND = u"Command"
constexpr

◆ SC_DBPROP_COMMANDTYPE

constexpr OUStringLiteral SC_DBPROP_COMMANDTYPE = u"CommandType"
constexpr

◆ SC_DBPROP_DATASOURCENAME

constexpr OUStringLiteral SC_DBPROP_DATASOURCENAME = u"DataSourceName"
constexpr

Definition at line 100 of file dpobject.cxx.

Referenced by ScDPCollection::DBCaches::createRowSet().

◆ SC_SERVICE_ROWSET

constexpr OUStringLiteral SC_SERVICE_ROWSET = u"com.sun.star.sdb.RowSet"
constexpr

◆ SCDPSOURCE_SERVICE

constexpr OUStringLiteral SCDPSOURCE_SERVICE = u"com.sun.star.sheet.DataPilotSource"
constexpr