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

#include <svdmark.hxx>

Public Member Functions

 SdrMarkList ()
 
 SdrMarkList (const SdrMarkList &rLst)
 
 ~SdrMarkList ()
 
void Clear ()
 
void ForceSort () const
 
void SetUnsorted ()
 
size_t GetMarkCount () const
 
SdrMarkGetMark (size_t nNum) const
 
size_t FindObject (const SdrObject *pObj) const
 
void InsertEntry (const SdrMark &rMark, bool bChkSort=true)
 
void DeleteMark (size_t nNum)
 
void ReplaceMark (const SdrMark &rNewMark, size_t nNum)
 
void Merge (const SdrMarkList &rSrcList, bool bReverse=false)
 
bool DeletePageView (const SdrPageView &rPV)
 
bool InsertPageView (const SdrPageView &rPV)
 
void SetNameDirty ()
 
const OUString & GetMarkDescription () const
 
const OUString & GetPointMarkDescription () const
 
const OUString & GetGluePointMarkDescription () const
 
bool TakeBoundRect (SdrPageView const *pPageView, tools::Rectangle &rRect) const
 
bool TakeSnapRect (SdrPageView const *pPageView, tools::Rectangle &rRect) const
 
SdrMarkListoperator= (const SdrMarkList &rLst)
 

Private Member Functions

SVX_DLLPRIVATE void ImpForceSort ()
 
SVX_DLLPRIVATE const OUString & GetPointMarkDescription (bool bGlue) const
 

Private Attributes

std::vector< std::unique_ptr< SdrMark > > maList
 
OUString maMarkName
 
OUString maPointName
 
OUString maGluePointName
 
bool mbPointNameOk
 
bool mbGluePointNameOk
 
bool mbNameOk
 
bool mbSorted
 

Detailed Description

Definition at line 136 of file svdmark.hxx.

Constructor & Destructor Documentation

◆ SdrMarkList() [1/2]

SdrMarkList::SdrMarkList ( )
inline

Definition at line 153 of file svdmark.hxx.

◆ SdrMarkList() [2/2]

SdrMarkList::SdrMarkList ( const SdrMarkList rLst)
inline

Definition at line 161 of file svdmark.hxx.

◆ ~SdrMarkList()

SdrMarkList::~SdrMarkList ( )
inline

Definition at line 166 of file svdmark.hxx.

References Clear().

Member Function Documentation

◆ Clear()

void SdrMarkList::Clear ( )

◆ DeleteMark()

void SdrMarkList::DeleteMark ( size_t  nNum)

◆ DeletePageView()

bool SdrMarkList::DeletePageView ( const SdrPageView rPV)

◆ FindObject()

size_t SdrMarkList::FindObject ( const SdrObject pObj) const

Definition at line 235 of file svdmark.cxx.

References a, and maList.

◆ ForceSort()

void SdrMarkList::ForceSort ( ) const

◆ GetGluePointMarkDescription()

const OUString & SdrMarkList::GetGluePointMarkDescription ( ) const
inline

Definition at line 208 of file svdmark.hxx.

◆ GetMark()

SdrMark * SdrMarkList::GetMark ( size_t  nNum) const

Definition at line 230 of file svdmark.cxx.

References maList.

Referenced by SdrDragMethod::AddConnectorOverlays(), SdrObjEditView::ApplyFormatPaintBrush(), svxform::NavigatorTreeModel::BroadcastMarkedObjects(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), SvxXConnectionPreview::Construct(), SdrEditView::CopyMarkedObj(), E3dView::CreateMarkedObjModel(), DeleteMark(), SdrEditView::DeleteMarkedList(), SdrEditView::DeleteMarkedObj(), SvxGraphCtrlAccessibleContext::deselectAccessibleChild(), SdrEditView::DoImportMarkedMtf(), E3dDragMethod::E3dDragMethod(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrEditView::EqualizeMarkedObjects(), svx::MediaShellHelpers::Execute(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), getExtrusionColorState(), getExtrusionDepthState(), getExtrusionDirectionState(), getExtrusionLightingDirectionState(), getExtrusionLightingIntensityState(), getExtrusionProjectionState(), getExtrusionSurfaceState(), SdrEditView::GetGeoAttrFromMarked(), SvxGrafAttrHelper::GetGrafAttrState(), svx::sidebar::SelectionAnalyzer::GetInventorTypeFromMark(), GetMarkDescription(), FmFormView::getMarkedGrid(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), GetPointMarkDescription(), SvxGraphCtrlAccessibleContext::getSelectedAccessibleChild(), GraphCtrl::GetSelectedSdrObject(), svx::MediaShellHelpers::GetState(), SvxDrawPage::group(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), SdrObjListIter::ImpProcessMarkList(), InsertEntry(), isControlList(), SdrView::MarkAll(), SdrObjEditView::MarkListHasChanged(), SdrDragMove::MoveSdrDrag(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), FmXFormView::ObjectRemovedInAliveMode(), sdr::table::SvxTableController::onSelectionHasChanged(), operator=(), ReplaceMark(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), SetAlignmentState(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), svx::SignatureLineHelper::setShapeCertificate(), TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), and TakeSnapRect().

◆ GetMarkCount()

size_t SdrMarkList::GetMarkCount ( ) const
inline

Definition at line 178 of file svdmark.hxx.

Referenced by SdrDragMethod::AddConnectorOverlays(), svxform::NavigatorTreeModel::BroadcastMarkedObjects(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), IMapWindow::Command(), SvxXConnectionPreview::Construct(), SdrEditView::CopyMarkedObj(), SdrEditView::DeleteMarkedList(), SdrEditView::DeleteMarkedObj(), SvxGraphCtrlAccessibleContext::deselectAccessibleChild(), SdrDragMethod::DoAddConnectorOverlays(), SdrEditView::DoImportMarkedMtf(), E3dDragMethod::E3dDragMethod(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrEditView::EqualizeMarkedObjects(), svx::MediaShellHelpers::Execute(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), E3dView::Get3DAttributes(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), getExtrusionColorState(), getExtrusionDepthState(), getExtrusionDirectionState(), getExtrusionLightingDirectionState(), getExtrusionLightingIntensityState(), getExtrusionProjectionState(), getExtrusionSurfaceState(), SdrEditView::GetGeoAttrFromMarked(), SvxGrafAttrHelper::GetGrafAttrState(), svx::sidebar::SelectionAnalyzer::GetInventorTypeFromMark(), GetMarkDescription(), FmFormView::getMarkedGrid(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), GetPointMarkDescription(), SvxGraphCtrlAccessibleContext::getSelectedAccessibleChildCount(), GraphCtrl::GetSelectedSdrObject(), svx::MediaShellHelpers::GetState(), SvxDrawPage::group(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), SdrObjListIter::ImpProcessMarkList(), isControlList(), SdrView::MarkAll(), SdrObjEditView::MarkListHasChanged(), SdrDragMove::MoveSdrDrag(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), FmXFormView::ObjectRemovedInAliveMode(), sdr::table::SvxTableController::onSelectionHasChanged(), operator=(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), E3dView::Set3DAttributes(), SetAlignmentState(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), svx::SignatureLineHelper::setShapeCertificate(), TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), and TakeSnapRect().

◆ GetMarkDescription()

const OUString & SdrMarkList::GetMarkDescription ( ) const

◆ GetPointMarkDescription() [1/2]

const OUString & SdrMarkList::GetPointMarkDescription ( ) const
inline

Definition at line 203 of file svdmark.hxx.

◆ GetPointMarkDescription() [2/2]

const OUString & SdrMarkList::GetPointMarkDescription ( bool  bGlue) const
private

◆ ImpForceSort()

void SdrMarkList::ImpForceSort ( )
private

◆ InsertEntry()

void SdrMarkList::InsertEntry ( const SdrMark rMark,
bool  bChkSort = true 
)

◆ InsertPageView()

bool SdrMarkList::InsertPageView ( const SdrPageView rPV)

◆ Merge()

void SdrMarkList::Merge ( const SdrMarkList rSrcList,
bool  bReverse = false 
)

Definition at line 343 of file svdmark.cxx.

References i, InsertEntry(), maList, mbSorted, and nCount.

Referenced by SdrEditView::GroupMarked(), and SdrEditView::UnGroupMarked().

◆ operator=()

SdrMarkList & SdrMarkList::operator= ( const SdrMarkList rLst)

◆ ReplaceMark()

void SdrMarkList::ReplaceMark ( const SdrMark rNewMark,
size_t  nNum 
)

Definition at line 330 of file svdmark.cxx.

References DBG_ASSERT, GetMark(), maList, mbSorted, and SetNameDirty().

Referenced by SdrEditView::ImpConvertTo().

◆ SetNameDirty()

void SdrMarkList::SetNameDirty ( )
inline

◆ SetUnsorted()

void SdrMarkList::SetUnsorted ( )
inline

Definition at line 173 of file svdmark.hxx.

Referenced by SdrMarkView::ModelHasChanged().

◆ TakeBoundRect()

bool SdrMarkList::TakeBoundRect ( SdrPageView const *  pPageView,
tools::Rectangle rRect 
) const

◆ TakeSnapRect()

bool SdrMarkList::TakeSnapRect ( SdrPageView const *  pPageView,
tools::Rectangle rRect 
) const

Member Data Documentation

◆ maGluePointName

OUString SdrMarkList::maGluePointName
private

Definition at line 142 of file svdmark.hxx.

Referenced by GetPointMarkDescription(), and operator=().

◆ maList

std::vector<std::unique_ptr<SdrMark> > SdrMarkList::maList
private

◆ maMarkName

OUString SdrMarkList::maMarkName
private

Definition at line 140 of file svdmark.hxx.

Referenced by GetMarkDescription(), and operator=().

◆ maPointName

OUString SdrMarkList::maPointName
private

Definition at line 141 of file svdmark.hxx.

Referenced by GetPointMarkDescription(), and operator=().

◆ mbGluePointNameOk

bool SdrMarkList::mbGluePointNameOk
private

Definition at line 145 of file svdmark.hxx.

Referenced by GetPointMarkDescription().

◆ mbNameOk

bool SdrMarkList::mbNameOk
private

Definition at line 146 of file svdmark.hxx.

Referenced by GetMarkDescription(), and operator=().

◆ mbPointNameOk

bool SdrMarkList::mbPointNameOk
private

Definition at line 144 of file svdmark.hxx.

Referenced by GetPointMarkDescription(), and operator=().

◆ mbSorted

bool SdrMarkList::mbSorted
private

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