19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_EDTWIN_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_EDTWIN_HXX
60 public DropTargetHelper,
public DragSourceHelper
95 std::unique_ptr<SwShadowCursor, o3tl::default_delete<SwShadowCursor>>
m_pShadCursor;
134 void LeaveArea(
const Point &);
135 void JustifyAreaTimer();
136 inline void EnterArea();
138 void ResetMouseButtonDownFlags();
140 void ChangeFly(
sal_uInt8 nDir,
bool bWeb );
144 bool RulerColumnDrag(
const MouseEvent& rMEvt,
bool bVerticalMode);
148 void CleanupDropUserMarker();
172 const bool bOnlyText,
bool bLockView );
181 bool changeMousePointer(
Point const & rDocPoint);
197 void ShowAutoCorrectQuickHelp(
const OUString& rWord,
SvxAutoCorrect& rACorr);
198 bool ShowAutoText(
const std::vector<OUString>& rChunkCandidates);
203 bool IsOverHeaderFooterFly(
const Point& rDocPos,
FrameControlType& rControl,
bool& bOverFly,
bool& bPageAnchored )
const;
207 void UpdatePointer(
const Point &, sal_uInt16 nButtons = 0);
209 bool IsDrawSelMode()
const;
218 void StdDrawMode(
SdrObjKind eSdrObjectKind,
bool bObjSelect );
223 void EnterDrawTextMode(
const Point& aDocPos);
224 void InsFrame(sal_uInt16 nCols);
228 void SetChainMode(
bool bOn );
231 void FlushInBuffer();
232 static bool IsInputSequenceCheckingRequired(
const OUString &rText,
const SwPaM& rCursor );
237 void StartExecuteDrag();
249 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
254 static void InitStaticData();
255 static void FinitStaticData();
258 void StopQuickHelp();
261 bool RulerMarginDrag(
const MouseEvent& rMEvt,
262 const bool bVerticalMode );
267 void SetUseInputLanguage(
bool bNew );
273 OUString ClipLongToolTip(
const OUString& rText);
279 virtual void dispose()
override;
286 void SetCursorTwipPosition(
const Point& rPosition,
bool bPoint,
bool bClearMark);
288 void SetGraphicTwipPosition(
bool bStart,
const Point& rPosition);
294 void ToggleOutlineContentVisibility(
const size_t nOutlinePos,
const bool bSubs);
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
void SetWaterCanTextColor(const Color &rCol)
Color m_aWaterCanTextColor
static tools::Long s_nDDStartPosY
std::unique_ptr< SdrDropMarkerOverlay > m_pUserMarker
DECL_DLLPRIVATE_LINK(DDHandler, Timer *, void)
static tools::Long GetDDStartPosX()
sal_uInt16 GetFrameColCount() const
static tools::Long s_nDDStartPosX
SotClipboardFormatId m_nDropFormat
static tools::Long GetDDStartPosY()
LanguageType m_eBufferLanguage
sal_uInt16 GetBezierMode() const
void SetWaterCanTextBackColor(const Color &rCol)
bool IsDrawAction() const
std::optional< Point > m_xRowColumnSelectionStart
DECL_DLLPRIVATE_LINK(KeyInputFlushHandler, Timer *, void)
bool IsObjectSelect() const
Timer m_aKeyInputFlushTimer
void SetObjectSelect(bool bVal)
Color m_aWaterCanTextBackColor
SwApplyTemplate * GetApplyTemplate() const
SotExchangeDest m_nDropDestination
sal_uInt16 m_nInsFrameColCount
SdrObjKind GetSdrDrawMode() const
const SwView & GetView() const
void SetDrawAction(bool bFlag)
sal_uInt16 m_nKS_NUMDOWN_Count
SwCallMouseEvent m_aSaveCallEvent
void LockKeyInput(bool bSet)
SdrObject * m_pUserMarkerObj
void SetSavedOutlineFrame(SwTextFrame *pFrame)
DECL_DLLPRIVATE_LINK(TemplateTimerHdl, Timer *, void)
std::unique_ptr< SwShadowCursor, o3tl::default_delete< SwShadowCursor > > m_pShadCursor
const SwTextFrame * GetSavedOutlineFrame() const
std::unique_ptr< SwAnchorMarker > m_pAnchorMarker
static QuickHelpData * s_pQuickHlpData
bool m_bUseInputLanguage
#i42732# display status of font size/name depending on either the input language or the selection pos...
bool IsFrameAction() const
sal_uInt16 m_nKS_NUMINDENTINC_Count
void SetSdrDrawMode(SdrObjKind eSdrObjectKind)
std::unique_ptr< SwFrameControlsManager > m_pFrameControlsManager
DECL_DLLPRIVATE_LINK(TimerHandler, Timer *, void)
std::unique_ptr< SwApplyTemplate > m_pApplyTempl
bool IsUseInputLanguage() const
void SetBezierMode(sal_uInt16 eBezMode)
A container for the Header/Footer, PageBreak, and Outline Content Visibility controls.
PaM is Point and Mark: a selection of the document model.
Of course Writer needs its own rectangles.
Represents the visualization of a paragraph.
Used by the UI to modify the document model.
virtual void dispose() override
virtual void PrePaint(vcl::RenderContext &rRenderContext)
virtual void RequestHelp(const HelpEvent &rHEvt)
virtual Selection GetSurroundingTextSelection() const
virtual void Command(const CommandEvent &rCEvt)
virtual void MouseButtonDown(const MouseEvent &rMEvt)
virtual void MouseButtonUp(const MouseEvent &rMEvt)
virtual void KeyInput(const KeyEvent &rKEvt)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual OUString GetSurroundingText() const
virtual void LogicInvalidate(const tools::Rectangle *pRectangle)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
virtual bool DeleteSurroundingText(const Selection &rSelection)
virtual void MouseMove(const MouseEvent &rMEvt)
virtual void DataChanged(const DataChangedEvent &rDCEvt)
virtual FactoryFunction GetUITestFactory() const
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction
Assists with auto-completion of AutoComplete words and AutoText names.