LibreOffice Module sc (master) 1
|
#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>
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" |
|
static |
Definition at line 2343 of file dpobject.cxx.
References ScUnoHelpFunctions::GetBoolProperty(), ScUnoHelpFunctions::GetLongProperty(), ScDPLabelData::maLayoutInfo, ScDPLabelData::maShowInfo, ScDPLabelData::maSortInfo, ScDPLabelData::mbRepeatItemLabels, ScDPLabelData::mbShowAll, ScDPLabelData::mnUsedHier, SC_UNO_DP_AUTOSHOW, SC_UNO_DP_LAYOUT, SC_UNO_DP_REPEATITEMLABELS, SC_UNO_DP_SHOWEMPTY, SC_UNO_DP_SORTING, and SC_UNO_DP_USEDHIERARCHY.
Referenced by ScDPObject::FillLabelDataForDimension().
|
static |
Definition at line 2163 of file dpobject.cxx.
References ScDataPilotConversion::FunctionBit(), ScUnoHelpFunctions::GetBoolProperty(), ScUnoHelpFunctions::GetEnumProperty(), ScUnoHelpFunctions::GetLongProperty(), ScUnoHelpFunctions::GetShortProperty(), i, lcl_FirstSubTotal(), ScPivotField::maFieldRef, ScPivotField::mnDupCount, ScPivotField::mnOriginalDim, ScPivotField::nCol, nDimCount, ScPivotField::nFuncMask, NONE, condformat::dialog::NONE, nPos, PIVOT_DATA_FIELD, SC_UNO_DP_FUNCTION2, SC_UNO_DP_ISDATALAYOUT, SC_UNO_DP_ORIENTATION, SC_UNO_DP_ORIGINAL_POS, SC_UNO_DP_POSITION, and SC_UNO_DP_REFVALUE.
Referenced by ScDPObject::FillOldParam().
|
static |
Definition at line 2103 of file dpobject.cxx.
References aSeq, ScDataPilotConversion::FunctionBit(), ScUnoHelpFunctions::GetLongProperty(), NONE, SC_UNO_DP_SUBTOTAL2, and SC_UNO_DP_USEDHIERARCHY.
Referenced by lcl_FillOldFields().
|
static |
Definition at line 263 of file dpobject.cxx.
References ScUnoHelpFunctions::GetBoolProperty(), ScUnoHelpFunctions::GetEnumProperty(), SC_UNO_DP_ISDATALAYOUT, and SC_UNO_DP_ORIENTATION.
Referenced by ScDPObject::FillOldParam().
|
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 | ||
) |
Definition at line 3969 of file dpobject.cxx.
|
constexpr |
Definition at line 101 of file dpobject.cxx.
Referenced by ScDPCollection::DBCaches::createRowSet(), ScDocShell::DBaseExport(), and ScDocShell::DBaseImport().
|
constexpr |
Definition at line 102 of file dpobject.cxx.
Referenced by ScDPCollection::DBCaches::createRowSet(), ScDocShell::DBaseExport(), and ScDocShell::DBaseImport().
|
constexpr |
Definition at line 100 of file dpobject.cxx.
Referenced by ScDPCollection::DBCaches::createRowSet().
|
constexpr |
Definition at line 98 of file dpobject.cxx.
Referenced by ScDPCollection::DBCaches::createRowSet(), ScDocShell::DBaseExport(), and ScDocShell::DBaseImport().
|
constexpr |
Definition at line 104 of file dpobject.cxx.
Referenced by ScDPObject::CreateSource(), ScDPObject::GetRegisteredSources(), and ScDPObject::HasRegisteredSources().