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

#include <dpoutputgeometry.hxx>

Collaboration diagram for ScDPOutputGeometry:
[legend]

Public Types

enum  FieldType {
  Column = 0,
  Row,
  Page,
  Data,
  None
}
 

Public Member Functions

 ScDPOutputGeometry ()=delete
 
 ScDPOutputGeometry (const ScRange &rOutRange, bool bShowFilter)
 
 ~ScDPOutputGeometry ()
 
void setRowFieldCount (sal_uInt32 nCount)
 
void setColumnFieldCount (sal_uInt32 nCount)
 
void setPageFieldCount (sal_uInt32 nCount)
 
void setDataFieldCount (sal_uInt32 nCount)
 
void setDataLayoutType (FieldType eType)
 
void setHeaderLayout (bool bHeaderLayout)
 
void setCompactMode (bool bCompactMode)
 
void getColumnFieldPositions (::std::vector< ScAddress > &rAddrs) const
 
void getRowFieldPositions (::std::vector< ScAddress > &rAddrs) const
 
void getPageFieldPositions (::std::vector< ScAddress > &rAddrs) const
 
SCROW getRowFieldHeaderRow () const
 
std::pair< FieldType, size_t > getFieldButtonType (const ScAddress &rPos) const
 

Private Member Functions

void adjustFieldsForDataLayout (sal_uInt32 &rColumnFields, sal_uInt32 &rRowFields) const
 

Private Attributes

ScRange maOutRange
 
sal_uInt32 mnRowFields
 
sal_uInt32 mnColumnFields
 number of row fields More...
 
sal_uInt32 mnPageFields
 
sal_uInt32 mnDataFields
 
FieldType meDataLayoutType
 
bool mbShowFilter
 
bool mbHeaderLayout
 
bool mbCompactMode
 

Detailed Description

Definition at line 26 of file dpoutputgeometry.hxx.

Member Enumeration Documentation

Enumerator
Column 
Row 
Page 
Data 
None 

Definition at line 29 of file dpoutputgeometry.hxx.

Constructor & Destructor Documentation

ScDPOutputGeometry::ScDPOutputGeometry ( )
delete
ScDPOutputGeometry::ScDPOutputGeometry ( const ScRange rOutRange,
bool  bShowFilter 
)

Definition at line 27 of file dpoutputgeometry.cxx.

References None.

ScDPOutputGeometry::~ScDPOutputGeometry ( )

Definition at line 40 of file dpoutputgeometry.cxx.

Member Function Documentation

void ScDPOutputGeometry::adjustFieldsForDataLayout ( sal_uInt32 &  rColumnFields,
sal_uInt32 &  rRowFields 
) const
private
void ScDPOutputGeometry::getColumnFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const
std::pair< ScDPOutputGeometry::FieldType, size_t > ScDPOutputGeometry::getFieldButtonType ( const ScAddress rPos) const
void ScDPOutputGeometry::getPageFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const
SCROW ScDPOutputGeometry::getRowFieldHeaderRow ( ) const
void ScDPOutputGeometry::getRowFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const
void ScDPOutputGeometry::setColumnFieldCount ( sal_uInt32  nCount)
void ScDPOutputGeometry::setCompactMode ( bool  bCompactMode)

Definition at line 74 of file dpoutputgeometry.cxx.

References mbCompactMode.

Referenced by XclImpPivotTable::ApplyMergeFlags().

void ScDPOutputGeometry::setDataFieldCount ( sal_uInt32  nCount)
void ScDPOutputGeometry::setDataLayoutType ( FieldType  eType)

Definition at line 64 of file dpoutputgeometry.cxx.

References meDataLayoutType.

Referenced by ScXMLDataPilotTableContext::SetButtons().

void ScDPOutputGeometry::setHeaderLayout ( bool  bHeaderLayout)
void ScDPOutputGeometry::setPageFieldCount ( sal_uInt32  nCount)
void ScDPOutputGeometry::setRowFieldCount ( sal_uInt32  nCount)
Parameters
nCountnumber of row fields.

Definition at line 44 of file dpoutputgeometry.cxx.

References mnRowFields.

Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().

Member Data Documentation

ScRange ScDPOutputGeometry::maOutRange
private
bool ScDPOutputGeometry::mbCompactMode
private
bool ScDPOutputGeometry::mbHeaderLayout
private

Definition at line 65 of file dpoutputgeometry.hxx.

Referenced by getFieldButtonType(), getRowFieldHeaderRow(), and setHeaderLayout().

bool ScDPOutputGeometry::mbShowFilter
private
FieldType ScDPOutputGeometry::meDataLayoutType
private

Definition at line 63 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setDataLayoutType().

sal_uInt32 ScDPOutputGeometry::mnColumnFields
private

number of row fields

Definition at line 60 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setColumnFieldCount().

sal_uInt32 ScDPOutputGeometry::mnDataFields
private

Definition at line 62 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setDataFieldCount().

sal_uInt32 ScDPOutputGeometry::mnPageFields
private
sal_uInt32 ScDPOutputGeometry::mnRowFields
private

Definition at line 59 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setRowFieldCount().


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