20#ifndef INCLUDED_VCL_CALENDAR_HXX
21#define INCLUDED_VCL_CALENDAR_HXX
162 using Window::ImplInit;
172 sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear,
173 bool bOther, sal_Int32 nToday);
189 virtual void dispose()
override;
195 virtual void Resize()
override;
void ImplDrawSpin(vcl::RenderContext &rRenderContext)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
const Date & GetFirstDate() const
tools::Rectangle maPrevRect
void ImplScrollCalendar(bool bPrev)
void SetCurDate(const Date &rNewDate)
void SetSelectHdl(const Link< Calendar *, void > &rLink)
DayOfWeek ImplGetWeekStart() const
sal_Int32 mnDayOfWeekAry[8]
void SetActivateHdl(const Link< Calendar *, void > &rLink)
Calendar(vcl::Window *pParent, WinBits nWinStyle)
virtual void LoseFocus() override
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
void ImplUpdate(bool bCalcNew=false)
Link< Calendar *, void > maActivateHdl
tools::Rectangle GetDateRect(const Date &rDate) const
virtual void KeyInput(const KeyEvent &rKEvt) override
sal_uInt16 GetMonthCount() const
void ImplInit(WinBits nWinStyle)
virtual void Resize() override
tools::Long mnMonthPerLine
void ImplEndTracking(bool bCancel)
tools::Long mnWeekDayOffY
virtual void DumpAsPropertyTree(tools::JsonWriter &) override
Dumps itself and potentially its children to a property tree, to be written easily to JSON.
Date GetLastMonth() const
void ImplDrawDate(vcl::RenderContext &rRenderContext, tools::Long nX, tools::Long nY, sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear, bool bOther, sal_Int32 nToday)
Date GetFirstMonth() const
std::unique_ptr< IntDateSet > mpSelectTable
bool GetDate(const Point &rPos, Date &rDate) const
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
sal_uInt16 ImplDoHitTest(const Point &rPos, Date &rDate) const
virtual void Tracking(const TrackingEvent &rMEvt) override
virtual ~Calendar() override
CalendarWrapper maCalendarWrapper
void ImplUpdateSelection(IntDateSet *pOld)
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
tools::Long mnMonthHeight
Date GetFirstSelectedDate() const
Size CalcWindowSizePixel() const
virtual void ApplySettings(vcl::RenderContext &rRenderContext) override
Link< Calendar *, void > maSelectHdl
virtual Size GetOptimalSize() const override
virtual void GetFocus() override
std::unique_ptr< IntDateSet > mpOldSelectTable
void ImplTracking(const Point &rPos, bool bRepeat)
void ImplDraw(vcl::RenderContext &rRenderContext)
void ImplUpdateDate(const Date &rDate)
void ImplMouseSelect(const Date &rDate, sal_uInt16 nHitTest)
virtual void StateChanged(StateChangedType nStateChange) override
virtual void Command(const CommandEvent &rCEvt) override
tools::Rectangle maNextRect
void ImplShowMenu(const Point &rPos, const Date &rDate)
Date maOldFormatFirstDate
void SetFirstDate(const Date &rNewFirstDate)
virtual void RequestHelp(const HelpEvent &rHEvt) override
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
std::set< sal_Int32 > IntDateSet