LibreOffice Module sc (master) 1
|
Base class for buffers containing row or column outline data. More...
#include <xetable.hxx>
Classes | |
struct | XclExpLevelInfo |
Data about an outline level. More... | |
Public Member Functions | |
bool | IsCollapsed () const |
Returns true, if a collapsed group ends at the last processed position. More... | |
sal_uInt8 | GetLevel () const |
Returns the highest level of an open group at the last processed position. More... | |
Protected Member Functions | |
XclExpOutlineBuffer (const XclExpRoot &rRoot, bool bRows) | |
Constructs the outline buffer. More... | |
void | UpdateColRow (SCCOLROW nScPos) |
Updates the current state by processing the settings at the passed Calc position. More... | |
Private Attributes | |
const ScOutlineArray * | mpScOLArray |
std::vector< XclExpLevelInfo > | maLevelInfos |
Pointer to Calc outline array. More... | |
sal_uInt8 | mnCurrLevel |
Info for current row and all levels. More... | |
bool | mbCurrCollapse |
Highest level of an open group for current position. More... | |
Base class for buffers containing row or column outline data.
Definition at line 575 of file xetable.hxx.
|
explicitprotected |
Constructs the outline buffer.
bRows | true = Process row outline array; false = Process column outline array. |
Definition at line 1412 of file xetable.cxx.
References XclRoot::GetCurrScTab(), XclRoot::GetDoc(), ScOutlineArray::GetEntryByPos(), ScDocument::GetOutlineTable(), maLevelInfos, mpScOLArray, and SC_OL_MAXDEPTH.
|
inline |
Returns the highest level of an open group at the last processed position.
Definition at line 581 of file xetable.hxx.
References EXC_OUTLINE_MAX, and mnCurrLevel.
Referenced by XclExpRowBuffer::GetOrCreateRow(), XclExpColinfoBuffer::Initialize(), XclExpColinfo::XclExpColinfo(), and XclExpRow::XclExpRow().
|
inline |
Returns true, if a collapsed group ends at the last processed position.
Definition at line 579 of file xetable.hxx.
References mbCurrCollapse.
Referenced by XclExpRowBuffer::GetOrCreateRow(), XclExpColinfo::XclExpColinfo(), and XclExpRow::XclExpRow().
|
protected |
Updates the current state by processing the settings at the passed Calc position.
Definition at line 1427 of file xetable.cxx.
References ScOutlineArray::FindTouchedLevel(), ScOutlineArray::GetEntryByPos(), maLevelInfos, mbCurrCollapse, mnCurrLevel, and mpScOLArray.
Referenced by XclExpColOutlineBuffer::Update(), and XclExpRowOutlineBuffer::Update().
|
private |
Pointer to Calc outline array.
Definition at line 602 of file xetable.hxx.
Referenced by UpdateColRow(), and XclExpOutlineBuffer().
|
private |
Highest level of an open group for current position.
Definition at line 604 of file xetable.hxx.
Referenced by IsCollapsed(), and UpdateColRow().
|
private |
Info for current row and all levels.
Definition at line 603 of file xetable.hxx.
Referenced by GetLevel(), and UpdateColRow().
|
private |
Definition at line 600 of file xetable.hxx.
Referenced by UpdateColRow(), and XclExpOutlineBuffer().