|
LibreOffice Module sc (master) 1
|
indexes when calculating running totals More...
#include <dptabres.hxx>
Public Types | |
| typedef std::vector< sal_Int32 > | IndexArray |
Public Member Functions | |
| ScDPRunningTotalState (ScDPResultMember *pColRoot, ScDPResultMember *pRowRoot) | |
| array of sal_Int32 terminated by -1. More... | |
| ScDPResultMember * | GetColResRoot () const |
| ScDPResultMember * | GetRowResRoot () const |
| const IndexArray & | GetColVisible () const |
| const IndexArray & | GetColSorted () const |
| const IndexArray & | GetRowVisible () const |
| const IndexArray & | GetRowSorted () const |
| void | AddColIndex (sal_Int32 nVisible, tools::Long nSorted) |
| void | AddRowIndex (sal_Int32 nVisible, tools::Long nSorted) |
| void | RemoveColIndex () |
| void | RemoveRowIndex () |
Private Attributes | |
| ScDPResultMember * | pColResRoot |
| ScDPResultMember * | pRowResRoot |
| IndexArray | maColVisible |
| IndexArray | maColSorted |
| IndexArray | maRowVisible |
| IndexArray | maRowSorted |
indexes when calculating running totals
Col/RowVisible: simple counts from 0 - without sort order applied
Col/RowSorted: with sort order applied - member index (used otherwise - so other members' children can be accessed).
Definition at line 104 of file dptabres.hxx.
| typedef std::vector<sal_Int32> ScDPRunningTotalState::IndexArray |
Definition at line 107 of file dptabres.hxx.
| ScDPRunningTotalState::ScDPRunningTotalState | ( | ScDPResultMember * | pColRoot, |
| ScDPResultMember * | pRowRoot | ||
| ) |
array of sal_Int32 terminated by -1.
Definition at line 308 of file dptabres.cxx.
References maColSorted, maColVisible, maRowSorted, and maRowVisible.
| void ScDPRunningTotalState::AddColIndex | ( | sal_Int32 | nVisible, |
| tools::Long | nSorted | ||
| ) |
Definition at line 318 of file dptabres.cxx.
References maColSorted, and maColVisible.
Referenced by ScDPDataDimension::UpdateRunningTotals().
| void ScDPRunningTotalState::AddRowIndex | ( | sal_Int32 | nVisible, |
| tools::Long | nSorted | ||
| ) |
Definition at line 327 of file dptabres.cxx.
References maRowSorted, and maRowVisible.
Referenced by ScDPResultDimension::UpdateRunningTotals().
|
inline |
Definition at line 111 of file dptabres.hxx.
References pColResRoot.
Referenced by ScDPDataMember::UpdateRunningTotals().
|
inline |
Definition at line 115 of file dptabres.hxx.
References maColSorted.
Referenced by ScDPResultDimension::GetColReferenceMember(), and ScDPDataMember::UpdateRunningTotals().
|
inline |
Definition at line 114 of file dptabres.hxx.
References maColVisible.
Referenced by ScDPDataMember::UpdateRunningTotals().
|
inline |
Definition at line 112 of file dptabres.hxx.
References pRowResRoot.
Referenced by ScDPResultDimension::GetColReferenceMember(), and ScDPDataMember::UpdateRunningTotals().
|
inline |
Definition at line 117 of file dptabres.hxx.
References maRowSorted.
Referenced by ScDPResultDimension::GetColReferenceMember(), and ScDPDataMember::UpdateRunningTotals().
|
inline |
Definition at line 116 of file dptabres.hxx.
References maRowVisible.
Referenced by ScDPDataMember::UpdateRunningTotals().
| void ScDPRunningTotalState::RemoveColIndex | ( | ) |
Definition at line 336 of file dptabres.cxx.
References maColSorted, and maColVisible.
Referenced by ScDPDataDimension::UpdateRunningTotals().
| void ScDPRunningTotalState::RemoveRowIndex | ( | ) |
Definition at line 352 of file dptabres.cxx.
References maRowSorted, and maRowVisible.
Referenced by ScDPResultDimension::UpdateRunningTotals().
|
mutableprivate |
Definition at line 129 of file dptabres.hxx.
Referenced by AddColIndex(), GetColSorted(), RemoveColIndex(), and ScDPRunningTotalState().
|
mutableprivate |
Definition at line 128 of file dptabres.hxx.
Referenced by AddColIndex(), GetColVisible(), RemoveColIndex(), and ScDPRunningTotalState().
|
mutableprivate |
Definition at line 131 of file dptabres.hxx.
Referenced by AddRowIndex(), GetRowSorted(), RemoveRowIndex(), and ScDPRunningTotalState().
|
mutableprivate |
Definition at line 130 of file dptabres.hxx.
Referenced by AddRowIndex(), GetRowVisible(), RemoveRowIndex(), and ScDPRunningTotalState().
|
private |
Definition at line 125 of file dptabres.hxx.
Referenced by GetColResRoot().
|
private |
Definition at line 126 of file dptabres.hxx.
Referenced by GetRowResRoot().