LibreOffice Module sc (master)  1
edittextiterator.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_SC_INC_EDITTEXTITERATOR_HXX
11 #define INCLUDED_SC_INC_EDITTEXTITERATOR_HXX
12 
13 #include "types.hxx"
14 #include "mtvelements.hxx"
15 
16 class ScTable;
17 class ScDocument;
18 class EditTextObject;
19 
20 namespace sc
21 {
29 {
30  const ScTable& mrTable;
33  CellStoreType::const_position_type maPos;
34  CellStoreType::const_iterator miEnd;
35 
40  const EditTextObject* seek();
41 
42  void incBlock();
46  void init();
47 
48 public:
49  EditTextIterator(const ScDocument& rDoc, SCTAB nTab);
50 
51  const EditTextObject* first();
52  const EditTextObject* next();
53 };
54 }
55 
56 #endif
57 
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
EditTextIterator(const ScDocument &rDoc, SCTAB nTab)
const CellStoreType * mpCells
const EditTextObject * first()
mdds::multi_type_vector< CellFunc, CellStoreEvent > CellStoreType
sal_Int16 SCCOL
Definition: types.hxx:22
CellStoreType::const_position_type maPos
const ScTable & mrTable
Iterate through all edit text cells in a given sheet.
const EditTextObject * next()
const EditTextObject * seek()
Move to the next edit text cell position if the current position is not an edit text.
CellStoreType::const_iterator miEnd
sal_Int16 SCTAB
Definition: types.hxx:23
void init()
Initialize members w.r.t the dynamic column container in the given table.