21 #include <config_feature_desktop.h>
65 namespace sw::overlay {
class OverlayRangesOutline; }
78 #if HAVE_FEATURE_DESKTOP || defined(ANDROID)
79 std::unique_ptr<sdr::overlay::OverlayObject> m_pCursorOverlay;
99 void Show(std::vector<OString>* pSelectionRectangles =
nullptr);
105 m_bShowTextInputFieldOverlay = bShow;
128 const Point& rPtPos,
SwPaM* pRing );
150 virtual void SetMark()
override;
157 bool UpDown(
bool bUp, sal_uInt16 nCnt );
160 virtual bool IsAtValidPos(
bool bPoint =
true )
const override;
184 const SwPosition &rPtPos,
const Point& rPtPt );
192 bool IsInside(
const Point& rPt )
const;
194 virtual void SetMark()
override;
201 virtual bool IsAtValidPos(
bool bPoint =
true )
const override;
virtual short MaxReplaceArived() override
Marks a position in the document model.
const SwPosition * m_pInitialPoint
const SwShellCursor * GetNext() const
virtual short MaxReplaceArived()
virtual void SaveTableBoxContent(const SwPosition *pPos) override
const SwPosition * GetMark() const
virtual SwCursor * Create(SwPaM *pRing=nullptr) const
virtual SwCursor * Create(SwPaM *pRing=nullptr) const override
const Point & GetSttPos() const
SwRect m_aEnd
Right edge of the selection end (bottom right cell).
Of course Writer needs its own rectangles.
SwShellCursor * GetPrev()
virtual bool IsAtValidPos(bool bPoint=true) const override
Return if cursor can be set to this position.
const SwShellTableCursor * GetPrev() const
void Invalidate(const SwRect &rRect)
bool m_bShowTextInputFieldOverlay
virtual void FillRects() override
SwShellTableCursor(const SwCursorShell &rCursorSh, const SwPosition &rPos)
virtual void FillStartEnd(SwRect &rStart, SwRect &rEnd) const =0
Fill rStart and rEnd with a rectangle that represents the start and end for selection handles...
static MapMode * s_pMapMode
PaM is Point and Mark: a selection of the document model.
virtual ~SwShellTableCursor() override
const SwCursorShell * m_pCursorShell
const SwCursorShell * GetShell() const
const SwPosition * GetPoint() const
void HighlightInputField()
virtual void FillStartEnd(SwRect &rStart, SwRect &rEnd) const override
bool IsInside(const Point &rPt) const
virtual void SetMark() override
Unless this is called, the getter method of Mark will return Point.
const Point & GetMkPos() const
bool UpDown(bool bUp, sal_uInt16 nCnt, Point const *pPt, tools::Long nUpDownX, SwRootFrame &rLayout)
void Show(std::vector< OString > *pSelectionRectangles=nullptr)
const SwPosition * Start() const
SwShellTableCursor * GetNext()
SwSelPaintRects(const SwCursorShell &rCSh)
void SetShowTextInputFieldOverlay(const bool bShow)
virtual ~SwSelPaintRects()
static void Get1PixelInLogic(const SwViewShell &rSh, tools::Long *pX=nullptr, tools::Long *pY=nullptr)
virtual void FillRects()=0
virtual bool IsReadOnlyAvailable() const
const SwShellTableCursor * GetNext() const
std::vector< SwRect > SwRects
vcl::Cursor m_aTextCursor
SwShellCursor * GetNext()
static tools::Long s_nPixPtY
const SwPosition * End() const
const Point & GetPtPos() const
static tools::Long s_nPixPtX
virtual bool IsAtValidPos(bool bPoint=true) const
Return if cursor can be set to this position.
const Point & GetEndPos() const
SwRect m_aStart
Left edge of the selection start (top left cell).
sal_uInt16 m_nPageLastTime
For LibreOfficeKit only - remember what page we were at the last time.
void SetDragCursor(bool bFlag=true)
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
SwShellTableCursor * GetPrev()
const SwCursorShell * m_pCursorShell
const SwShellCursor * GetPrev() const
void swapContent(SwSelPaintRects &rSwap)
std::unique_ptr< sw::overlay::OverlayRangesOutline > m_pTextInputFieldOverlay
virtual void SaveTableBoxContent(const SwPosition *pPos)