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 () const
 

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 mbReverse
 
bool mbUseZOrder
 

Detailed Description

Definition at line 38 of file svditer.hxx.

Constructor & Destructor Documentation

◆ SdrObjListIter() [1/5]

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

Definition at line 26 of file svditer.cxx.

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

◆ SdrObjListIter() [2/5]

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

◆ SdrObjListIter() [3/5]

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

Definition at line 58 of file svditer.cxx.

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

◆ SdrObjListIter() [4/5]

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

Definition at line 67 of file svditer.cxx.

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

◆ SdrObjListIter() [5/5]

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 77 of file svditer.cxx.

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

Member Function Documentation

◆ Count()

size_t SdrObjListIter::Count ( ) const
inline

◆ ImpProcessMarkList()

void SdrObjListIter::ImpProcessMarkList ( const SdrMarkList rMarkList,
SdrIterMode  eMode 
)
private

◆ ImpProcessObj()

void SdrObjListIter::ImpProcessObj ( const SdrObject rSdrObject,
SdrIterMode  eMode 
)
private

◆ ImpProcessObjectList()

void SdrObjListIter::ImpProcessObjectList ( const SdrObjList rSdrObjList,
SdrIterMode  eMode 
)
private

◆ IsMore()

bool SdrObjListIter::IsMore ( ) const
inline

Definition at line 62 of file svditer.hxx.

References mnIndex.

Referenced by svx::ThemeColorChanger::apply(), E3dView::BreakSingle3DObj(), sdr::properties::BaseProperties::BroadcastItemChange(), FmFormView::ChangeDesignMode(), svxform::collectShapeModelMapping(), SdrEditView::CombineMarkedTextObjects(), EnhancedCustomShape3d::Create3DObject(), SdrEditView::CreateConnectorUndo(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrEditView::CrookMarkedObj(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DistortMarkedObj(), E3dView::DoDepthArrange(), getAllHit3DObjectsSortedFrontToBack(), GetOutlinesFromShape2d(), SdrEditView::ImpCanConvertForCombine(), SdrEditView::ImpCanDismantle(), SdrEditView::ImpConvertTo(), E3dView::ImpCreate3DObject(), ImpCreateShadowObjectClone(), SdrEditView::ImpGetPolyPolygon(), SdrEditView::ImpGetPolyPolygon1(), E3dView::ImpIsConvertTo3DPossible(), FmFormPageImpl::impl_createControlShapeMap_nothrow(), IMPL_LINK(), FmFormPageImpl::initFrom(), FmXUndoEnvironment::Inserted(), ImpSdrPdfImport::InsertObj(), ImpSdrGDIMetaFileImport::InsertObj(), svxform::NavigatorTreeModel::InsertSdrObj(), E3dScene::IsBreakObjPossible(), isControlList(), sdr::properties::ItemChangeBroadcaster::ItemChangeBroadcaster(), lcl_hasObject(), SdrObject::MakeNameUnique(), SdrPage::MakePageObjectsNamesUnique(), svxform::NavigatorTree::MarkViewObj(), SdrEditView::MergeMarkedObjects(), SdrModel::ReadUserDataSequenceValue(), E3dScene::RebuildLists(), FmXUndoEnvironment::Removed(), svxform::NavigatorTreeModel::RemoveSdrObj(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrPage::SetInserted(), Svx3DSceneObject::setPropertyValueImpl(), SdrSnapView::SnapPos(), and SdrObjCustomShape::TakeObjInfo().

◆ Next()

SdrObject * SdrObjListIter::Next ( )
inline

Definition at line 63 of file svditer.hxx.

References idx, and mnIndex.

Referenced by svx::ThemeColorChanger::apply(), E3dView::BreakSingle3DObj(), sdr::properties::BaseProperties::BroadcastItemChange(), FmFormView::ChangeDesignMode(), svxform::collectShapeModelMapping(), SdrEditView::CombineMarkedTextObjects(), EnhancedCustomShape3d::Create3DObject(), SdrEditView::CreateConnectorUndo(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrEditView::CrookMarkedObj(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DistortMarkedObj(), E3dView::DoDepthArrange(), getAllHit3DObjectsSortedFrontToBack(), GetOutlinesFromShape2d(), SdrEditView::ImpCanConvertForCombine(), SdrEditView::ImpCanDismantle(), SdrEditView::ImpConvertTo(), SdrEditView::ImpCopyAttributes(), E3dView::ImpCreate3DObject(), ImpCreateShadowObjectClone(), SdrEditView::ImpGetPolyPolygon(), SdrEditView::ImpGetPolyPolygon1(), E3dView::ImpIsConvertTo3DPossible(), FmFormPageImpl::impl_createControlShapeMap_nothrow(), IMPL_LINK(), FmFormPageImpl::initFrom(), FmXUndoEnvironment::Inserted(), ImpSdrPdfImport::InsertObj(), ImpSdrGDIMetaFileImport::InsertObj(), svxform::NavigatorTreeModel::InsertSdrObj(), E3dScene::IsBreakObjPossible(), isControlList(), sdr::properties::ItemChangeBroadcaster::ItemChangeBroadcaster(), lcl_hasObject(), SdrObject::MakeNameUnique(), SdrPage::MakePageObjectsNamesUnique(), svxform::NavigatorTree::MarkViewObj(), SdrEditView::MergeMarkedObjects(), SdrModel::ReadUserDataSequenceValue(), E3dScene::RebuildLists(), FmXUndoEnvironment::Removed(), svxform::NavigatorTreeModel::RemoveSdrObj(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrPage::SetInserted(), Svx3DSceneObject::setPropertyValueImpl(), SdrSnapView::SnapPos(), and SdrObjCustomShape::TakeObjInfo().

◆ Reset()

void SdrObjListIter::Reset ( void  )
inline

Definition at line 61 of file svditer.hxx.

References mnIndex.

Referenced by lcl_hasObject(), SdrObjListIter(), and Svx3DSceneObject::setPropertyValueImpl().

Member Data Documentation

◆ maObjList

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

Definition at line 40 of file svditer.hxx.

Referenced by ImpProcessObj().

◆ mbReverse

bool SdrObjListIter::mbReverse
private

Definition at line 42 of file svditer.hxx.

◆ mbUseZOrder

bool SdrObjListIter::mbUseZOrder
private

Definition at line 43 of file svditer.hxx.

Referenced by ImpProcessObjectList(), and SdrObjListIter().

◆ mnIndex

size_t SdrObjListIter::mnIndex
private

Definition at line 41 of file svditer.hxx.


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