LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwCalendarWrapper Class Reference

#include <swcalwrp.hxx>

Inheritance diagram for SwCalendarWrapper:
[legend]
Collaboration diagram for SwCalendarWrapper:
[legend]

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 DateTimegetEpochStart () const
 
void setGregorianDateTime (const DateTime &rDateTime)
 

Private Attributes

LanguageType m_nLang
 

Detailed Description

Definition at line 27 of file swcalwrp.hxx.

Constructor & Destructor Documentation

◆ SwCalendarWrapper()

SwCalendarWrapper::SwCalendarWrapper ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext = ::comphelper::getProcessComponentContext())
inline

Definition at line 32 of file swcalwrp.hxx.

References LANGUAGE_SYSTEM.

Member Function Documentation

◆ LoadDefaultCalendar()

void SwCalendarWrapper::LoadDefaultCalendar ( LanguageType  nLang)

Member Data Documentation

◆ m_nLang

LanguageType SwCalendarWrapper::m_nLang
private

Definition at line 29 of file swcalwrp.hxx.

Referenced by LoadDefaultCalendar().


The documentation for this class was generated from the following files: