LibreOffice Module svx (master) 1
|
Everything a View needs to know about a selected object. More...
#include <svdmark.hxx>
Public Member Functions | |
SdrMark (SdrObject *pNewObj=nullptr, SdrPageView *pNewPageView=nullptr) | |
SdrMark (const SdrMark &rMark) | |
virtual | ~SdrMark () |
virtual void | ObjectInDestruction (const SdrObject &rObject) override |
SdrMark & | operator= (const SdrMark &rMark) |
void | SetMarkedSdrObj (SdrObject *pNewObj) |
SdrObject * | GetMarkedSdrObj () const |
SdrPageView * | GetPageView () 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 SdrUShortCont & | GetMarkedPoints () const |
const SdrUShortCont & | GetMarkedGluePoints () const |
SdrUShortCont & | GetMarkedPoints () |
SdrUShortCont & | GetMarkedGluePoints () |
sal_Int64 | getTimeStamp () const |
virtual void | ObjectInDestruction (const SdrObject &rObject)=0 |
Private Member Functions | |
void | setTime () |
Private Attributes | |
sal_Int64 | mnTimeStamp |
SdrObject * | mpSelectedSdrObject |
SdrPageView * | mpPageView |
SdrUShortCont | maPoints |
SdrUShortCont | maGluePoints |
bool | mbCon1 |
bool | mbCon2 |
sal_uInt16 | mnUser |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::ObjectUser | |
~ObjectUser () | |
Everything a View needs to know about a selected object.
Definition at line 44 of file svdmark.hxx.
|
explicit |
Definition at line 46 of file svdmark.cxx.
References SdrObject::AddObjectUser(), mpSelectedSdrObject, and setTime().
SdrMark::SdrMark | ( | const SdrMark & | rMark | ) |
Definition at line 60 of file svdmark.cxx.
|
virtual |
Definition at line 72 of file svdmark.cxx.
References mpSelectedSdrObject, and SdrObject::RemoveObjectUser().
|
inline |
Definition at line 125 of file svdmark.hxx.
|
inline |
Definition at line 115 of file svdmark.hxx.
Referenced by SdrMarkView::CheckMarked(), SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrMarkList::GetPointMarkDescription(), SdrMarkView::HasMarkedGluePoints(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrMarkView::IsGluePointMarked(), SdrMarkView::MarkGluePoint(), SdrMarkView::MarkGluePoints(), SdrDragMove::MoveSdrDrag(), SdrMarkView::SetMarkHandles(), and SdrMarkView::UndirtyMrkPnt().
|
inline |
Definition at line 120 of file svdmark.hxx.
References maPoints.
|
inline |
Definition at line 110 of file svdmark.hxx.
References maPoints.
Referenced by SdrPolyEditView::CheckPolyPossibilitiesHelper(), SdrDragMethod::createSdrDragEntries_PointDrag(), SdrPolyEditView::DeleteMarkedPoints(), SdrMarkList::GetPointMarkDescription(), SdrMarkView::HasMarkedPoints(), SdrMarkView::ImpMarkPoint(), SdrPolyEditView::ImpTransformMarkedPoints(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SdrMarkView::SetMarkHandles(), and SdrMarkView::UndirtyMrkPnt().
|
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().
|
inline |
Definition at line 70 of file svdmark.hxx.
Referenced by SdrMarkView::CheckMarked(), SdrEditView::CheckPossibilities(), SdrEditView::CombineMarkedObjects(), SdrEditView::CopyMarkedObj(), SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrDragMethod::createSdrDragEntries_PointDrag(), SdrDragMethod::createSdrDragEntries_PolygonDrag(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrPolyEditView::DeleteMarkedPoints(), SdrMarkList::DeletePageView(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DoImportMarkedMtf(), SdrMarkView::EnterMarkedGroup(), SdrEditView::ForceMarkedObjToAnotherPage(), SdrEditView::GroupMarked(), SdrEditView::ImpConvertTo(), SdrMarkView::ImpMarkPoint(), SdrMarkView::IsMarkedObjHit(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrMarkView::PickGluePoint(), SdrMarkView::PickMarkedObj(), SdrMarkView::PickObj(), FmXFormView::restoreMarkList(), SdrPolyEditView::RipUpAtMarkedPoints(), FmXFormView::saveMarkList(), SdrMarkView::SetMarkHandles(), SdrMarkList::TakeBoundRect(), SdrMarkList::TakeSnapRect(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 130 of file svdmark.hxx.
Referenced by SdrEditView::EqualizeMarkedObjects().
|
inline |
Definition at line 105 of file svdmark.hxx.
Referenced by SdrEditView::CopyMarkedObj().
|
inline |
Definition at line 85 of file svdmark.hxx.
Referenced by SdrDragMethod::AddConnectorOverlays(), SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().
|
inline |
Definition at line 95 of file svdmark.hxx.
Referenced by SdrDragMethod::AddConnectorOverlays(), SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().
|
overridevirtual |
Implements sdr::ObjectUser.
Definition at line 80 of file svdmark.cxx.
References mpSelectedSdrObject.
Definition at line 103 of file svdmark.cxx.
References maGluePoints, maPoints, mbCon1, mbCon2, mnTimeStamp, mnUser, mpPageView, mpSelectedSdrObject, and SetMarkedSdrObj().
|
inline |
Definition at line 80 of file svdmark.hxx.
Referenced by SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().
|
inline |
Definition at line 90 of file svdmark.hxx.
Referenced by SdrMarkList::ImpForceSort(), and SdrMarkList::InsertEntry().
void SdrMark::SetMarkedSdrObj | ( | SdrObject * | pNewObj | ) |
Definition at line 88 of file svdmark.cxx.
References SdrObject::AddObjectUser(), mpSelectedSdrObject, and SdrObject::RemoveObjectUser().
Referenced by SdrEditView::CopyMarkedObj(), and operator=().
|
inline |
Definition at line 75 of file svdmark.hxx.
Referenced by SdrEditView::ForceMarkedObjToAnotherPage().
|
private |
|
inline |
Definition at line 100 of file svdmark.hxx.
Referenced by SdrEditView::CopyMarkedObj().
|
private |
Definition at line 50 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 49 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 51 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 52 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 46 of file svdmark.hxx.
Referenced by operator=(), and setTime().
|
private |
Definition at line 53 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 48 of file svdmark.hxx.
Referenced by operator=().
|
private |
Definition at line 47 of file svdmark.hxx.
Referenced by ObjectInDestruction(), operator=(), SdrMark(), SetMarkedSdrObj(), and ~SdrMark().