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 135 of file svdmark.hxx.

Constructor & Destructor Documentation

SdrMarkList::SdrMarkList ( )
inline

Definition at line 152 of file svdmark.hxx.

SdrMarkList::SdrMarkList ( const SdrMarkList rLst)
inline

Definition at line 161 of file svdmark.hxx.

SdrMarkList::~SdrMarkList ( )
inline

Definition at line 167 of file svdmark.hxx.

Member Function Documentation

void SdrMarkList::Clear ( )
void SdrMarkList::DeleteMark ( size_t  nNum)
bool SdrMarkList::DeletePageView ( const SdrPageView rPV)
size_t SdrMarkList::FindObject ( const SdrObject pObj) const

Definition at line 239 of file svdmark.cxx.

References maList.

Referenced by sdr::ViewSelection::ImpForceEdgesOfMarkedNodes().

void SdrMarkList::ForceSort ( ) const
const OUString& SdrMarkList::GetGluePointMarkDescription ( ) const
inline

Definition at line 209 of file svdmark.hxx.

SdrMark * SdrMarkList::GetMark ( size_t  nNum) const

Definition at line 234 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::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(), SvxDrawPage::group(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), sdr::ViewSelection::ImpForceEdgesOfMarkedNodes(), SdrObjListIter::ImpProcessMarkList(), InsertEntry(), isControlList(), SdrObjEditView::MarkListHasChanged(), SdrDragMove::MoveSdrDrag(), FmXFormView::ObjectRemovedInAliveMode(), sdr::table::SvxTableController::onSelectionHasChanged(), operator=(), ReplaceMark(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), SetAlignmentState(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), and TakeSnapRect().

size_t SdrMarkList::GetMarkCount ( ) const
inline

Definition at line 179 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::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(), SvxDrawPage::group(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), sdr::ViewSelection::ImpForceEdgesOfMarkedNodes(), SdrObjListIter::ImpProcessMarkList(), isControlList(), SdrObjEditView::MarkListHasChanged(), SdrDragMove::MoveSdrDrag(), FmXFormView::ObjectRemovedInAliveMode(), sdr::table::SvxTableController::onSelectionHasChanged(), operator=(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), E3dView::Set3DAttributes(), SetAlignmentState(), SetCharacterSpacingState(), FmXFormShell::setCurrentSelectionFromMark_Lock(), FmXFormShell::SetDesignMode_Lock(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), and TakeSnapRect().

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

Definition at line 204 of file svdmark.hxx.

void SdrMarkList::ImpForceSort ( )
private
void SdrMarkList::InsertEntry ( const SdrMark rMark,
bool  bChkSort = true 
)
bool SdrMarkList::InsertPageView ( const SdrPageView rPV)
void SdrMarkList::Merge ( const SdrMarkList rSrcList,
bool  bReverse = false 
)

Definition at line 347 of file svdmark.cxx.

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

SdrMarkList & SdrMarkList::operator= ( const SdrMarkList rLst)
void SdrMarkList::ReplaceMark ( const SdrMark rNewMark,
size_t  nNum 
)

Definition at line 334 of file svdmark.cxx.

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

void SdrMarkList::SetNameDirty ( )
inline
void SdrMarkList::SetUnsorted ( )
inline

Definition at line 174 of file svdmark.hxx.

Referenced by SdrMarkView::ModelHasChanged().

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

Member Data Documentation

OUString SdrMarkList::maGluePointName
private

Definition at line 141 of file svdmark.hxx.

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

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

Definition at line 139 of file svdmark.hxx.

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

OUString SdrMarkList::maPointName
private

Definition at line 140 of file svdmark.hxx.

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

bool SdrMarkList::mbGluePointNameOk
private

Definition at line 144 of file svdmark.hxx.

Referenced by GetPointMarkDescription().

bool SdrMarkList::mbNameOk
private

Definition at line 145 of file svdmark.hxx.

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

bool SdrMarkList::mbPointNameOk
private

Definition at line 143 of file svdmark.hxx.

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

bool SdrMarkList::mbSorted
private

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