summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-09-19 00:55:07 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-09-19 00:55:07 +0200
commit55cb4638a0cd051bc254de935335ce501f12a572 (patch)
tree6ff093635ce147436cf418e49af6ecd4eb8ba12d /offapi
parentac226443522c55ab75cab8eed354b999052135a7 (diff)
add theServiceDocumenter singleton
Change-Id: I491fc5ae67de06cc2cf14d2e4a5cfbef57891c9a
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk2
-rw-r--r--offapi/com/sun/star/script/XServiceDocumenter.idl31
-rw-r--r--offapi/com/sun/star/script/theServiceDocumenter.idl26
3 files changed, 59 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 505f4f540292..0ede4c2b41b4 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -319,6 +319,8 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/scanner,\
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/script,\
DocumentDialogLibraryContainer \
DocumentScriptLibraryContainer \
+ XServiceDocumenter \
+ theServiceDocumenter \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/script/browse,\
theBrowseNodeFactory \
diff --git a/offapi/com/sun/star/script/XServiceDocumenter.idl b/offapi/com/sun/star/script/XServiceDocumenter.idl
new file mode 100644
index 000000000000..32c86ea17463
--- /dev/null
+++ b/offapi/com/sun/star/script/XServiceDocumenter.idl
@@ -0,0 +1,31 @@
+/* -*- 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_script_XServiceDocumenter_idl__
+#define __com_sun_star_script_XServiceDocumenter_idl__
+
+module com { module sun { module star { module script {
+
+/** provides documentation for UNO services
+ @since LibreOffice 5.1
+ */
+interface XServiceDocumenter
+{
+ [attribute] string ServiceBaseUrl;
+ [attribute] string CoreBaseUrl;
+ void showServiceDocs( [in] com::sun::star::lang::XServiceInfo xService );
+ void showInterfaceDocs( [in] com::sun::star::lang::XTypeProvider xTypeProvider );
+ void showCoreDocs( [in] com::sun::star::lang::XServiceInfo xService );
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/script/theServiceDocumenter.idl b/offapi/com/sun/star/script/theServiceDocumenter.idl
new file mode 100644
index 000000000000..871bdbde9e55
--- /dev/null
+++ b/offapi/com/sun/star/script/theServiceDocumenter.idl
@@ -0,0 +1,26 @@
+/* -*- 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_script_theServiceDocumenter_idl__
+#define __com_sun_star_script_theServiceDocumenter_idl__
+
+#include <com/sun/star/script/XServiceDocumenter.idl>
+
+module com { module sun { module star { module script {
+
+/** Provides documentation for UNO services
+ @since LibreOffice 5.1
+ */
+singleton theServiceDocumenter : XServiceDocumenter;
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */