LibreOffice Module sw (master) 1
|
#include <swcalwrp.hxx>
Public Member Functions | |
SwCalendarWrapper (const css::uno::Reference< css::uno::XComponentContext > &rxContext=::comphelper::getProcessComponentContext()) | |
void | LoadDefaultCalendar (LanguageType nLang) |
Public Member Functions inherited from CalendarWrapper | |
CalendarWrapper (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
~CalendarWrapper () | |
void | loadDefaultCalendar (const css::lang::Locale &rLocale, bool bTimeZoneUTC=true) |
void | loadCalendar (const OUString &rUniqueID, const css::lang::Locale &rLocale, bool bTimeZoneUTC=true) |
css::uno::Sequence< OUString > | getAllCalendars (const css::lang::Locale &rLocale) const |
OUString | getUniqueID () const |
void | setDateTime (double fTimeInDays) |
double | getDateTime () const |
void | setValue (sal_Int16 nFieldIndex, sal_Int16 nValue) |
bool | isValid () const |
sal_Int16 | getValue (sal_Int16 nFieldIndex) const |
sal_Int16 | getFirstDayOfWeek () const |
sal_Int16 | getNumberOfMonthsInYear () const |
sal_Int16 | getNumberOfDaysInWeek () const |
OUString | getDisplayName (sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) const |
OUString | getDisplayString (sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode) const |
css::i18n::Calendar2 | getLoadedCalendar () const |
css::uno::Sequence< css::i18n::CalendarItem2 > | getDays () const |
css::uno::Sequence< css::i18n::CalendarItem2 > | getMonths () const |
css::uno::Sequence< css::i18n::CalendarItem2 > | getGenitiveMonths () const |
css::uno::Sequence< css::i18n::CalendarItem2 > | getPartitiveMonths () const |
void | setLocalDateTime (double fTimeInDays) |
double | getLocalDateTime () const |
const DateTime & | getEpochStart () const |
void | setGregorianDateTime (const DateTime &rDateTime) |
Private Attributes | |
LanguageType | m_nLang |
Definition at line 27 of file swcalwrp.hxx.
|
inline |
Definition at line 32 of file swcalwrp.hxx.
References LANGUAGE_SYSTEM.
void SwCalendarWrapper::LoadDefaultCalendar | ( | LanguageType | nLang | ) |
Definition at line 732 of file init.cxx.
References LanguageTag::convertToLocale(), CalendarWrapper::loadDefaultCalendar(), and m_nLang.
Referenced by QuickHelpData::FillStrArr().
|
private |
Definition at line 29 of file swcalwrp.hxx.
Referenced by LoadDefaultCalendar().