19template<
typename Func>
23 ProcessElements1<CellStoreType, formula_block, Func, FuncElseNoOp<size_t> >(rStore, rFunc, aElse);
26template<
typename FuncElem>
27typename CellStoreType::iterator
44template<
typename FuncElem,
typename FuncElse>
45typename CellStoreType::iterator
47 const CellStoreType::iterator& it,
CellStoreType& rStore,
SCROW nRow1,
SCROW nRow2, FuncElem& rFuncElem, FuncElse& rFuncElse)
53template<
typename Func>
54CellStoreType::iterator
58 return ProcessElements1<CellStoreType, edittext_block, Func, FuncElseNoOp<size_t> >(
59 itPos, rStore, nRow1, nRow2, rFunc, aElse);
62template<
typename Func>
67 ParseElements1<CellStoreType, formula_block, Func, FuncElseNoOp<size_t> >(rStore, rFunc, aElse);
70template<
typename Func>
71typename CellStoreType::const_iterator
73 const CellStoreType::const_iterator& itPos,
const CellStoreType& rStore,
77 return ParseElements1<CellStoreType, formula_block, Func, FuncElseNoOp<size_t> >(
78 itPos, rStore, nStart, nEnd, rFunc, aElse);
81template<
typename FuncElem,
typename FuncElse>
82typename CellStoreType::const_iterator
84 const typename CellStoreType::const_iterator& itPos,
const CellStoreType& rCells,
85 SCROW nRow1,
SCROW nRow2, FuncElem& rFuncElem, FuncElse& rFuncElse)
90 itPos, rCells, nRow1, nRow2, rFuncElem, rFuncElse);
93template<
typename Func>
94typename CellStoreType::const_iterator
96 const typename CellStoreType::const_iterator& itPos,
const CellStoreType& rCells,
103 itPos, rCells, nRow1, nRow2, rFunc, aElse);
106template<
typename Func>
107typename CellStoreType::const_iterator
109 const CellStoreType::const_iterator& itPos,
const CellStoreType& rCells,
115 itPos, rCells, nRow1, nRow2, rFunc, aElse);
118template<
typename Func>
124 ProcessElements2Reverse<CellStoreType, edittext_block, formula_block, Func, FuncElseNoOp<size_t> >(rStore, rFunc, aElse);
127template<
typename Func>
128std::pair<CellStoreType::const_iterator, size_t>
131 typedef std::pair<size_t,bool> ElseRetType;
133 return FindElement1<CellStoreType, formula_block, Func, FuncElseNoOp<size_t, ElseRetType> >(rStore, nRow1, nRow2, rFunc, aElse);
136template<
typename Func>
137std::pair<CellStoreType::const_iterator, size_t>
140 return FindElement2<CellStoreType, edittext_block, formula_block, Func, Func>(rStore, nRow1, nRow2, rFunc, rFunc);
143template<
typename Func>
147 ProcessElements1<CellNoteStoreType, cellnote_block, Func, FuncElseNoOp<size_t> >(rStore, rFunc, aElse);
150template<
typename Func>
151typename CellNoteStoreType::const_iterator
157 return ParseElements1<CellNoteStoreType, cellnote_block, Func, FuncElseNoOp<size_t> >(
158 itPos, rStore, nStart, nEnd, rFunc, aElse);
161template<
typename FuncElem>
162typename CellNoteStoreType::iterator
171template<
typename FuncElem>
172typename BroadcasterStoreType::iterator
181template<
typename Functor>
182typename SparklineStoreType::const_iterator
186 return ParseElements1<SparklineStoreType, sparkline_block, Functor, FuncElseNoOp<size_t> >(itPos, rStore, nStart, nEnd, rFunctor, aElse);
CAUTION! The following defines must be in the same namespace as the respective type.
CellStoreType::const_iterator ParseAllNonEmpty(const typename CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, Func &rFunc)
SparklineStoreType::const_iterator ParseSparkline(const SparklineStoreType::const_iterator &itPos, const SparklineStoreType &rStore, SCROW nStart, SCROW nEnd, Functor &rFunctor)
CellNoteStoreType::const_iterator ParseNote(const CellNoteStoreType::const_iterator &itPos, const CellNoteStoreType &rStore, SCROW nStart, SCROW nEnd, Func &rFunc)
CellStoreType::iterator ProcessFormula(const CellStoreType::iterator &it, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, std::function< void(size_t, ScFormulaCell *)> aFuncElem)
Process formula cells found within specified row range.
std::pair< CellStoreType::const_iterator, size_t > FindFormula(const CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
mdds::mtv::double_element_block numeric_block
Mapped standard element blocks (for convenience).
mdds::mtv::soa::multi_type_vector< CellNodeTraits > CellNoteStoreType
Cell note container.
mdds::mtv::soa::multi_type_vector< SparklineTraits > SparklineStoreType
Sparkline container.
mdds::mtv::noncopyable_managed_element_block< element_type_formula, ScFormulaCell > formula_block
StoreT::const_iterator ParseElements4(const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
BroadcasterStoreType::iterator ProcessBroadcaster(const BroadcasterStoreType::iterator &it, BroadcasterStoreType &rStore, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem)
void ParseFormula(const CellStoreType &rStore, Func &rFunc)
mdds::mtv::soa::multi_type_vector< CellStoreTraits > CellStoreType
Cell container.
mdds::mtv::noncopyable_managed_element_block< element_type_broadcaster, SvtBroadcaster > broadcaster_block
void ProcessFormulaEditText(CellStoreType &rStore, Func &rFunc)
CellStoreType::const_iterator ParseFormulaNumeric(const CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, Func &rFunc)
CellStoreType::const_iterator ParseAll(const typename CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem, FuncElse &rFuncElse)
mdds::mtv::default_element_block< element_type_string, svl::SharedString > string_block
void ProcessElements1(StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
mdds::mtv::noncopyable_managed_element_block< element_type_edittext, EditTextObject > edittext_block
std::pair< CellStoreType::const_iterator, size_t > FindFormulaEditText(const CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
CellStoreType::iterator ProcessEditText(const CellStoreType::iterator &itPos, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
mdds::mtv::noncopyable_managed_element_block< element_type_cellnote, ScPostIt > cellnote_block
mdds::mtv::soa::multi_type_vector< BroadcasterTraits > BroadcasterStoreType
Broadcaster storage container.
void ProcessNote(CellNoteStoreType &rStore, Func &rFunc)
StoreT::const_iterator ParseElements2(const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)