1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_ucb_HelpContent_idl__
20 #define __com_sun_star_ucb_HelpContent_idl__
22 #include
<com
/sun
/star
/lang
/XComponent.idl
>
23 #include
<com
/sun
/star
/ucb
/XContent.idl
>
24 #include
<com
/sun
/star
/ucb
/XCommandProcessor.idl
>
25 #include
<com
/sun
/star
/ucb
/XCommandProcessor2.idl
>
26 #include
<com
/sun
/star
/beans
/XPropertiesChangeNotifier.idl
>
27 #include
<com
/sun
/star
/beans
/XPropertyContainer.idl
>
28 #include
<com
/sun
/star
/beans
/XPropertySetInfoChangeNotifier.idl
>
29 #include
<com
/sun
/star
/ucb
/XCommandInfoChangeNotifier.idl
>
30 #include
<com
/sun
/star
/container
/XChild.idl
>
33 module com
{ module sun
{ module star
{ module ucb
{
35 /** A Help Content represents either a directory object allowing access to a
36 search engine and to index information for the respective module, or an
37 object allowing access to the concrete written help content.
39 @see com::sun::star::ucb::HelpContentProvider
41 published service HelpContent
43 /** This interface is implemented according to the specification of
46 interface com
::sun
::star
::lang
::XComponent
;
48 /** This interface is implemented according to the specification of
51 interface com
::sun
::star
::ucb
::XContent
;
53 /** This interface is implemented according to the specification of
58 <b>Supported Commands</b>
78 <b>Supported Properties</b>
81 string ContentType ( read-only,
82 ""application/vnd.sun.star.help" )
85 boolean IsReadOnly ( read-only, always "true" )
88 boolean IsDocument ( read-only )
91 boolean IsFolder ( read-only )
94 string Title ( read-only, content title )
97 string MediaType ( read only, either "image/gif", "text/plain",
98 "text/html" or "text/css" )
101 sequence<string> KeywordList ( read-only, only if IsFolder is true,
105 sequence<sequence<string>> KeywordRef ( read-only, only if IsFolder is true,
106 contains the links belonging to the index )
109 sequence<sequence<string>> KeywordAnchorForRef ( read-only, only if IsFolder is true,
110 contains the anchor names belonging to the index )
113 sequence<sequence<string>> KeywordTitleForRef ( read-only, , only if IsFolder is true,
114 contains the titles of the documents in which the keywords are found. )
117 sequence<string> SearchScopes ( read only, , only if IsFolder is true,
118 contains the scopes in which to search ).
121 string AnchorName ( readonly, only if content is has media type "text/html".
127 interface com
::sun
::star
::ucb
::XCommandProcessor
;
129 /** is an enhanced version of XCommandProcessor that has an
130 additional method for releasing command identifiers obtained via
131 XCommandProcessor::createCommandIdentifier() to avoid
132 resource leaks. For a detailed description of the problem refer to
133 XCommandProcessor2::releaseCommandIdentifier().
135 <p>Where many existing Content implementations do not
136 (yet), every new implementation should support this interface.
138 [optional] interface com
::sun
::star
::ucb
::XCommandProcessor2
;
140 /** This interface is implemented according to the specification of
143 interface com
::sun
::star
::beans
::XPropertiesChangeNotifier
;
145 /** This interface is implemented according to the specification of
148 interface com
::sun
::star
::beans
::XPropertyContainer
;
150 /** This interface is implemented according to the specification of
153 interface com
::sun
::star
::beans
::XPropertySetInfoChangeNotifier
;
155 /** This interface is implemented according to the specification of
158 interface com
::sun
::star
::ucb
::XCommandInfoChangeNotifier
;
160 /** This interface is implemented according to the specification of
163 interface com
::sun
::star
::container
::XChild
;
171 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */