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

Everything a View needs to know about a selected object. More...

#include <svdmark.hxx>

Inheritance diagram for SdrMark:
[legend]
Collaboration diagram for SdrMark:
[legend]

Public Member Functions

 SdrMark (SdrObject *pNewObj=nullptr, SdrPageView *pNewPageView=nullptr)
 
 SdrMark (const SdrMark &rMark)
 
virtual ~SdrMark ()
 
virtual void ObjectInDestruction (const SdrObject &rObject) override
 
SdrMarkoperator= (const SdrMark &rMark)
 
void SetMarkedSdrObj (SdrObject *pNewObj)
 
SdrObjectGetMarkedSdrObj () const
 
SdrPageViewGetPageView () const
 
void SetPageView (SdrPageView *pNewPageView)
 
void SetCon1 (bool bOn)
 
bool IsCon1 () const
 
void SetCon2 (bool bOn)
 
bool IsCon2 () const
 
void SetUser (sal_uInt16 nVal)
 
sal_uInt16 GetUser () const
 
const SdrUShortContGetMarkedPoints () const
 
const SdrUShortContGetMarkedGluePoints () const
 
SdrUShortContGetMarkedPoints ()
 
SdrUShortContGetMarkedGluePoints ()
 
sal_Int64 getTimeStamp () const
 
virtual void ObjectInDestruction (const SdrObject &rObject)=0
 

Private Member Functions

void setTime ()
 

Private Attributes

sal_Int64 mnTimeStamp
 
SdrObjectmpSelectedSdrObject
 
SdrPageViewmpPageView
 
SdrUShortCont maPoints
 
SdrUShortCont maGluePoints
 
bool mbCon1
 
bool mbCon2
 
sal_uInt16 mnUser
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::ObjectUser
 ~ObjectUser ()
 

Detailed Description

Everything a View needs to know about a selected object.

Definition at line 44 of file svdmark.hxx.

Constructor & Destructor Documentation

◆ SdrMark() [1/2]

SdrMark::SdrMark ( SdrObject pNewObj = nullptr,
SdrPageView pNewPageView = nullptr 
)
explicit

Definition at line 46 of file svdmark.cxx.

References SdrObject::AddObjectUser(), mpSelectedSdrObject, and setTime().

◆ SdrMark() [2/2]

SdrMark::SdrMark ( const SdrMark rMark)

Definition at line 60 of file svdmark.cxx.

◆ ~SdrMark()

SdrMark::~SdrMark ( )
virtual

Definition at line 72 of file svdmark.cxx.

References mpSelectedSdrObject, and SdrObject::RemoveObjectUser().

Member Function Documentation

◆ GetMarkedGluePoints() [1/2]

SdrUShortCont & SdrMark::GetMarkedGluePoints ( )
inline

Definition at line 125 of file svdmark.hxx.

◆ GetMarkedGluePoints() [2/2]

const SdrUShortCont & SdrMark::GetMarkedGluePoints ( ) const
inline

◆ GetMarkedPoints() [1/2]

SdrUShortCont & SdrMark::GetMarkedPoints ( )
inline

Definition at line 120 of file svdmark.hxx.

References maPoints.

◆ GetMarkedPoints() [2/2]

const SdrUShortCont & SdrMark::GetMarkedPoints ( ) const
inline

◆ GetMarkedSdrObj()

SdrObject * SdrMark::GetMarkedSdrObj ( ) const
inline

Definition at line 68 of file svdmark.hxx.

