LibreOffice Module sc (master)  1
Macros | Functions
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 <sal/macros.h>
#include <rtl/math.hxx>
#include <tools/diagnose_ex.h>
#include <svl/zforlist.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <utility>
#include <vector>
#include <memory>
#include <algorithm>
Include dependency graph for dpobject.cxx:

Go to the source code of this file.

Macros

#define SC_SERVICE_ROWSET   "com.sun.star.sdb.RowSet"
 
#define SC_DBPROP_DATASOURCENAME   "DataSourceName"
 
#define SC_DBPROP_COMMAND   "Command"
 
#define SC_DBPROP_COMMANDTYPE   "CommandType"
 
#define SCDPSOURCE_SERVICE   "com.sun.star.sheet.DataPilotSource"
 

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)
 

Macro Definition Documentation

#define SC_DBPROP_COMMAND   "Command"
#define SC_DBPROP_COMMANDTYPE   "CommandType"
#define SC_DBPROP_DATASOURCENAME   "DataSourceName"

Definition at line 99 of file dpobject.cxx.

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

#define SC_SERVICE_ROWSET   "com.sun.star.sdb.RowSet"
#define SCDPSOURCE_SERVICE   "com.sun.star.sheet.DataPilotSource"

Function Documentation

static void lcl_FillLabelData ( ScDPLabelData rData,
const uno::Reference< beans::XPropertySet > &  xDimProp 
)
static
static void lcl_FillOldFields ( ScPivotFieldVector rFields,
const uno::Reference< sheet::XDimensionsSupplier > &  xSource,
sheet::DataPilotFieldOrientation  nOrient,
bool  bAddData 
)
static
static PivotFunc lcl_FirstSubTotal ( const uno::Reference< beans::XPropertySet > &  xDimProp)
static
static sheet::DataPilotFieldOrientation lcl_GetDataGetOrientation ( const uno::Reference< sheet::XDimensionsSupplier > &  xSource)
static
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().

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