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
 

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

Constructor & Destructor Documentation

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

Definition at line 50 of file svdmark.cxx.

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

SdrMark::SdrMark ( const SdrMark rMark)

Definition at line 64 of file svdmark.cxx.

SdrMark::~SdrMark ( )
virtual

Definition at line 76 of file svdmark.cxx.

References mpSelectedSdrObject, and SdrObject::RemoveObjectUser().

Member Function Documentation

const SdrUShortCont& SdrMark::GetMarkedGluePoints ( ) const
inline
SdrUShortCont& SdrMark::GetMarkedGluePoints ( )
inline

Definition at line 124 of file svdmark.hxx.

const SdrUShortCont& SdrMark::GetMarkedPoints ( ) const
inline
SdrUShortCont& SdrMark::GetMarkedPoints ( )
inline

Definition at line 119 of file svdmark.hxx.

SdrObject* SdrMark::GetMarkedSdrObj ( ) const
inline

Definition at line 67 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::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(), SdrEditView::GetStyleSheetFromMarked(), SvxDrawPage::group(), SdrEditView::GroupMarked(), SdrMarkView::HasMarkableGluePoints(), SdrMarkView::HasMarkablePoints(), SdrEditView::ImpBroadcastEdgesOfMarkedNodes(), SdrEditView::ImpConvertTo(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), sdr::ViewSelection::ImpForceEdgesOfMarkedNodes(), SdrMarkList::ImpForceSort(), SdrMarkView::ImpIsFrameHandles(), SdrObjListIter::ImpProcessMarkList(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrPolyEditView::ImpTransformMarkedPoints(), SdrMarkList::InsertEntry(), isControlList(), SdrMarkView::IsMarkedObjHit(), SdrPolyEditView::IsOpenCloseMarkedObjectsPossible(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), SdrMarkView::MarkGluePoints(), SdrObjEditView::MarkListHasChanged(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrEditView::MirrorMarkedObj(), SdrEditView::MoveMarkedObj(), SdrDragMove::MoveSdrDrag(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), 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(), SdrEditView::SetNotPersistAttrToMarked(), SdrEditView::SetStyleSheetToMarked(), SdrEditView::ShearMarkedObj(), SdrMarkList::TakeBoundRect(), SdrObjEditView::TakeFormatPaintBrush(), SdrMarkList::TakeSnapRect(), SdrMarkView::UndirtyMrkPnt(), and SdrEditView::UnGroupMarked().

SdrPageView* SdrMark::GetPageView ( ) const
inline
sal_Int64 SdrMark::getTimeStamp ( ) const
inline

Definition at line 129 of file svdmark.hxx.

Referenced by SdrEditView::EqualizeMarkedObjects().

sal_uInt16 SdrMark::GetUser ( ) const
inline

Definition at line 104 of file svdmark.hxx.

Referenced by SdrEditView::CopyMarkedObj().

bool SdrMark::IsCon1 ( ) const
inline
bool SdrMark::IsCon2 ( ) const
inline
void SdrMark::ObjectInDestruction ( const SdrObject rObject)
overridevirtual

Implements sdr::ObjectUser.

Definition at line 84 of file svdmark.cxx.

References mpSelectedSdrObject, and void().

SdrMark & SdrMark::operator= ( const SdrMark rMark)
void SdrMark::SetCon1 ( bool  bOn)
inline
void SdrMark::SetCon2 ( bool  bOn)
inline

Definition at line 89 of file svdmark.hxx.

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

void SdrMark::SetMarkedSdrObj ( SdrObject pNewObj)
void SdrMark::SetPageView ( SdrPageView pNewPageView)
inline

Definition at line 74 of file svdmark.hxx.

Referenced by SdrEditView::ForceMarkedObjToAnotherPage().

void SdrMark::setTime ( )
private

Definition at line 43 of file svdmark.cxx.

References mnTimeStamp.

Referenced by SdrMark().

void SdrMark::SetUser ( sal_uInt16  nVal)
inline

Definition at line 99 of file svdmark.hxx.

Referenced by SdrEditView::CopyMarkedObj().

Member Data Documentation

SdrUShortCont SdrMark::maGluePoints
private

Definition at line 49 of file svdmark.hxx.

Referenced by operator=().

SdrUShortCont SdrMark::maPoints
private

Definition at line 48 of file svdmark.hxx.

Referenced by operator=().

bool SdrMark::mbCon1
private

Definition at line 50 of file svdmark.hxx.

Referenced by operator=().

bool SdrMark::mbCon2
private

Definition at line 51 of file svdmark.hxx.

Referenced by operator=().

sal_Int64 SdrMark::mnTimeStamp
private

Definition at line 45 of file svdmark.hxx.

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

sal_uInt16 SdrMark::mnUser
private

Definition at line 52 of file svdmark.hxx.

Referenced by operator=().

SdrPageView* SdrMark::mpPageView
private

Definition at line 47 of file svdmark.hxx.

Referenced by operator=().

SdrObject* SdrMark::mpSelectedSdrObject
private

Definition at line 46 of file svdmark.hxx.

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


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