LibreOffice Module svx (master)  1
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
SdrHdlList Class Reference

#include <svdhdl.hxx>

Collaboration diagram for SdrHdlList:
[legend]

Public Member Functions

 SdrHdlList (SdrMarkView *pV)
 
 ~SdrHdlList ()
 
void Clear ()
 
void TravelFocusHdl (bool bForward)
 
SdrHdlGetFocusHdl () const
 
void SetFocusHdl (SdrHdl *pNew)
 
void ResetFocusHdl ()
 
SdrMarkViewGetView () const
 
void Sort ()
 
size_t GetHdlCount () const
 
SdrHdlGetHdl (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< SdrHdlRemoveHdl (size_t nNum)
 
void RemoveAllByKind (SdrHdlKind eKind)
 
void MoveTo (SdrHdlList &rOther)
 
SdrHdlIsHdlListHit (const Point &rPnt) const
 
SdrHdlGetHdl (SdrHdlKind eKind1) const
 

Protected Attributes

size_t mnFocusIndex
 
SdrMarkView *const pView
 
std::deque< std::unique_ptr< SdrHdl > > maList
 
sal_uInt16 nHdlSize
 
bool bRotateShear: 1
 
bool bDistortShear: 1
 
bool bMoveOutside: 1
 

Private Member Functions

SVX_DLLPRIVATE SdrHdlList (const SdrHdlList &)=delete
 
SVX_DLLPRIVATE void operator= (const SdrHdlList &)=delete
 

Detailed Description

Definition at line 428 of file svdhdl.hxx.

Constructor & Destructor Documentation

SVX_DLLPRIVATE SdrHdlList::SdrHdlList ( const SdrHdlList )
privatedelete
SdrHdlList::SdrHdlList ( SdrMarkView pV)
explicit

Definition at line 2182 of file svdhdl.cxx.

References bDistortShear, bMoveOutside, bRotateShear, and nHdlSize.

SdrHdlList::~SdrHdlList ( )

Definition at line 2192 of file svdhdl.cxx.

References Clear().

Member Function Documentation

void SdrHdlList::AddHdl ( std::unique_ptr< SdrHdl pHdl)
void SdrHdlList::Clear ( )
SdrHdl * SdrHdlList::GetFocusHdl ( ) const
SdrHdl* SdrHdlList::GetHdl ( size_t  nNum) const
inline
SdrHdl * SdrHdlList::GetHdl ( SdrHdlKind  eKind1) const

Definition at line 2321 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), SdrHdl::GetKind(), and i.

size_t SdrHdlList::GetHdlCount ( ) const
inline
size_t SdrHdlList::GetHdlNum ( const SdrHdl pHdl) const

Definition at line 2287 of file svdhdl.cxx.

References maList, and p.

Referenced by SdrMarkView::GetHdlNum(), and SetFocusHdl().

sal_uInt16 SdrHdlList::GetHdlSize ( ) const
inline
SdrMarkView* SdrHdlList::GetView ( ) const
inline
bool SdrHdlList::IsDistortShear ( ) const
inline

Definition at line 471 of file svdhdl.hxx.

Referenced by SdrHdl::GetPointer().

SdrHdl * SdrHdlList::IsHdlListHit ( const Point rPnt) const

Definition at line 2306 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), SdrHdl::IsHdlHit(), and nCount.

Referenced by SdrMarkView::PickHandle().

bool SdrHdlList::IsMoveOutside ( ) const
inline

Definition at line 467 of file svdhdl.hxx.

Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::IsFocusHdl().

bool SdrHdlList::IsRotateShear ( ) const
inline

Definition at line 469 of file svdhdl.hxx.

Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::GetPointer().

void SdrHdlList::MoveTo ( SdrHdlList rOther)
SVX_DLLPRIVATE void SdrHdlList::operator= ( const SdrHdlList )
privatedelete
void SdrHdlList::RemoveAllByKind ( SdrHdlKind  eKind)

Definition at line 2247 of file svdhdl.cxx.

References maList.

std::unique_ptr< SdrHdl > SdrHdlList::RemoveHdl ( size_t  nNum)

Definition at line 2239 of file svdhdl.cxx.

References maList.

Referenced by SdrGrafObj::AddToHdlList(), and SdrMarkView::ImpMarkPoint().

void SdrHdlList::ResetFocusHdl ( )

Definition at line 2169 of file svdhdl.cxx.

References GetFocusHdl(), mnFocusIndex, and SdrHdl::Touch().

void SdrHdlList::SetDistortShear ( bool  bOn)

Definition at line 2234 of file svdhdl.cxx.

References bDistortShear.

Referenced by SdrMarkView::SetMarkHandles().

void SdrHdlList::SetFocusHdl ( SdrHdl pNew)

Definition at line 2144 of file svdhdl.cxx.

References GetFocusHdl(), GetHdlNum(), mnFocusIndex, and SdrHdl::Touch().

Referenced by SdrMarkView::SetMarkHandles().

void SdrHdlList::SetHdlSize ( sal_uInt16  nSiz)

Definition at line 2197 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), i, nHdlSize, and SdrHdl::Touch().

Referenced by SdrMarkView::SetMarkHdlSizePixel().

void SdrHdlList::SetMoveOutside ( bool  bOn)
void SdrHdlList::SetRotateShear ( bool  bOn)

Definition at line 2229 of file svdhdl.cxx.

References bRotateShear.

Referenced by SdrMarkView::SetMarkHandles().

void SdrHdlList::Sort ( )
void SdrHdlList::TravelFocusHdl ( bool  bForward)

Definition at line 2009 of file svdhdl.cxx.

References a, GetHdl(), GetHdlCount(), ImplSortHdlFunc(), maList, mnFocusIndex, and SdrHdl::Touch().

Member Data Documentation

bool SdrHdlList::bDistortShear
protected

Definition at line 437 of file svdhdl.hxx.

Referenced by Clear(), SdrHdlList(), and SetDistortShear().

bool SdrHdlList::bMoveOutside
protected

Definition at line 438 of file svdhdl.hxx.

Referenced by SdrHdlList(), and SetMoveOutside().

bool SdrHdlList::bRotateShear
protected

Definition at line 436 of file svdhdl.hxx.

Referenced by Clear(), SdrHdlList(), and SetRotateShear().

std::deque<std::unique_ptr<SdrHdl> > SdrHdlList::maList
protected

Definition at line 433 of file svdhdl.hxx.

Referenced by AddHdl(), Clear(), GetHdlNum(), MoveTo(), RemoveAllByKind(), RemoveHdl(), Sort(), and TravelFocusHdl().

size_t SdrHdlList::mnFocusIndex
protected

Definition at line 431 of file svdhdl.hxx.

Referenced by GetFocusHdl(), ResetFocusHdl(), SetFocusHdl(), and TravelFocusHdl().

sal_uInt16 SdrHdlList::nHdlSize
protected

Definition at line 434 of file svdhdl.hxx.

Referenced by SdrHdlList(), and SetHdlSize().

SdrMarkView* const SdrHdlList::pView
protected

Definition at line 432 of file svdhdl.hxx.


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