20#ifndef INCLUDED_VCL_HEADBAR_HXX
21#define INCLUDED_VCL_HEADBAR_HXX
176#define WB_BOTTOMBORDER (WinBits(0x0400))
177#define WB_BUTTONSTYLE (WinBits(0x0800))
178#define WB_STDHEADERBAR (WB_BUTTONSTYLE | WB_BOTTOMBORDER)
200#define HEADERBAR_APPEND (sal_uInt16(0xFFFF))
201#define HEADERBAR_ITEM_NOTFOUND (sal_uInt16(0xFFFF))
202#define HEADERBAR_FULLSIZE (tools::Long(1000000000))
230 css::uno::Reference< css::accessibility::XAccessible >
235 VCL_DLLPRIVATE void ImplInitSettings(
bool bFont,
bool bForeground,
bool bBackground );
239 VCL_DLLPRIVATE void ImplInvertDrag( sal_uInt16 nStartPos, sal_uInt16 nEndPos );
261 virtual void Resize()
override;
271 virtual void DoubleClick();
273 void InsertItem( sal_uInt16 nItemId,
const OUString& rText,
276 void RemoveItem( sal_uInt16 nItemId );
277 void MoveItem( sal_uInt16 nItemId, sal_uInt16 nNewPos );
283 sal_uInt16 GetItemCount()
const;
284 sal_uInt16 GetItemPos( sal_uInt16 nItemId )
const;
285 sal_uInt16 GetItemId( sal_uInt16 nPos )
const;
286 sal_uInt16 GetItemId(
const Point& rPos )
const;
291 void SetItemSize( sal_uInt16 nItemId,
tools::Long nNewSize );
292 tools::Long GetItemSize( sal_uInt16 nItemId )
const;
296 void SetItemText( sal_uInt16 nItemId,
const OUString& rText );
297 OUString GetItemText( sal_uInt16 nItemId )
const;
301 Size CalcWindowSizePixel()
const;
313 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
314 void SetAccessible(
const css::uno::Reference< css::accessibility::XAccessible >& );
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void RequestHelp(const HelpEvent &rHEvt)
virtual void StateChanged(StateChangedType nStateChange)
virtual void Tracking(const TrackingEvent &rTEvt)
virtual void Command(const CommandEvent &rCEvt)
void SetAccessible(const css::uno::Reference< css::accessibility::XAccessible > &)
virtual void MouseButtonDown(const MouseEvent &rMEvt)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual Size GetOptimalSize() const
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
virtual void MouseMove(const MouseEvent &rMEvt)
virtual void Draw(::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
virtual void DataChanged(const DataChangedEvent &rDCEvt)
virtual void ApplySettings(vcl::RenderContext &rRenderContext)
SAL_DLLPRIVATE void ImplInit(vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
const OUString & GetHelpText() const
void SetHelpId(const OUString &)
void Clear(EHistoryType eHistory)