LibreOffice Module sc (master) 1
|
#include <dpoutputgeometry.hxx>
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 |
Definition at line 25 of file dpoutputgeometry.hxx.
Enumerator | |
---|---|
Column | |
Row | |
Page | |
Data | |
None |
Definition at line 28 of file dpoutputgeometry.hxx.
|
delete |
ScDPOutputGeometry::ScDPOutputGeometry | ( | const ScRange & | rOutRange, |
bool | bShowFilter | ||
) |
Definition at line 27 of file dpoutputgeometry.cxx.
References None.
|
private |
Definition at line 178 of file dpoutputgeometry.cxx.
References Column, meDataLayoutType, mnColumnFields, mnDataFields, mnRowFields, and Row.
Referenced by getColumnFieldPositions(), getFieldButtonType(), getRowFieldHeaderRow(), and getRowFieldPositions().
void ScDPOutputGeometry::getColumnFieldPositions | ( | ::std::vector< ScAddress > & | rAddrs | ) | const |
Definition at line 75 of file dpoutputgeometry.cxx.
References adjustFieldsForDataLayout(), ScRange::aStart, ScAddress::Col(), maOutRange, mbCompactMode, mbShowFilter, mnPageFields, ScAddress::Row(), and ScAddress::Tab().
Referenced by XclImpPivotTable::ApplyMergeFlags().
std::pair< ScDPOutputGeometry::FieldType, size_t > ScDPOutputGeometry::getFieldButtonType | ( | const ScAddress & | rPos | ) | const |
Definition at line 203 of file dpoutputgeometry.cxx.
References adjustFieldsForDataLayout(), ScRange::aStart, ScAddress::Col(), maOutRange, mbHeaderLayout, mbShowFilter, mnPageFields, None, nPos, Page, ScAddress::Row(), and Row.
Referenced by ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::getPageFieldPositions | ( | ::std::vector< ScAddress > & | rAddrs | ) | const |
Definition at line 135 of file dpoutputgeometry.cxx.
References ScRange::aStart, ScAddress::Col(), maOutRange, mbShowFilter, mnPageFields, ScAddress::Row(), and ScAddress::Tab().
Referenced by XclImpPivotTable::ApplyMergeFlags().
SCROW ScDPOutputGeometry::getRowFieldHeaderRow | ( | ) | const |
Definition at line 155 of file dpoutputgeometry.cxx.
References adjustFieldsForDataLayout(), ScRange::aStart, maOutRange, mbHeaderLayout, mbShowFilter, mnPageFields, and ScAddress::Row().
Referenced by XclImpPivotTable::ApplyMergeFlags(), and getRowFieldPositions().
void ScDPOutputGeometry::getRowFieldPositions | ( | ::std::vector< ScAddress > & | rAddrs | ) | const |
Definition at line 110 of file dpoutputgeometry.cxx.
References adjustFieldsForDataLayout(), ScRange::aStart, ScAddress::Col(), getRowFieldHeaderRow(), maOutRange, mbCompactMode, and ScAddress::Tab().
Referenced by XclImpPivotTable::ApplyMergeFlags().
void ScDPOutputGeometry::setColumnFieldCount | ( | sal_uInt32 | nCount | ) |
Definition at line 45 of file dpoutputgeometry.cxx.
References mnColumnFields, and nCount.
Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::setCompactMode | ( | bool | bCompactMode | ) |
Definition at line 70 of file dpoutputgeometry.cxx.
References mbCompactMode.
Referenced by XclImpPivotTable::ApplyMergeFlags().
void ScDPOutputGeometry::setDataFieldCount | ( | sal_uInt32 | nCount | ) |
Definition at line 55 of file dpoutputgeometry.cxx.
References mnDataFields, and nCount.
Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::setDataLayoutType | ( | FieldType | eType | ) |
Definition at line 60 of file dpoutputgeometry.cxx.
References eType, and meDataLayoutType.
Referenced by ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::setHeaderLayout | ( | bool | bHeaderLayout | ) |
Definition at line 65 of file dpoutputgeometry.cxx.
References mbHeaderLayout.
Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::setPageFieldCount | ( | sal_uInt32 | nCount | ) |
Definition at line 50 of file dpoutputgeometry.cxx.
References mnPageFields, and nCount.
Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().
void ScDPOutputGeometry::setRowFieldCount | ( | sal_uInt32 | nCount | ) |
nCount | number of row fields. |
Definition at line 40 of file dpoutputgeometry.cxx.
References mnRowFields, and nCount.
Referenced by XclImpPivotTable::ApplyMergeFlags(), and ScXMLDataPilotTableContext::SetButtons().
|
private |
Definition at line 56 of file dpoutputgeometry.hxx.
Referenced by getColumnFieldPositions(), getFieldButtonType(), getPageFieldPositions(), getRowFieldHeaderRow(), and getRowFieldPositions().
|
private |
Definition at line 64 of file dpoutputgeometry.hxx.
Referenced by getColumnFieldPositions(), getRowFieldPositions(), and setCompactMode().
|
private |
Definition at line 63 of file dpoutputgeometry.hxx.
Referenced by getFieldButtonType(), getRowFieldHeaderRow(), and setHeaderLayout().
|
private |
Definition at line 62 of file dpoutputgeometry.hxx.
Referenced by getColumnFieldPositions(), getFieldButtonType(), getPageFieldPositions(), and getRowFieldHeaderRow().
|
private |
Definition at line 61 of file dpoutputgeometry.hxx.
Referenced by adjustFieldsForDataLayout(), and setDataLayoutType().
|
private |
number of row fields
Definition at line 58 of file dpoutputgeometry.hxx.
Referenced by adjustFieldsForDataLayout(), and setColumnFieldCount().
|
private |
Definition at line 60 of file dpoutputgeometry.hxx.
Referenced by adjustFieldsForDataLayout(), and setDataFieldCount().
|
private |
Definition at line 59 of file dpoutputgeometry.hxx.
Referenced by getColumnFieldPositions(), getFieldButtonType(), getPageFieldPositions(), getRowFieldHeaderRow(), and setPageFieldCount().
|
private |
Definition at line 57 of file dpoutputgeometry.hxx.
Referenced by adjustFieldsForDataLayout(), and setRowFieldCount().