LibreOffice Module svx (master) 1
|
#include <tablehandles.hxx>
Public Member Functions | |
TableEdgeHdl (const Point &rPnt, bool bHorizontal, sal_Int32 nMin, sal_Int32 nMax, sal_Int32 nEdges) | |
sal_Int32 | GetValidDragOffset (const SdrDragStat &rDrag) const |
virtual PointerStyle | GetPointer () const override |
void | SetEdge (sal_Int32 nEdge, sal_Int32 nStart, sal_Int32 nEnd, TableEdgeState nState) |
bool | IsHorizontalEdge () const |
basegfx::B2DPolyPolygon | getSpecialDragPoly (const SdrDragStat &rDrag) const |
void | getPolyPolygon (basegfx::B2DPolyPolygon &rVisible, basegfx::B2DPolyPolygon &rInvisible, const SdrDragStat *pDrag) const |
Public Member Functions inherited from SdrHdl | |
SdrHdl () | |
SdrHdl (const Point &rPnt, SdrHdlKind eNewKind) | |
virtual | ~SdrHdl () |
const sdr::overlay::OverlayObjectList & | getOverlayObjectList () const |
void | SetHdlList (SdrHdlList *pList) |
SdrHdlKind | GetKind () const |
void | Touch () |
const Point & | GetPos () const |
void | SetPos (const Point &rPnt) |
SdrPageView * | GetPageView () const |
void | SetPageView (SdrPageView *pNewPV) |
SdrObject * | GetObj () const |
void | SetObj (SdrObject *pNewObj) |
bool | IsSelected () const |
void | SetSelected (bool bJa=true) |
void | Set1PixMore (bool bJa=true) |
void | SetRotationAngle (Degree100 n) |
bool | IsCornerHdl () const |
bool | IsVertexHdl () const |
void | SetObjHdlNum (sal_uInt32 nNum) |
sal_uInt32 | GetObjHdlNum () const |
void | SetPolyNum (sal_uInt32 nNum) |
sal_uInt32 | GetPolyNum () const |
void | SetPointNum (sal_uInt32 nNum) |
sal_uInt32 | GetPointNum () const |
void | SetPlusHdl (bool bOn) |
bool | IsPlusHdl () const |
void | SetSourceHdlNum (sal_uInt32 nNum) |
sal_uInt32 | GetSourceHdlNum () const |
virtual PointerStyle | GetPointer () const |
bool | IsHdlHit (const Point &rPnt) const |
virtual bool | IsFocusHdl () const |
void | SetMoveOutside (bool bMoveOutside) |
virtual void | onMouseEnter (const MouseEvent &rMEvt) |
is called when the mouse enters the area of this handle. More... | |
virtual void | onHelpRequest () |
is called when help is requested for the area of this handle More... | |
virtual void | onMouseLeave () |
is called when the mouse leaves the area of this handle. More... | |
Protected Member Functions | |
virtual void | CreateB2dIAObject () override |
Protected Member Functions inherited from SdrHdl | |
virtual void | CreateB2dIAObject () |
void | GetRidOfIAObject () |
std::unique_ptr< sdr::overlay::OverlayObject > | CreateOverlayObject (const basegfx::B2DPoint &rPos, BitmapColorIndex eColIndex, BitmapMarkerKind eKindOfMarker, Point aMoveOutsideOffset=Point()) |
void | insertNewlyCreatedOverlayObjectForSdrHdl (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager) |
Private Attributes | |
bool | mbHorizontal |
sal_Int32 | mnMin |
sal_Int32 | mnMax |
std::vector< TableEdge > | maEdges |
Additional Inherited Members | |
Static Public Member Functions inherited from SdrHdl | |
static BitmapEx | createGluePointBitmap () |
Static Protected Member Functions inherited from SdrHdl | |
static BitmapMarkerKind | GetNextBigger (BitmapMarkerKind eKnd) |
Protected Attributes inherited from SdrHdl | |
SdrObject * | pObj |
SdrPageView * | pPV |
SdrHdlList * | pHdlList |
sdr::overlay::OverlayObjectList | maOverlayGroup |
Point | aPos |
SdrHdlKind | eKind |
Degree100 | nRotationAngle |
sal_uInt32 | nObjHdlNum |
sal_uInt32 | nPolyNum |
sal_uInt32 | nPPntNum |
sal_uInt32 | nSourceHdlNum |
bool | bSelect: 1 |
bool | b1PixMore: 1 |
bool | bPlusHdl: 1 |
bool | mbMoveOutside |
Definition at line 39 of file tablehandles.hxx.
sdr::table::TableEdgeHdl::TableEdgeHdl | ( | const Point & | rPnt, |
bool | bHorizontal, | ||
sal_Int32 | nMin, | ||
sal_Int32 | nMax, | ||
sal_Int32 | nEdges | ||
) |
Definition at line 59 of file tablehandles.cxx.
|
overrideprotectedvirtual |
Reimplemented from SdrHdl.
Definition at line 144 of file tablehandles.cxx.
References SdrMarkView::areMarkHandlesHidden(), basegfx::B2DPolyPolygon::count(), SdrPageWindow::GetObjectContact(), SdrPageWindow::GetOverlayManager(), SdrPageView::GetPageWindow(), SdrPageWindow::GetPaintWindow(), getPolyPolygon(), SdrHdl::GetRidOfIAObject(), SdrPaintView::GetSdrPageView(), SdrHdlList::GetView(), SdrHdl::insertNewlyCreatedOverlayObjectForSdrHdl(), SdrPaintWindow::OutputToWindow(), SdrPageView::PageWindowCount(), and SdrHdl::pHdlList.
|
overridevirtual |
void sdr::table::TableEdgeHdl::getPolyPolygon | ( | basegfx::B2DPolyPolygon & | rVisible, |
basegfx::B2DPolyPolygon & | rInvisible, | ||
const SdrDragStat * | pDrag | ||
) | const |
Definition at line 107 of file tablehandles.cxx.
References SdrHdl::aPos, basegfx::B2DPolyPolygon::append(), basegfx::B2DPolygon::append(), basegfx::B2DPolyPolygon::clear(), basegfx::Tuple2D< typename TYPE >::get(), GetValidDragOffset(), maEdges, mbHorizontal, basegfx::Tuple2D< typename TYPE >::set(), sdr::table::Visible, basegfx::X, Point::X(), basegfx::Y, and Point::Y().
Referenced by CreateB2dIAObject(), and getSpecialDragPoly().
basegfx::B2DPolyPolygon sdr::table::TableEdgeHdl::getSpecialDragPoly | ( | const SdrDragStat & | rDrag | ) | const |
Definition at line 95 of file tablehandles.cxx.
References basegfx::B2DPolyPolygon::append(), and getPolyPolygon().
Referenced by sdr::table::SdrTableObj::getSpecialDragPoly().
sal_Int32 sdr::table::TableEdgeHdl::GetValidDragOffset | ( | const SdrDragStat & | rDrag | ) | const |
Definition at line 90 of file tablehandles.cxx.
References SdrDragStat::GetDX(), SdrDragStat::GetDY(), mbHorizontal, mnMax, and mnMin.
Referenced by sdr::table::SdrTableObj::applySpecialDrag(), and getPolyPolygon().
|
inline |
Definition at line 50 of file tablehandles.hxx.
References mbHorizontal.
Referenced by sdr::table::SdrTableObj::applySpecialDrag().
void sdr::table::TableEdgeHdl::SetEdge | ( | sal_Int32 | nEdge, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd, | ||
TableEdgeState | nState | ||
) |
Definition at line 68 of file tablehandles.cxx.
References maEdges.
|
private |
Definition at line 62 of file tablehandles.hxx.
Referenced by getPolyPolygon(), and SetEdge().
|
private |
Definition at line 60 of file tablehandles.hxx.
Referenced by GetPointer(), getPolyPolygon(), GetValidDragOffset(), and IsHorizontalEdge().
|
private |
Definition at line 61 of file tablehandles.hxx.
Referenced by GetValidDragOffset().
|
private |
Definition at line 61 of file tablehandles.hxx.
Referenced by GetValidDragOffset().