summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2002-07-25 08:53:57 +0000
committerEike Rathke <er@openoffice.org>2002-07-25 08:53:57 +0000
commit6f223401fd0b0981e49e3022ba2083bc9cde0777 (patch)
treeb8a590a85be2fbeb12a160269954c4e1df920c0b /unotools/inc
parentdca247d28880d9887fd9f9006f26229f01992e3f (diff)
#98695# add wrapper implementation of XExtendedCalendar::getDisplayString()
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/calendarwrapper.hxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/unotools/inc/unotools/calendarwrapper.hxx b/unotools/inc/unotools/calendarwrapper.hxx
index eacb1fe30d5f..742a93cbfaa7 100644
--- a/unotools/inc/unotools/calendarwrapper.hxx
+++ b/unotools/inc/unotools/calendarwrapper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: calendarwrapper.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: er $ $Date: 2001-08-27 15:18:38 $
+ * last change: $Author: er $ $Date: 2002-07-25 09:53:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,16 +83,19 @@ namespace com { namespace sun { namespace star {
namespace lang {
class XMultiServiceFactory;
}
+}}}
+
+namespace drafts { namespace com { namespace sun { namespace star {
namespace i18n {
- class XCalendar;
+ class XExtendedCalendar;
}
-}}}
+}}}}
class CalendarWrapper
{
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr;
- ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XCalendar > xC;
+ ::com::sun::star::uno::Reference< ::drafts::com::sun::star::i18n::XExtendedCalendar > xC;
DateTime aEpochStart; // 1Jan1970
@@ -126,6 +129,10 @@ public:
::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem > getDays() const;
String getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType ) const;
+ // wrapper implementations of XExtendedCalendar
+
+ String getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) const;
+
// convenience methods