LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclImpPTField Class Reference

#include <xipivot.hxx>

Collaboration diagram for XclImpPTField:
[legend]

Public Member Functions

 XclImpPTField (const XclImpPivotTable &rPTable, sal_uInt16 nCacheIdx)
 
const XclImpPCFieldGetCacheField () const
 Returns the corresponding pivot cache field of this field. More...
 
OUString GetFieldName () const
 Returns the name of this field that is used to create the Calc dimensions. More...
 
OUString GetVisFieldName () const
 Returns the internally set visible name of this field. More...
 
const XclImpPTItemGetItem (sal_uInt16 nItemIdx) const
 Returns the specified item. More...
 
const OUString * GetItemName (sal_uInt16 nItemIdx) const
 Returns the internal name of the specified item. More...
 
sal_uInt16 GetAxes () const
 Returns the flags of the axes this field is part of. More...
 
void SetAxes (sal_uInt16 nAxes)
 Sets the flags of the axes this field is part of. More...
 
void ReadSxvd (XclImpStream &rStrm)
 Reads an SXVD record describing the field. More...
 
void ReadSxvdex (XclImpStream &rStrm)
 Reads an SXVDEX record describing extended options of the field. More...
 
void ReadSxvi (XclImpStream &rStrm)
 Reads an SXVI record describing a new item of this field. More...
 
void ConvertRowColField (ScDPSaveData &rSaveData) const
 
void SetPageFieldInfo (const XclPTPageFieldInfo &rPageInfo)
 
void ConvertPageField (ScDPSaveData &rSaveData) const
 
void ConvertHiddenField (ScDPSaveData &rSaveData) const
 
bool HasDataFieldInfo () const
 
void AddDataFieldInfo (const XclPTDataFieldInfo &rDataInfo)
 
void ConvertDataField (ScDPSaveData &rSaveData) const
 
void ConvertFieldInfo (const ScDPSaveData &rSaveData, ScDPObject *pObj, const XclImpRoot &rRoot, bool bPageField=false) const
 

Private Member Functions

void ConvertRCPField (ScDPSaveData &rSaveData) const
 
void ConvertDataField (ScDPSaveDimension &rSaveDim, const XclPTDataFieldInfo &rDataInfo) const
 
void ConvertDataFieldInfo (ScDPSaveDimension &rSaveDim, const XclPTDataFieldInfo &rDataInfo) const
 

Private Attributes

const XclImpPivotTablemrPTable
 
XclPTFieldInfo maFieldInfo
 Parent pivot table containing this field. More...
 
XclPTFieldExtInfo maFieldExtInfo
 General field info (SXVD record). More...
 
XclPTPageFieldInfo maPageInfo
 Extended field info (SXVDEX record). More...
 
std::vector< XclPTDataFieldInfomaDataInfoVector
 Page field info (entry from SXPI record). More...
 
std::vector< XclImpPTItemRefmaItems
 Vector of extended data field info (SXDI records). More...
 

Detailed Description

Definition at line 221 of file xipivot.hxx.

Constructor & Destructor Documentation

XclImpPTField::XclImpPTField ( const XclImpPivotTable rPTable,
sal_uInt16  nCacheIdx 
)
explicit

Definition at line 955 of file xipivot.cxx.

References maFieldInfo, and XclPTFieldInfo::mnCacheIdx.

Member Function Documentation

void XclImpPTField::AddDataFieldInfo ( const XclPTDataFieldInfo rDataInfo)
void XclImpPTField::ConvertDataField ( ScDPSaveData rSaveData) const
void XclImpPTField::ConvertDataField ( ScDPSaveDimension rSaveDim,
const XclPTDataFieldInfo rDataInfo 
) const
private

Definition at line 1203 of file xipivot.cxx.

References ConvertDataFieldInfo(), and ScDPSaveDimension::SetOrientation().

void XclImpPTField::ConvertDataFieldInfo ( ScDPSaveDimension rSaveDim,
const XclPTDataFieldInfo rDataInfo 
) const
private
void XclImpPTField::ConvertFieldInfo ( const ScDPSaveData rSaveData,
ScDPObject pObj,
const XclImpRoot rRoot,
bool  bPageField = false 
) const
void XclImpPTField::ConvertHiddenField ( ScDPSaveData rSaveData) const
void XclImpPTField::ConvertPageField ( ScDPSaveData rSaveData) const
void XclImpPTField::ConvertRCPField ( ScDPSaveData rSaveData) const
private
void XclImpPTField::ConvertRowColField ( ScDPSaveData rSaveData) const
sal_uInt16 XclImpPTField::GetAxes ( ) const
inline

Returns the flags of the axes this field is part of.

Definition at line 241 of file xipivot.hxx.

References maFieldInfo, and XclPTFieldInfo::mnAxes.

const XclImpPCField * XclImpPTField::GetCacheField ( ) const

Returns the corresponding pivot cache field of this field.

Definition at line 963 of file xipivot.cxx.

References XclImpPivotTable::GetPivotCache(), maFieldInfo, XclPTFieldInfo::mnCacheIdx, and mrPTable.

Referenced by ConvertFieldInfo(), ConvertRCPField(), GetFieldName(), and ReadSxvi().

OUString XclImpPTField::GetFieldName ( ) const

Returns the name of this field that is used to create the Calc dimensions.

Definition at line 969 of file xipivot.cxx.

References GetCacheField(), XclImpPCField::GetFieldName(), XclImpPivotTable::GetVisFieldNames(), and mrPTable.

Referenced by ConvertDataField(), ConvertDataFieldInfo(), ConvertFieldInfo(), and ConvertRCPField().

const XclImpPTItem * XclImpPTField::GetItem ( sal_uInt16  nItemIdx) const

Returns the specified item.

Definition at line 981 of file xipivot.cxx.

References maItems.

Referenced by ConvertFieldInfo(), and GetItemName().

const OUString * XclImpPTField::GetItemName ( sal_uInt16  nItemIdx) const

Returns the internal name of the specified item.

Definition at line 986 of file xipivot.cxx.

References GetItem(), and XclImpPTItem::GetItemName().

Referenced by ConvertDataFieldInfo().

OUString XclImpPTField::GetVisFieldName ( ) const

Returns the internally set visible name of this field.

Definition at line 975 of file xipivot.cxx.

References XclPTVisNameInfo::GetVisName(), and maFieldInfo.

bool XclImpPTField::HasDataFieldInfo ( ) const

Definition at line 1046 of file xipivot.cxx.

References maDataInfoVector.

void XclImpPTField::ReadSxvd ( XclImpStream rStrm)

Reads an SXVD record describing the field.

Definition at line 994 of file xipivot.cxx.

References maFieldInfo.

void XclImpPTField::ReadSxvdex ( XclImpStream rStrm)

Reads an SXVDEX record describing extended options of the field.

Definition at line 999 of file xipivot.cxx.

References maFieldExtInfo.

void XclImpPTField::ReadSxvi ( XclImpStream rStrm)

Reads an SXVI record describing a new item of this field.

Definition at line 1004 of file xipivot.cxx.

References GetCacheField(), and maItems.

void XclImpPTField::SetAxes ( sal_uInt16  nAxes)
inline

Sets the flags of the axes this field is part of.

Definition at line 243 of file xipivot.hxx.

References maFieldInfo, and XclPTFieldInfo::mnAxes.

Referenced by XclImpPivotTable::ReadSxivd().

void XclImpPTField::SetPageFieldInfo ( const XclPTPageFieldInfo rPageInfo)

Definition at line 1025 of file xipivot.cxx.

References maPageInfo.

Member Data Documentation

std::vector< XclPTDataFieldInfo > XclImpPTField::maDataInfoVector
private

Page field info (entry from SXPI record).

Definition at line 287 of file xipivot.hxx.

Referenced by AddDataFieldInfo(), ConvertDataField(), and HasDataFieldInfo().

XclPTFieldExtInfo XclImpPTField::maFieldExtInfo
private

General field info (SXVD record).

Definition at line 285 of file xipivot.hxx.

Referenced by ConvertFieldInfo(), ConvertRCPField(), and ReadSxvdex().

XclPTFieldInfo XclImpPTField::maFieldInfo
private
std::vector< XclImpPTItemRef > XclImpPTField::maItems
private

Vector of extended data field info (SXDI records).

Definition at line 288 of file xipivot.hxx.

Referenced by ConvertFieldInfo(), GetItem(), and ReadSxvi().

XclPTPageFieldInfo XclImpPTField::maPageInfo
private

Extended field info (SXVDEX record).

Definition at line 286 of file xipivot.hxx.

Referenced by ConvertFieldInfo(), and SetPageFieldInfo().

const XclImpPivotTable& XclImpPTField::mrPTable
private

Definition at line 283 of file xipivot.hxx.

Referenced by ConvertDataFieldInfo(), ConvertRCPField(), GetCacheField(), and GetFieldName().


The documentation for this class was generated from the following files: