LibreOffice Module sc (master) 1
|
Contains data for a pivot table field (SXVD record). More...
#include <xlpivot.hxx>
Public Member Functions | |
XclPTFieldInfo () | |
Index into cache for field name (not part of record). More... | |
css::sheet::DataPilotFieldOrientation | GetApiOrient (sal_uInt16 nMask) const |
Returns the API enum representing the orientation (first of row/col/page/data). More... | |
void | AddApiOrient (css::sheet::DataPilotFieldOrientation eOrient) |
Adds the axis orientation represented by the passed API enum. More... | |
void | GetSubtotals (XclPTSubtotalVec &rSubtotals) const |
Returns a vector of all set subtotal functions. More... | |
void | SetSubtotals (const XclPTSubtotalVec &rSubtotals) |
Sets the subtotal functions contained in the passed sequence. More... | |
Public Member Functions inherited from XclPTVisNameInfo | |
bool | HasVisName () const |
The displayed name of the item. More... | |
const OUString * | GetVisName () const |
Returns the name, if set explicitly (maVisName.mbUseCache is false). More... | |
void | SetVisName (const OUString &rName) |
Sets the visible name and enables usage of cache if name is empty. More... | |
Public Attributes | |
sal_uInt16 | mnAxes |
sal_uInt16 | mnSubtCount |
Flags for axes this field is part of. More... | |
sal_uInt16 | mnSubtotals |
Number of subtotal functions. More... | |
sal_uInt16 | mnItemCount |
Bitfield for subtotal functions. More... | |
sal_uInt16 | mnCacheIdx |
Number of items of this field. More... | |
Public Attributes inherited from XclPTVisNameInfo | |
XclPTCachedName | maVisName |
Contains data for a pivot table field (SXVD record).
Definition at line 591 of file xlpivot.hxx.
|
explicit |
Index into cache for field name (not part of record).
Definition at line 460 of file xlpivot.cxx.
void XclPTFieldInfo::AddApiOrient | ( | css::sheet::DataPilotFieldOrientation | eOrient | ) |
Adds the axis orientation represented by the passed API enum.
Definition at line 485 of file xlpivot.cxx.
References EXC_SXVD_AXIS_COL, EXC_SXVD_AXIS_DATA, EXC_SXVD_AXIS_PAGE, EXC_SXVD_AXIS_ROW, and mnAxes.
Referenced by XclExpPTField::SetDataPropertiesFromDim(), and XclExpPTField::SetPropertiesFromDim().
DataPilotFieldOrientation XclPTFieldInfo::GetApiOrient | ( | sal_uInt16 | nMask | ) | const |
Returns the API enum representing the orientation (first of row/col/page/data).
nMask | Restricts the axes taken into account. |
Definition at line 469 of file xlpivot.cxx.
References EXC_SXVD_AXIS_COL, EXC_SXVD_AXIS_DATA, EXC_SXVD_AXIS_PAGE, EXC_SXVD_AXIS_ROW, and mnAxes.
Referenced by XclImpPTField::ConvertRCPField(), and XclImpPTField::ConvertRowColField().
void XclPTFieldInfo::GetSubtotals | ( | XclPTSubtotalVec & | rSubtotals | ) | const |
Returns a vector of all set subtotal functions.
Definition at line 499 of file xlpivot.cxx.
References AUTO, AVERAGE, COUNT, COUNTNUMS, EXC_SXVD_SUBT_AVERAGE, EXC_SXVD_SUBT_COUNT, EXC_SXVD_SUBT_COUNTNUM, EXC_SXVD_SUBT_DEFAULT, EXC_SXVD_SUBT_MAX, EXC_SXVD_SUBT_MIN, EXC_SXVD_SUBT_PROD, EXC_SXVD_SUBT_STDDEV, EXC_SXVD_SUBT_STDDEVP, EXC_SXVD_SUBT_SUM, EXC_SXVD_SUBT_VAR, EXC_SXVD_SUBT_VARP, MAX, MIN, mnSubtotals, PRODUCT, STDEV, STDEVP, SUM, VAR, and VARP.
Referenced by XclImpPTField::ConvertRCPField().
void XclPTFieldInfo::SetSubtotals | ( | const XclPTSubtotalVec & | rSubtotals | ) |
Sets the subtotal functions contained in the passed sequence.
Definition at line 518 of file xlpivot.cxx.
References AUTO, AVERAGE, COUNT, COUNTNUMS, EXC_SXVD_SUBT_AVERAGE, EXC_SXVD_SUBT_COUNT, EXC_SXVD_SUBT_COUNTNUM, EXC_SXVD_SUBT_DEFAULT, EXC_SXVD_SUBT_MAX, EXC_SXVD_SUBT_MIN, EXC_SXVD_SUBT_NONE, EXC_SXVD_SUBT_PROD, EXC_SXVD_SUBT_STDDEV, EXC_SXVD_SUBT_STDDEVP, EXC_SXVD_SUBT_SUM, EXC_SXVD_SUBT_VAR, EXC_SXVD_SUBT_VARP, MAX, MIN, mnSubtCount, mnSubtotals, PRODUCT, STDEV, STDEVP, SUM, VAR, and VARP.
Referenced by XclExpPTField::SetPropertiesFromDim().
sal_uInt16 XclPTFieldInfo::mnAxes |
Definition at line 593 of file xlpivot.hxx.
Referenced by AddApiOrient(), XclImpPTField::AddDataFieldInfo(), XclImpPTField::ConvertDataField(), XclImpPTField::ConvertHiddenField(), XclImpPTField::ConvertPageField(), XclImpPTField::ConvertRowColField(), GetApiOrient(), XclImpPTField::GetAxes(), operator<<(), operator>>(), and XclImpPTField::SetAxes().
sal_uInt16 XclPTFieldInfo::mnCacheIdx |
Number of items of this field.
Definition at line 597 of file xlpivot.hxx.
Referenced by XclImpPTField::ConvertRowColField(), XclImpPTField::GetCacheField(), XclExpPTField::GetFieldIndex(), XclExpPTField::XclExpPTField(), and XclImpPTField::XclImpPTField().
sal_uInt16 XclPTFieldInfo::mnItemCount |
Bitfield for subtotal functions.
Definition at line 596 of file xlpivot.hxx.
Referenced by XclExpPTField::AppendSubtotalItem(), operator<<(), operator>>(), and XclExpPTField::XclExpPTField().
sal_uInt16 XclPTFieldInfo::mnSubtCount |
Flags for axes this field is part of.
Definition at line 594 of file xlpivot.hxx.
Referenced by operator<<(), operator>>(), and SetSubtotals().
sal_uInt16 XclPTFieldInfo::mnSubtotals |
Number of subtotal functions.
Definition at line 595 of file xlpivot.hxx.
Referenced by XclExpPTField::AppendSubtotalItems(), GetSubtotals(), operator<<(), operator>>(), and SetSubtotals().