22#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
23#error "don't use this in new code"
53 virtual void dispose()
override;
66 virtual void Resize()
override;
105 virtual void dispose()
override;
107 void SelectionChanged();
109 virtual void Modify()
override;
113 virtual void SetReadOnly(
bool bReadOnly =
true )
override;
116 void EnableFocusSelectionHide(
bool bHide );
132 bool CanDown()
const;
134 virtual void Cut()
override;
135 virtual void Copy()
override;
136 virtual void Paste()
override;
138 virtual void SetText(
const OUString& rStr )
override;
141 OUString
GetText()
const override;
143 OUString GetTextLines(
LineEnd aSeparator )
const;
148 virtual void Resize()
override;
152 Size CalcAdjustedSize(
const Size& rPrefSize )
const;
153 Size CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines )
const;
154 void GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines )
const;
158 void DisableSelectionOnFocus();
160 void EnableCursor(
bool bEnable );
168 virtual bool set_property(
const OUString &rKey,
const OUString &rValue)
override;
virtual bool EventNotify(NotifyEvent &rNEvt) override
virtual void ReplaceSelected(const OUString &rStr)
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
virtual void SetText(const OUString &rStr) override
virtual sal_Int32 GetMaxTextLen() const
virtual bool set_property(const OUString &rKey, const OUString &rValue) override
virtual bool PreNotify(NotifyEvent &rNEvt) override
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
virtual const Selection & GetSelection() const
virtual void DeleteSelected()
static SAL_DLLPRIVATE WinBits ImplInitStyle(WinBits nStyle)
virtual void SetMaxTextLen(sal_Int32 nMaxLen)
virtual void GetFocus() override
virtual Size CalcMinimumSize() const
virtual void DumpAsPropertyTree(tools::JsonWriter &rJsonWriter) override
Dumps itself and potentially its children to a property tree, to be written easily to JSON.
virtual void SetSelection(const Selection &rSelection)
virtual void SetReadOnly(bool bReadOnly=true)
virtual OUString GetSelected() const
virtual bool IsReadOnly() const
virtual void SetModifyFlag()
virtual FactoryFunction GetUITestFactory() const override
virtual void Draw(OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) override
virtual void ApplySettings(vcl::RenderContext &rRenderContext) override
virtual void Resize() override
virtual void StateChanged(StateChangedType nType) override
virtual OUString GetText() const override
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
virtual void LoseFocus() override
TextView * GetTextView() const
void DisableSelectionOnFocus()
std::unique_ptr< TextView > mpExtTextView
std::unique_ptr< ExtTextEngine > mpExtTextEngine
void SetIgnoreTab(bool bIgnore)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
ExtTextEngine * GetTextEngine() const
virtual void KeyInput(const KeyEvent &rKEvent) override
virtual void MouseButtonUp(const MouseEvent &rMEvt) override
virtual void Resize() override
void SetAutoFocusHide(bool bAutoHide)
bool mbFocusSelectionHide
virtual ~TextWindow() override
virtual void GetFocus() override
virtual void MouseMove(const MouseEvent &rMEvt) override
virtual void Command(const CommandEvent &rCEvt) override
TextWindow(Edit *pParent)
void SetModifyHdl(const Link< Edit &, void > &rLink) override
Link< Edit &, void > aModifyHdlLink
virtual void SetText(const OUString &rStr, const Selection &rNewSelection) override
std::unique_ptr< ImpVclMEdit > pImpVclMEdit
const Link< Edit &, void > & GetModifyHdl() const override
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction