LibreOffice Module sc (master)  1
Functions | Variables
dptabres.cxx File Reference
#include <dptabres.hxx>
#include <dptabdat.hxx>
#include <dptabsrc.hxx>
#include <global.hxx>
#include <subtotal.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <dpitemdata.hxx>
#include <generalfunction.hxx>
#include <document.hxx>
#include <dpresfilter.hxx>
#include <dputil.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <math.h>
#include <float.h>
#include <algorithm>
#include <memory>
#include <unordered_map>
#include <com/sun/star/sheet/DataResultFlags.hpp>
#include <com/sun/star/sheet/MemberResultFlags.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceType.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceItemType.hpp>
#include <com/sun/star/sheet/DataPilotFieldShowItemsMode.hpp>
#include <com/sun/star/sheet/DataPilotFieldSortMode.hpp>
#include <com/sun/star/sheet/GeneralFunction2.hpp>
Include dependency graph for dptabres.cxx:

Go to the source code of this file.

Functions

static bool lcl_IsLess (const ScDPDataMember *pDataMember1, const ScDPDataMember *pDataMember2, tools::Long nMeasure, bool bAscending)
 
static bool lcl_IsEqual (const ScDPDataMember *pDataMember1, const ScDPDataMember *pDataMember2, tools::Long nMeasure)
 
static ScDPAggDatalcl_GetChildTotal (ScDPAggData *pFirst, tools::Long nMeasure)
 
static ScSubTotalFunc lcl_GetForceFunc (const ScDPLevel *pLevel, tools::Long nFuncNo)
 
static OUString lcl_parseSubtotalName (const OUString &rSubStr, const OUString &rCaption)
 Parse subtotal string and replace all occurrences of '?' with the caption string. More...
 
static tools::Long lcl_GetSubTotalPos (const ScDPSubTotalState &rSubState)
 

Variables

const tools::Long SC_SUBTOTALPOS_AUTO = -1
 
const tools::Long SC_SUBTOTALPOS_SKIP = -2
 

Function Documentation

static ScDPAggData* lcl_GetChildTotal ( ScDPAggData pFirst,
tools::Long  nMeasure 
)
static
static ScSubTotalFunc lcl_GetForceFunc ( const ScDPLevel pLevel,
tools::Long  nFuncNo 
)
static
static tools::Long lcl_GetSubTotalPos ( const ScDPSubTotalState rSubState)
static
static bool lcl_IsEqual ( const ScDPDataMember pDataMember1,
const ScDPDataMember pDataMember2,
tools::Long  nMeasure 
)
static
static bool lcl_IsLess ( const ScDPDataMember pDataMember1,
const ScDPDataMember pDataMember2,
tools::Long  nMeasure,
bool  bAscending 
)
static
static OUString lcl_parseSubtotalName ( const OUString &  rSubStr,
const OUString &  rCaption 
)
static

Parse subtotal string and replace all occurrences of '?' with the caption string.

Do ensure that escaped characters are not translated.

Definition at line 1299 of file dptabres.cxx.

References i, and n.

Referenced by ScDPResultMember::FillMemberResults().

Variable Documentation

const tools::Long SC_SUBTOTALPOS_AUTO = -1

Definition at line 1887 of file dptabres.cxx.

Referenced by lcl_GetSubTotalPos().

const tools::Long SC_SUBTOTALPOS_SKIP = -2

Definition at line 1888 of file dptabres.cxx.

Referenced by lcl_GetSubTotalPos().