38#include <osl/diagnose.h>
61, mbHorizontal( bHorizontal )
70 if( (nEdge >= 0) && (nEdge <= sal::static_int_cast<sal_Int32>(
maEdges.size())) )
72 maEdges[nEdge].mnStart = nStart;
74 maEdges[nEdge].meState = eState;
78 OSL_FAIL(
"sdr::table::TableEdgeHdl::SetEdge(), invalid edge!" );
85 return PointerStyle::VSplit;
87 return PointerStyle::HSplit;
102 aVisible.
append(aInvisible);
126 aStart.set(eAxis, aOffset.
get(eAxis) + aEdge.mnStart);
127 aEnd.
set(eAxis, aOffset.
get(eAxis) + aEdge.mnEnd);
130 aPolygon.
append( aStart );
135 rVisible.
append(aPolygon);
139 rInvisible.
append(aPolygon);
166 for(sal_uInt32 nWindow = 0; nWindow < pPageView->
PageWindowCount(); nWindow++)
178 std::unique_ptr<sdr::overlay::OverlayObject> pOverlayObject(
new OverlayTableEdge(aVisible,
true));
182 std::move(pOverlayObject),
187 if(aInvisible.
count())
192 std::unique_ptr<sdr::overlay::OverlayObject> pOverlayObject(
new OverlayTableEdge(aInvisible,
false));
196 std::move(pOverlayObject),
224 getBaseColor().getBColor()));
257 return PointerStyle::Move;
274 for(sal_uInt32 nWindow = 0; nWindow < pPageView->
PageWindowCount(); nWindow++)
294 double fWidth = fScaleFactor * 6.0;
296 std::unique_ptr<sdr::overlay::OverlayObject> pOverlayObject(
298 aHilightColor, fTransparence,
303 std::move(pOverlayObject),
float GetDPIScaleFactor() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
tools::Long GetDY() const
tools::Long GetDX() const
SdrMarkView * GetView() const
void insertNewlyCreatedOverlayObjectForSdrHdl(std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
bool areMarkHandlesHidden() const
sal_uInt32 PageWindowCount() const
SdrPageWindow * GetPageWindow(sal_uInt32 nIndex) const
rtl::Reference< sdr::overlay::OverlayManager > const & GetOverlayManager() const
SdrPaintWindow & GetPaintWindow() const
const sdr::contact::ObjectContact & GetObjectContact() const
SdrPageView * GetSdrPageView() const
OutputDevice & GetOutputDevice() const
bool OutputToWindow() const
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
void append(const basegfx::B2DPoint &rPoint, sal_uInt32 nCount)
B2DPoint getMaximum() const
B2DPoint getMinimum() const
void set(Axis2D eAxis, TYPE fValue)
virtual void CreateB2dIAObject() override
tools::Rectangle maRectangle
TableBorderHdl(const tools::Rectangle &rRect, bool bAnimate)
virtual PointerStyle GetPointer() const override
virtual PointerStyle GetPointer() const override
std::vector< TableEdge > maEdges
sal_Int32 GetValidDragOffset(const SdrDragStat &rDrag) const
virtual void CreateB2dIAObject() override
TableEdgeHdl(const Point &rPnt, bool bHorizontal, sal_Int32 nMin, sal_Int32 nMax, sal_Int32 nEdges)
basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat &rDrag) const
void SetEdge(sal_Int32 nEdge, sal_Int32 nStart, sal_Int32 nEnd, TableEdgeState nState)
void getPolyPolygon(basegfx::B2DPolyPolygon &rVisible, basegfx::B2DPolyPolygon &rInvisible, const SdrDragStat *pDrag) const
constexpr ::Color COL_GRAY(0x80, 0x80, 0x80)
sal_uInt16 GetTransparentSelectionPercent()
basegfx::B2DPolyPolygon maPolyPolygon