LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrObjListIter Class Reference

#include <svditer.hxx>

Public Member Functions

 SdrObjListIter (const SdrObjList *pObjList, SdrIterMode eMode=SdrIterMode::DeepNoGroups, bool bReverse=false)
 
 SdrObjListIter (const SdrObjList *pObjList, bool bUseZOrder, SdrIterMode eMode=SdrIterMode::DeepNoGroups, bool bReverse=false)
 
 SdrObjListIter (const SdrObject &rSdrObject, SdrIterMode eMode=SdrIterMode::DeepNoGroups, bool bReverse=false)
 
 SdrObjListIter (const SdrPage *pSdrPage, SdrIterMode eMode=SdrIterMode::DeepNoGroups, bool bReverse=false)
 
 SdrObjListIter (const SdrMarkList &rMarkList, SdrIterMode eMode=SdrIterMode::DeepNoGroups)
 Iterates over a list of marked objects received from the SdrMarkView. More...
 
void Reset ()
 
bool IsMore () const
 
SdrObjectNext ()
 
size_t Count ()
 

Private Member Functions

void ImpProcessObjectList (const SdrObjList &rSdrObjList, SdrIterMode eMode)
 
void ImpProcessMarkList (const SdrMarkList &rMarkList, SdrIterMode eMode)
 
void ImpProcessObj (const SdrObject &rSdrObject, SdrIterMode eMode)
 

Private Attributes

std::vector< const SdrObject * > maObjList
 
size_t mnIndex
 
bool const mbReverse
 
bool mbUseZOrder
 

Detailed Description

Definition at line 38 of file svditer.hxx.

Constructor & Destructor Documentation

SdrObjListIter::SdrObjListIter ( const SdrObjList pObjList,
SdrIterMode  eMode = SdrIterMode::DeepNoGroups,
bool  bReverse = false 
)
explicit

Definition at line 27 of file svditer.cxx.

References ImpProcessObjectList(), mnIndex, and Reset().

SdrObjListIter::SdrObjListIter ( const SdrObjList pObjList,
bool  bUseZOrder,
SdrIterMode  eMode = SdrIterMode::DeepNoGroups,
bool  bReverse = false 
)
explicit
SdrObjListIter::SdrObjListIter ( const SdrObject rSdrObject,
SdrIterMode  eMode = SdrIterMode::DeepNoGroups,
bool  bReverse = false 
)
explicit

Definition at line 61 of file svditer.cxx.

References ImpProcessObj(), mnIndex, and Reset().

SdrObjListIter::SdrObjListIter ( const SdrPage pSdrPage,
SdrIterMode  eMode = SdrIterMode::DeepNoGroups,
bool  bReverse = false 
)
explicit

Definition at line 71 of file svditer.cxx.

References ImpProcessObjectList(), mnIndex, and Reset().

SdrObjListIter::SdrObjListIter ( const SdrMarkList rMarkList,
SdrIterMode  eMode = SdrIterMode::DeepNoGroups 
)
explicit

Iterates over a list of marked objects received from the SdrMarkView.

TTTT used in sc

Definition at line 82 of file svditer.cxx.

References ImpProcessMarkList(), mnIndex, and Reset().

Member Function Documentation

size_t SdrObjListIter::Count ( )
inline

Definition at line 69 of file svditer.hxx.

Referenced by EnhancedCustomShape3d::Create3DObject().

void SdrObjListIter::ImpProcessMarkList ( const SdrMarkList rMarkList,
SdrIterMode  eMode 
)
private
void SdrObjListIter::ImpProcessObj ( const SdrObject rSdrObject,
SdrIterMode  eMode 
)
private
void SdrObjListIter::ImpProcessObjectList ( const SdrObjList rSdrObjList,
SdrIterMode  eMode 
)
private
bool SdrObjListIter::IsMore ( ) const
inline
SdrObject* SdrObjListIter::Next ( void  )
inline
void SdrObjListIter::Reset ( void  )
inline

Definition at line 61 of file svditer.hxx.

Referenced by lcl_hasObject(), and SdrObjListIter().

Member Data Documentation

std::vector< const SdrObject* > SdrObjListIter::maObjList
private

Definition at line 40 of file svditer.hxx.

Referenced by ImpProcessObj().

bool const SdrObjListIter::mbReverse
private

Definition at line 42 of file svditer.hxx.

bool SdrObjListIter::mbUseZOrder
private

Definition at line 43 of file svditer.hxx.

Referenced by ImpProcessObjectList(), and SdrObjListIter().

size_t SdrObjListIter::mnIndex
private

Definition at line 41 of file svditer.hxx.


The documentation for this class was generated from the following files: