LibreOffice Module svx (master) 1
|
#include <svdhdl.hxx>
Public Member Functions | |
SdrHdlList (SdrMarkView *pV) | |
~SdrHdlList () | |
void | Clear () |
void | TravelFocusHdl (bool bForward) |
SdrHdl * | GetFocusHdl () const |
void | SetFocusHdl (SdrHdl *pNew) |
void | ResetFocusHdl () |
SdrMarkView * | GetView () const |
void | Sort () |
size_t | GetHdlCount () const |
SdrHdl * | GetHdl (size_t nNum) const |
size_t | GetHdlNum (const SdrHdl *pHdl) const |
void | SetHdlSize (sal_uInt16 nSiz) |
sal_uInt16 | GetHdlSize () const |
void | SetMoveOutside (bool bOn) |
bool | IsMoveOutside () const |
void | SetRotateShear (bool bOn) |
bool | IsRotateShear () const |
void | SetDistortShear (bool bOn) |
bool | IsDistortShear () const |
void | AddHdl (std::unique_ptr< SdrHdl > pHdl) |
std::unique_ptr< SdrHdl > | RemoveHdl (size_t nNum) |
void | RemoveAllByKind (SdrHdlKind eKind) |
void | MoveTo (SdrHdlList &rOther) |
SdrHdl * | IsHdlListHit (const Point &rPnt) const |
SdrHdl * | GetHdl (SdrHdlKind eKind1) const |
Private Member Functions | |
SVX_DLLPRIVATE | SdrHdlList (const SdrHdlList &)=delete |
SVX_DLLPRIVATE void | operator= (const SdrHdlList &)=delete |
Private Attributes | |
size_t | mnFocusIndex |
SdrMarkView * | pView |
std::deque< std::unique_ptr< SdrHdl > > | maList |
sal_uInt16 | nHdlSize |
bool | bRotateShear: 1 |
bool | bDistortShear: 1 |
bool | bMoveOutside: 1 |
Definition at line 428 of file svdhdl.hxx.
|
privatedelete |
|
explicit |
Definition at line 2175 of file svdhdl.cxx.
References bDistortShear, bMoveOutside, bRotateShear, and nHdlSize.
SdrHdlList::~SdrHdlList | ( | ) |
Definition at line 2185 of file svdhdl.cxx.
References Clear().
void SdrHdlList::AddHdl | ( | std::unique_ptr< SdrHdl > | pHdl | ) |
Definition at line 2291 of file svdhdl.cxx.
References maList.
Referenced by svx::diagram::IDiagramHelper::AddAdditionalVisualization(), SdrMarkView::AddDragModeHdl(), SdrObject::AddToHdlList(), E3dCompoundObject::AddToHdlList(), SdrObjCustomShape::AddToHdlList(), SdrCaptionObj::AddToHdlList(), SdrCircObj::AddToHdlList(), SdrEdgeObj::AddToHdlList(), SdrMeasureObj::AddToHdlList(), SdrPathObj::AddToHdlList(), SdrRectObj::AddToHdlList(), sdr::table::SdrTableObj::AddToHdlList(), SdrTextObj::AddToHdlList(), SdrPathObj::AddToPlusHdlList(), and SdrMarkView::SetMarkHandles().
void SdrHdlList::Clear | ( | ) |
Definition at line 2247 of file svdhdl.cxx.
References bDistortShear, bRotateShear, and maList.
Referenced by SdrEditView::DeleteMarkedObj(), SdrMarkView::SetMarkHandles(), and ~SdrHdlList().
SdrHdl * SdrHdlList::GetFocusHdl | ( | ) | const |
Definition at line 2129 of file svdhdl.cxx.
References GetHdl(), GetHdlCount(), and mnFocusIndex.
Referenced by SdrCropHdl::CreateB2dIAObject(), SdrHdl::CreateOverlayObject(), GraphCtrl::KeyInput(), ResetFocusHdl(), SetFocusHdl(), SdrMarkView::SetMarkHandles(), and Sort().
SdrHdl * SdrHdlList::GetHdl | ( | SdrHdlKind | eKind1 | ) | const |
Definition at line 2313 of file svdhdl.cxx.
References GetHdl(), GetHdlCount(), SdrHdl::GetKind(), and i.
|
inline |
Definition at line 460 of file svdhdl.hxx.
Referenced by sdr::table::SdrTableObj::AddToHdlList(), SdrVirtObj::AddToHdlList(), SdrVirtObj::AddToPlusHdlList(), ImpPathForDragAndCreate::beginPathDrag(), SdrDragResize::BeginSdrDrag(), SdrDragMovHdl::BeginSdrDrag(), SdrDragRotate::BeginSdrDrag(), SdrDragShear::BeginSdrDrag(), SdrDragMirror::BeginSdrDrag(), SdrDragGradient::BeginSdrDrag(), SdrDragMovHdl::CancelSdrDrag(), E3dView::End3DCreation(), GetFocusHdl(), SdrMarkView::GetGluePointHdl(), GetHdl(), SdrMarkView::GetHdl(), SdrView::GetPreferredPointer(), SdrDragView::ImpBegInsObjPoint(), SdrMarkView::ImpMarkPoint(), SdrMarkView::ImpSetPointsRects(), IsHdlListHit(), GraphCtrl::KeyInput(), SdrMarkView::MarkPoints(), E3dView::MovAction(), SdrDragMovHdl::MoveSdrDrag(), SdrView::MoveShapeHandle(), SetHdlSize(), SdrMarkView::SetMarkHandles(), SdrMarkView::SetMarkHandlesForLOKit(), SetMoveOutside(), SdrMarkView::SetRef1(), SdrMarkView::SetRef2(), E3dView::Start3DCreation(), and TravelFocusHdl().
|
inline |
Definition at line 459 of file svdhdl.hxx.
Referenced by sdr::table::SdrTableObj::AddToHdlList(), SdrVirtObj::AddToHdlList(), SdrVirtObj::AddToPlusHdlList(), ImpPathForDragAndCreate::beginPathDrag(), GetFocusHdl(), SdrMarkView::GetGluePointHdl(), GetHdl(), SdrMarkView::ImpMarkPoint(), SdrMarkView::ImpSetPointsRects(), IsHdlListHit(), GraphCtrl::KeyInput(), SdrMarkView::MarkPoints(), SdrMarkView::MouseMove(), SdrMarkView::RequestHelp(), SetHdlSize(), SdrMarkView::SetMarkHandles(), SdrMarkView::SetMarkHandlesForLOKit(), SetMoveOutside(), and TravelFocusHdl().
size_t SdrHdlList::GetHdlNum | ( | const SdrHdl * | pHdl | ) | const |
Definition at line 2279 of file svdhdl.cxx.
Referenced by SdrMarkView::GetHdlNum(), and SetFocusHdl().
|
inline |
Definition at line 463 of file svdhdl.hxx.
Referenced by SdrCropHdl::CreateB2dIAObject(), SdrHdl::CreateOverlayObject(), SdrMarkView::GetMarkHdlSizePixel(), SdrObjEditView::ImpMakeOutlinerView(), and SdrMarkView::SetMarkHdlSizePixel().
|
inline |
Definition at line 453 of file svdhdl.hxx.
Referenced by SdrHdl::CreateB2dIAObject(), svx::diagram::DiagramFrameHdl::CreateB2dIAObject(), SdrHdlColor::CreateB2dIAObject(), SdrHdlGradient::CreateB2dIAObject(), SdrHdlLine::CreateB2dIAObject(), SdrHdlBezWgt::CreateB2dIAObject(), E3dVolumeMarker::CreateB2dIAObject(), ImpEdgeHdl::CreateB2dIAObject(), ImpMeasureHdl::CreateB2dIAObject(), ImpTextframeHdl::CreateB2dIAObject(), SdrCropHdl::CreateB2dIAObject(), SdrCropViewHdl::CreateB2dIAObject(), sdr::table::TableEdgeHdl::CreateB2dIAObject(), and sdr::table::TableBorderHdl::CreateB2dIAObject().
|
inline |
Definition at line 469 of file svdhdl.hxx.
Referenced by SdrHdl::GetPointer().
Definition at line 2298 of file svdhdl.cxx.
References GetHdl(), GetHdlCount(), SdrHdl::IsHdlHit(), and nCount.
Referenced by SdrMarkView::PickHandle().
|
inline |
Definition at line 465 of file svdhdl.hxx.
Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::IsFocusHdl().
|
inline |
Definition at line 467 of file svdhdl.hxx.
Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::GetPointer().
void SdrHdlList::MoveTo | ( | SdrHdlList & | rOther | ) |
Definition at line 2325 of file svdhdl.cxx.
References maList.
Referenced by SdrGrafObj::AddToHdlList(), sdr::table::SdrTableObj::AddToHdlList(), SdrVirtObj::AddToHdlList(), SdrVirtObj::AddToPlusHdlList(), SdrMarkView::ImpMarkPoint(), and SdrMarkView::SetMarkHandles().
|
privatedelete |
References Clear().
void SdrHdlList::RemoveAllByKind | ( | SdrHdlKind | eKind | ) |
Definition at line 2240 of file svdhdl.cxx.
References maList.
std::unique_ptr< SdrHdl > SdrHdlList::RemoveHdl | ( | size_t | nNum | ) |
Definition at line 2232 of file svdhdl.cxx.
References maList.
Referenced by SdrGrafObj::AddToHdlList(), and SdrMarkView::ImpMarkPoint().
void SdrHdlList::ResetFocusHdl | ( | ) |
Definition at line 2162 of file svdhdl.cxx.
References GetFocusHdl(), mnFocusIndex, and SdrHdl::Touch().
void SdrHdlList::SetDistortShear | ( | bool | bOn | ) |
Definition at line 2227 of file svdhdl.cxx.
References bDistortShear.
Referenced by SdrMarkView::SetMarkHandles().
void SdrHdlList::SetFocusHdl | ( | SdrHdl * | pNew | ) |
Definition at line 2137 of file svdhdl.cxx.
References GetFocusHdl(), GetHdlNum(), mnFocusIndex, and SdrHdl::Touch().
Referenced by SdrMarkView::SetMarkHandles().
void SdrHdlList::SetHdlSize | ( | sal_uInt16 | nSiz | ) |
Definition at line 2190 of file svdhdl.cxx.
References GetHdl(), GetHdlCount(), i, nHdlSize, and SdrHdl::Touch().
Referenced by SdrMarkView::SetMarkHdlSizePixel().
void SdrHdlList::SetMoveOutside | ( | bool | bOn | ) |
Definition at line 2206 of file svdhdl.cxx.
References bMoveOutside, GetHdl(), GetHdlCount(), i, and SdrHdl::Touch().
Referenced by SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), and SdrMarkView::SetMoveOutside().
void SdrHdlList::SetRotateShear | ( | bool | bOn | ) |
Definition at line 2222 of file svdhdl.cxx.
References bRotateShear.
Referenced by SdrMarkView::SetMarkHandles().
void SdrHdlList::Sort | ( | ) |
Definition at line 2255 of file svdhdl.cxx.
References GetFocusHdl(), ImpSdrHdlListSorter(), maList, and SdrHdl::Touch().
Referenced by SdrMarkView::ImpMarkPoint(), SdrMarkView::MarkPoints(), and SdrMarkView::SetMarkHandles().
void SdrHdlList::TravelFocusHdl | ( | bool | bForward | ) |
Definition at line 2002 of file svdhdl.cxx.
References a, get(), GetHdl(), GetHdlCount(), ImplSortHdlFunc(), maList, mnFocusIndex, and SdrHdl::Touch().
|
private |
Definition at line 436 of file svdhdl.hxx.
Referenced by Clear(), SdrHdlList(), and SetDistortShear().
|
private |
Definition at line 437 of file svdhdl.hxx.
Referenced by SdrHdlList(), and SetMoveOutside().
|
private |
Definition at line 435 of file svdhdl.hxx.
Referenced by Clear(), SdrHdlList(), and SetRotateShear().
|
private |
Definition at line 432 of file svdhdl.hxx.
Referenced by AddHdl(), Clear(), GetHdlNum(), MoveTo(), RemoveAllByKind(), RemoveHdl(), Sort(), and TravelFocusHdl().
|
private |
Definition at line 430 of file svdhdl.hxx.
Referenced by GetFocusHdl(), ResetFocusHdl(), SetFocusHdl(), and TravelFocusHdl().
|
private |
Definition at line 433 of file svdhdl.hxx.
Referenced by SdrHdlList(), and SetHdlSize().
|
private |
Definition at line 431 of file svdhdl.hxx.