20#ifndef INCLUDED_VCL_CTRL_HXX
21#define INCLUDED_VCL_CTRL_HXX
23#include <rtl/ustring.hxx>
90 SAL_DLLPRIVATE
void ImplInitControlData();
97 virtual void FillLayoutData()
const;
100 void AppendLayoutData(
const Control& rSubControl )
const;
103 void CreateLayoutData()
const;
105 bool HasLayoutData()
const;
119 bool ImplCallEventListenersAndHandler(
120 VclEventId nEvent, std::function<
void()>
const & callHandler
123 void CallEventListeners(
VclEventId nEvent,
void* pData =
nullptr );
136 std::vector< tools::Rectangle >* _pVector, OUString* _pDisplayText,
137 const Size* i_pDeviceSize =
nullptr )
const;
141 Size* o_pDeviceSize =
nullptr )
const;
148 void ImplInitSettings();
152 virtual bool FocusWindowBelongsToControl(
const vcl::Window* pFocusWin)
const;
154 SAL_DLLPRIVATE
void ImplClearLayoutData()
const;
178 virtual void dispose()
override;
180 virtual void EnableRTL (
bool bEnable =
true )
override;
182 virtual bool EventNotify(
NotifyEvent& rNEvt )
override;
184 virtual void Resize()
override;
187 virtual void SetText(
const OUString& rStr )
override;
189 virtual OUString GetDisplayText()
const override;
218 void SetLayoutDataParent(
const Control* pParent )
const;
220 virtual Size GetOptimalSize()
const override;
225 void SetReferenceDevice(
OutputDevice* _referenceDevice );
228 vcl::Font GetUnzoomedControlPointFont()
const;
229 void SetShowAccelerator (
bool val);
232 virtual void LogicInvalidate(
const tools::Rectangle* pRectangle )
override;
std::optional< vcl::ControlLayoutData > mxLayoutData
Link< Control &, void > maLoseFocusHdl
VclPtr< OutputDevice > mpReferenceDevice
Control(const Control &)=delete
bool HasControlFocus() const
determines whether the control currently has the focus
void SetLoseFocusHdl(const Link< Control &, void > &rLink)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void SetText(const OUString &rStr) override
std::vector< tools::Rectangle > m_aUnicodeBoundRects
std::vector< tools::Long > m_aLineIndices
VclPtr< const Control > m_pParent