summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/i18n/XLocaleData5.idl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-26 21:03:26 +0200
committerEike Rathke <erack@redhat.com>2017-10-26 21:35:04 +0200
commit4ef04974882ba53daef3977e84c1844077b77e9b (patch)
tree32aab0df80badc68064ae4fc0e8877d506738a4c /offapi/com/sun/star/i18n/XLocaleData5.idl
parent7cc8b8254feeda7f26ee0b0a187f34c5d8e52b34 (diff)
New decimalSeparatorAlternative, LocaleDataItem2, XLocaleData5, tdf#81671
... and LocaleData2 service, which is necessary with new-style services because optional interface at published service is not possible. Change-Id: I77703243a961b5385eaea146e4c9c42d5f30e1ad
Diffstat (limited to 'offapi/com/sun/star/i18n/XLocaleData5.idl')
-rw-r--r--offapi/com/sun/star/i18n/XLocaleData5.idl41
1 files changed, 41 insertions, 0 deletions
diff --git a/offapi/com/sun/star/i18n/XLocaleData5.idl b/offapi/com/sun/star/i18n/XLocaleData5.idl
new file mode 100644
index 000000000000..5a1eeb9bc22e
--- /dev/null
+++ b/offapi/com/sun/star/i18n/XLocaleData5.idl
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef __com_sun_star_i18n_XLocaleData5_idl__
+#define __com_sun_star_i18n_XLocaleData5_idl__
+
+#include <com/sun/star/i18n/XLocaleData4.idl>
+
+
+module com { module sun { module star { module i18n {
+
+
+/**
+ Access locale specific data.
+
+ <p> Derived from ::com::sun::star::i18n::XLocaleData4
+ this provides an additional method to return an instance of
+ com::sun::star::i18n::LocaleDataItem2
+
+ @since LibreOffice 6.0
+ */
+
+interface XLocaleData5 : com::sun::star::i18n::XLocaleData4
+{
+ /** returns an instance of com::sun::star::i18n::LocaleDataItem2 for
+ a Locale.
+ */
+ com::sun::star::i18n::LocaleDataItem2 getLocaleItem2( [in] com::sun::star::lang::Locale Locale );
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */