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)
 
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 25 of file dpoutputgeometry.hxx.

Member Enumeration Documentation

◆ FieldType

Enumerator
Column 
Row 
Page 
Data 
None 

Definition at line 28 of file dpoutputgeometry.hxx.

Constructor & Destructor Documentation

◆ ScDPOutputGeometry() [1/2]

ScDPOutputGeometry::ScDPOutputGeometry ( )
delete

◆ ScDPOutputGeometry() [2/2]

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

Definition at line 27 of file dpoutputgeometry.cxx.

References None.

Member Function Documentation

◆ adjustFieldsForDataLayout()

void ScDPOutputGeometry::adjustFieldsForDataLayout ( sal_uInt32 &  rColumnFields,
sal_uInt32 &  rRowFields 
) const
private

◆ getColumnFieldPositions()

void ScDPOutputGeometry::getColumnFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const

◆ getFieldButtonType()

std::pair< ScDPOutputGeometry::FieldType, size_t > ScDPOutputGeometry::getFieldButtonType ( const ScAddress rPos) const

◆ getPageFieldPositions()

void ScDPOutputGeometry::getPageFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const

◆ getRowFieldHeaderRow()

SCROW ScDPOutputGeometry::getRowFieldHeaderRow ( ) const

◆ getRowFieldPositions()

void ScDPOutputGeometry::getRowFieldPositions ( ::std::vector< ScAddress > &  rAddrs) const

◆ setColumnFieldCount()

void ScDPOutputGeometry::setColumnFieldCount ( sal_uInt32  nCount)

◆ setCompactMode()

void ScDPOutputGeometry::setCompactMode ( bool  bCompactMode)

Definition at line 70 of file dpoutputgeometry.cxx.

References mbCompactMode.

Referenced by XclImpPivotTable::ApplyMergeFlags().

◆ setDataFieldCount()

void ScDPOutputGeometry::setDataFieldCount ( sal_uInt32  nCount)

◆ setDataLayoutType()

void ScDPOutputGeometry::setDataLayoutType ( FieldType  eType)

Definition at line 60 of file dpoutputgeometry.cxx.

References eType, and meDataLayoutType.

Referenced by ScXMLDataPilotTableContext::SetButtons().

◆ setHeaderLayout()

void ScDPOutputGeometry::setHeaderLayout ( bool  bHeaderLayout)

◆ setPageFieldCount()

void ScDPOutputGeometry::setPageFieldCount ( sal_uInt32  nCount)

◆ setRowFieldCount()

void ScDPOutputGeometry::setRowFieldCount ( sal_uInt32  nCount)
Parameters
nCountnumber of row fields.

Definition at line 40 of file dpoutputgeometry.cxx.

References mnRowFields, and nCount.

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

Member Data Documentation

◆ maOutRange

ScRange ScDPOutputGeometry::maOutRange
private

◆ mbCompactMode

bool ScDPOutputGeometry::mbCompactMode
private

◆ mbHeaderLayout

bool ScDPOutputGeometry::mbHeaderLayout
private

Definition at line 63 of file dpoutputgeometry.hxx.

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

◆ mbShowFilter

bool ScDPOutputGeometry::mbShowFilter
private

◆ meDataLayoutType

FieldType ScDPOutputGeometry::meDataLayoutType
private

Definition at line 61 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setDataLayoutType().

◆ mnColumnFields

sal_uInt32 ScDPOutputGeometry::mnColumnFields
private

number of row fields

Definition at line 58 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setColumnFieldCount().

◆ mnDataFields

sal_uInt32 ScDPOutputGeometry::mnDataFields
private

Definition at line 60 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setDataFieldCount().

◆ mnPageFields

sal_uInt32 ScDPOutputGeometry::mnPageFields
private

◆ mnRowFields

sal_uInt32 ScDPOutputGeometry::mnRowFields
private

Definition at line 57 of file dpoutputgeometry.hxx.

Referenced by adjustFieldsForDataLayout(), and setRowFieldCount().


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