Referenced by SdrDragMethod::AddConnectorOverlays(), SdrEditView::AlignMarkedObjects(), SdrObjEditView::ApplyFormatPaintBrush(), svxform::NavigatorTreeModel::BroadcastMarkedObjects(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), SdrMarkView::CheckMarked(), SdrPolyEditView::CheckPolyPossibilitiesHelper(), SdrEditView::CheckPossibilities(), SdrEditView::CombineMarkedObjects(), SvxXConnectionPreview::Construct(), E3dView::ConvertMarkedObjTo3D(), SdrEditView::CopyMarkedObj(), E3dView::CreateMarkedObjModel(), SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrDragMethod::createSdrDragEntries_PointDrag(), SdrDragMethod::createSdrDragEntries_PolygonDrag(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrEditView::CrookMarkedObj(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrEditView::DeleteMarkedList(), SdrEditView::DeleteMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), SvxGraphCtrlAccessibleContext::deselectAccessibleChild(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DistortMarkedObj(), SdrEditView::DistributeMarkedObjects(), SdrEditView::DoImportMarkedMtf(), E3dDragMethod::E3dDragMethod(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrMarkView::EnterMarkedGroup(), SdrEditView::EqualizeMarkedObjects(), svx::MediaShellHelpers::Execute(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrEditView::ForceMarkedObjToAnotherPage(), 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(), SdrMarkView::GetMarkablePointCount(), SdrMarkList::GetMarkDescription(), FmFormView::getMarkedGrid(), SdrMarkView::GetMarkedObjBoundRect(), SdrExchangeView::GetMarkedObjects(), SdrPolyEditView::GetMarkedObjectsClosedState(), SdrMarkView::GetMarkedObjRect(), SdrEditView::GetMarkedObjRotate(), SdrEditView::GetMarkedObjShear(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), SdrMarkList::GetPointMarkDescription(), SvxGraphCtrlAccessibleContext::getSelectedAccessibleChild(), GraphCtrl::GetSelectedSdrObject(), svx::MediaShellHelpers::GetState(), SdrEditView::GetStyleSheetFromMarked(), SvxDrawPage::group(), SdrEditView::GroupMarked(), SdrMarkView::HasMarkableGluePoints(), SdrMarkView::HasMarkablePoints(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), SdrEditView::ImpConvertTo(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrMarkList::ImpForceSort(), SdrMarkView::ImpIsFrameHandles(), SdrObjListIter::ImpProcessMarkList(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrPolyEditView::ImpTransformMarkedPoints(), SdrMarkList::InsertEntry(), isControlList(), SdrMarkView::IsMarkedObjHit(), SdrPolyEditView::IsOpenCloseMarkedObjectsPossible(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), SdrView::MarkAll(), SdrMarkView::MarkGluePoints(), SdrObjEditView::MarkListHasChanged(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrEditView::MirrorMarkedObj(), SdrEditView::MoveMarkedObj(), SdrDragMove::MoveSdrDrag(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), FmXFormView::ObjectRemovedInAliveMode(), sdr::table::SvxTableController::onSelectionHasChanged(), SdrMarkView::PickGluePoint(), SdrMarkView::PickMarkedObj(), SdrMarkView::PickObj(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), SdrEditView::ResizeMarkedObj(), SdrEditView::ResizeMultMarkedObj(), FmXFormView::restoreMarkList(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrEditView::RotateMarkedObj(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), SetAlignmentState(), SdrEditView::SetAttrToMarked(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), SdrEditView::SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SdrMarkView::SetMarkHandles(), SdrMarkView::SetMarkHandlesForLOKit(), SdrEditView::SetNotPersistAttrToMarked(), svx::SignatureLineHelper::setShapeCertificate(), SdrEditView::SetStyleSheetToMarked(), SdrEditView::ShearMarkedObj(), SdrMarkList::TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), SdrMarkList::TakeSnapRect(), SdrMarkView::UndirtyMrkPnt(), and SdrEditView::UnGroupMarked().

◆ GetPageView()

SdrPageView * SdrMark::GetPageView ( ) const
inline

◆ getTimeStamp()

sal_Int64 SdrMark::getTimeStamp ( ) const
inline

Definition at line 130 of file svdmark.hxx.

Referenced by SdrEditView::EqualizeMarkedObjects().

◆ GetUser()

sal_uInt16 SdrMark::GetUser ( ) const
inline

Definition at line 105 of file svdmark.hxx.

Referenced by SdrEditView::CopyMarkedObj().

◆ IsCon1()

bool SdrMark::IsCon1 ( ) const
inline

◆ IsCon2()

bool SdrMark::IsCon2 ( ) const
inline

◆ ObjectInDestruction()

void SdrMark::ObjectInDestruction ( const SdrObject rObject)
overridevirtual

Implements sdr::ObjectUser.

Definition at line 80 of file svdmark.cxx.

References mpSelectedSdrObject.

◆ operator=()

SdrMark & SdrMark::operator= ( const SdrMark rMark)

◆ SetCon1()

void SdrMark::SetCon1 ( bool  bOn)
inline

Definition at line 80 of file svdmark.hxx.

Referenced by SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().

◆ SetCon2()

void SdrMark::SetCon2 ( bool  bOn)
inline

Definition at line 90 of file svdmark.hxx.

Referenced by SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().

◆ SetMarkedSdrObj()

void SdrMark::SetMarkedSdrObj ( SdrObject pNewObj)

◆ SetPageView()

void SdrMark::SetPageView ( SdrPageView pNewPageView)
inline

Definition at line 75 of file svdmark.hxx.

Referenced by SdrEditView::ForceMarkedObjToAnotherPage().

◆ setTime()

void SdrMark::setTime ( )
private

Definition at line 39 of file svdmark.cxx.

References mnTimeStamp.

Referenced by SdrMark().

◆ SetUser()

void SdrMark::SetUser ( sal_uInt16  nVal)
inline

Definition at line 100 of file svdmark.hxx.

Referenced by SdrEditView::CopyMarkedObj().

Member Data Documentation

◆ maGluePoints

SdrUShortCont SdrMark::maGluePoints
private

Definition at line 50 of file svdmark.hxx.

Referenced by operator=().

◆ maPoints

SdrUShortCont SdrMark::maPoints
private

Definition at line 49 of file svdmark.hxx.

Referenced by operator=().

◆ mbCon1

bool SdrMark::mbCon1
private

Definition at line 51 of file svdmark.hxx.

Referenced by operator=().

◆ mbCon2

bool SdrMark::mbCon2
private

Definition at line 52 of file svdmark.hxx.

Referenced by operator=().

◆ mnTimeStamp

sal_Int64 SdrMark::mnTimeStamp
private

Definition at line 46 of file svdmark.hxx.

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

◆ mnUser

sal_uInt16 SdrMark::mnUser
private

Definition at line 53 of file svdmark.hxx.

Referenced by operator=().

◆ mpPageView

SdrPageView* SdrMark::mpPageView
private

Definition at line 48 of file svdmark.hxx.

Referenced by operator=().

◆ mpSelectedSdrObject

SdrObject* SdrMark::mpSelectedSdrObject
private

Definition at line 47 of file svdmark.hxx.

Referenced by ObjectInDestruction(), operator=(), SdrMark(), SetMarkedSdrObj(), and ~SdrMark().


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