LibreOffice Module vcl (master) 1
|
#include <vcl/builder.hxx>
#include <vcl/svapp.hxx>
#include <vcl/help.hxx>
#include <vcl/kernarray.hxx>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
#include <vcl/event.hxx>
#include <vcl/toolkit/calendar.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/dockwin.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <com/sun/star/i18n/Weekdays.hpp>
#include <com/sun/star/i18n/CalendarDisplayIndex.hpp>
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
#include <sal/log.hxx>
#include <tools/json_writer.hxx>
#include <calendar.hxx>
#include <svdata.hxx>
#include <strings.hrc>
#include <memory>
Go to the source code of this file.
Classes | |
struct | ImplCFieldFloatWin |
Macros | |
#define | DAY_OFFX 4 |
#define | DAY_OFFY 2 |
#define | MONTH_BORDERX 4 |
#define | MONTH_OFFY 3 |
#define | WEEKDAY_OFFY 3 |
#define | TITLE_OFFY 3 |
#define | TITLE_BORDERY 2 |
#define | SPIN_OFFX 4 |
#define | SPIN_OFFY TITLE_BORDERY |
#define | CALENDAR_HITTEST_DAY (sal_uInt16(0x0001)) |
#define | CALENDAR_HITTEST_MONTHTITLE (sal_uInt16(0x0004)) |
#define | CALENDAR_HITTEST_PREV (sal_uInt16(0x0008)) |
#define | CALENDAR_HITTEST_NEXT (sal_uInt16(0x0010)) |
#define | MENU_YEAR_COUNT 3 |
Functions | |
static void | ImplCalendarSelectDate (IntDateSet *pTable, const Date &rDate, bool bSelect) |
IMPL_LINK (CalendarField, ImplSelectHdl, weld::Calendar &, rCalendar, void) | |
IMPL_LINK (CalendarField, ImplClickHdl, weld::Button &, rBtn, void) | |
IMPL_LINK_NOARG (CalendarField, ImplPopupModeEndHdl, FloatingWindow *, void) | |
#define CALENDAR_HITTEST_DAY (sal_uInt16(0x0001)) |
Definition at line 53 of file calendar.cxx.
#define CALENDAR_HITTEST_MONTHTITLE (sal_uInt16(0x0004)) |
Definition at line 54 of file calendar.cxx.
#define CALENDAR_HITTEST_NEXT (sal_uInt16(0x0010)) |
Definition at line 56 of file calendar.cxx.
#define CALENDAR_HITTEST_PREV (sal_uInt16(0x0008)) |
Definition at line 55 of file calendar.cxx.
#define DAY_OFFX 4 |
Definition at line 43 of file calendar.cxx.
#define DAY_OFFY 2 |
Definition at line 44 of file calendar.cxx.
#define MENU_YEAR_COUNT 3 |
Definition at line 58 of file calendar.cxx.
#define MONTH_BORDERX 4 |
Definition at line 45 of file calendar.cxx.
#define MONTH_OFFY 3 |
Definition at line 46 of file calendar.cxx.
#define SPIN_OFFX 4 |
Definition at line 50 of file calendar.cxx.
#define SPIN_OFFY TITLE_BORDERY |
Definition at line 51 of file calendar.cxx.
#define TITLE_BORDERY 2 |
Definition at line 49 of file calendar.cxx.
#define TITLE_OFFY 3 |
Definition at line 48 of file calendar.cxx.
#define WEEKDAY_OFFY 3 |
Definition at line 47 of file calendar.cxx.
IMPL_LINK | ( | CalendarField | , |
ImplClickHdl | , | ||
weld::Button & | , | ||
rBtn | , | ||
void | |||
) |
Definition at line 1656 of file calendar.cxx.
References DockingManager::EndPopupMode(), vcl::Window::GetDockingManager(), GrabFocus, Modify, and Date::SYSTEM.
IMPL_LINK | ( | CalendarField | , |
ImplSelectHdl | , | ||
weld::Calendar & | , | ||
rCalendar | , | ||
void | |||
) |
Definition at line 1640 of file calendar.cxx.
References DockingManager::EndPopupMode(), vcl::Window::GetDockingManager(), GrabFocus, and Modify.
IMPL_LINK_NOARG | ( | CalendarField | , |
ImplPopupModeEndHdl | , | ||
FloatingWindow * | , | ||
void | |||
) |
Definition at line 1684 of file calendar.cxx.
References GrabFocus.
|
static |
Definition at line 62 of file calendar.cxx.
References Date::GetDate().
Referenced by Calendar::ImplInit(), Calendar::ImplMouseSelect(), and Calendar::SetCurDate().