|
LibreOffice Module sc (master) 1
|
#include <dociter.hxx>
Classes | |
| struct | ColParam |
Public Member Functions | |
| ScHorizontalCellIterator (ScDocument &rDocument, SCTAB nTable, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) | |
| ~ScHorizontalCellIterator () | |
| ScRefCellValue * | GetNext (SCCOL &rCol, SCROW &rRow) |
| bool | GetPos (SCCOL &rCol, SCROW &rRow) |
| void | SetTab (SCTAB nTab) |
| Set a(nother) sheet and (re)init. More... | |
Private Member Functions | |
| void | Advance () |
| void | SkipInvalid () |
| bool | SkipInvalidInRow () |
| SCROW | FindNextNonEmptyRow () |
| Find the next row that has some real content in one of its columns. More... | |
Private Attributes | |
| std::vector< ColParam >::iterator | maColPos |
| std::vector< ColParam > | maColPositions |
| ScDocument & | rDoc |
| SCTAB | mnTab |
| SCCOL | nStartCol |
| SCCOL | nEndCol |
| SCROW | nStartRow |
| SCROW | nEndRow |
| SCCOL | mnCol |
| SCROW | mnRow |
| ScRefCellValue | maCurCell |
| bool | mbMore |
Definition at line 292 of file dociter.hxx.
| ScHorizontalCellIterator::ScHorizontalCellIterator | ( | ScDocument & | rDocument, |
| SCTAB | nTable, | ||
| SCCOL | nCol1, | ||
| SCROW | nRow1, | ||
| SCCOL | nCol2, | ||
| SCROW | nRow2 | ||
| ) |
Definition at line 1028 of file dociter.cxx.
References ScTable::ClampToAllocatedColumns(), ScDocument::FetchTable(), ScDocument::GetTableCount(), maColPositions, mnTab, nEndCol, nStartCol, rDoc, and SetTab().
| ScHorizontalCellIterator::~ScHorizontalCellIterator | ( | ) |
Definition at line 1055 of file dociter.cxx.
|
private |
Definition at line 1218 of file dociter.cxx.
References maColPos, maColPositions, mbMore, and SkipInvalid().
Referenced by GetNext().
|
private |
Find the next row that has some real content in one of its columns.
Definition at line 1203 of file dociter.cxx.
References debugiter, maColPositions, o3tl::make_unsigned(), ScDocument::MaxRow(), mnRow, and rDoc.
Referenced by SkipInvalid().
| ScRefCellValue * ScHorizontalCellIterator::GetNext | ( | SCCOL & | rCol, |
| SCROW & | rRow | ||
| ) |
Definition at line 1096 of file dociter.cxx.
References Advance(), debugiter, maColPos, maCurCell, ScHorizontalCellIterator::ColParam::maPos, mbMore, ScHorizontalCellIterator::ColParam::mnCol, mnCol, mnRow, and sc::toRefCell().
Referenced by ScDocShell::AsciiSave(), ScDocShell::DBaseExport(), ScUsedAreaIterator::GetNext(), ScTabViewShell::GetSelectionText(), ScDBData::RefreshTableColumnNames(), and ScUsedAreaIterator::ScUsedAreaIterator().
Definition at line 1119 of file dociter.cxx.
| void ScHorizontalCellIterator::SetTab | ( | SCTAB | nTab | ) |
Set a(nother) sheet and (re)init.
Definition at line 1059 of file dociter.cxx.
References sc::element_type_empty, i, ScColumn::maCells, maColPos, maColPositions, ScHorizontalCellIterator::ColParam::maEnd, ScHorizontalCellIterator::ColParam::maPos, ScDocument::maTabs, mbMore, ScHorizontalCellIterator::ColParam::mnCol, mnCol, mnRow, mnTab, nEndCol, nStartCol, nStartRow, rDoc, and SkipInvalid().
Referenced by ScHorizontalCellIterator().
|
private |
Definition at line 1228 of file dociter.cxx.
References debugiter, FindNextNonEmptyRow(), maColPos, maColPositions, mbMore, mnRow, nEndRow, and SkipInvalidInRow().
|
private |
Definition at line 1129 of file dociter.cxx.
References debugiter, sc::element_type_empty, maColPos, maColPositions, ScHorizontalCellIterator::ColParam::maEnd, ScHorizontalCellIterator::ColParam::maPos, mbMore, mnCol, mnRow, and position().
Referenced by SkipInvalid().
|
private |
Definition at line 301 of file dociter.hxx.
Referenced by Advance(), GetNext(), SetTab(), SkipInvalid(), and SkipInvalidInRow().
|
private |
Definition at line 302 of file dociter.hxx.
Referenced by Advance(), FindNextNonEmptyRow(), ScHorizontalCellIterator(), SetTab(), SkipInvalid(), and SkipInvalidInRow().
|
private |
Definition at line 312 of file dociter.hxx.
Referenced by GetNext().
|
private |
Definition at line 313 of file dociter.hxx.
Referenced by Advance(), GetNext(), GetPos(), SetTab(), SkipInvalid(), and SkipInvalidInRow().
|
private |
Definition at line 310 of file dociter.hxx.
Referenced by GetNext(), GetPos(), SetTab(), and SkipInvalidInRow().
|
private |
Definition at line 311 of file dociter.hxx.
Referenced by FindNextNonEmptyRow(), GetNext(), GetPos(), SetTab(), SkipInvalid(), and SkipInvalidInRow().
|
private |
Definition at line 305 of file dociter.hxx.
Referenced by ScHorizontalCellIterator(), and SetTab().
|
private |
Definition at line 307 of file dociter.hxx.
Referenced by ScHorizontalCellIterator(), and SetTab().
|
private |
Definition at line 309 of file dociter.hxx.
Referenced by SkipInvalid().
|
private |
Definition at line 306 of file dociter.hxx.
Referenced by ScHorizontalCellIterator(), and SetTab().
|
private |
Definition at line 308 of file dociter.hxx.
Referenced by SetTab().
|
private |
Definition at line 304 of file dociter.hxx.
Referenced by FindNextNonEmptyRow(), ScHorizontalCellIterator(), and SetTab().