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 .
21 module com
{ module sun
{ module star
{ module ucb
{
23 /** A Help Content represents either a directory object allowing access to a
24 search engine and to index information for the respective module, or an
25 object allowing access to the concrete written help content.
27 @see com::sun::star::ucb::HelpContentProvider
29 published service HelpContent
31 /** This interface is implemented according to the specification of
34 interface com
::sun
::star
::lang
::XComponent
;
36 /** This interface is implemented according to the specification of
39 interface com
::sun
::star
::ucb
::XContent
;
41 /** This interface is implemented according to the specification of
46 <b>Supported Commands</b>
66 <b>Supported Properties</b>
69 string ContentType ( read-only,
70 ""application/vnd.sun.star.help" )
73 boolean IsReadOnly ( read-only, always "true" )
76 boolean IsDocument ( read-only )
79 boolean IsFolder ( read-only )
82 string Title ( read-only, content title )
85 string MediaType ( read only, either "image/gif", "text/plain",
86 "text/html" or "text/css" )
89 sequence<string> KeywordList ( read-only, only if IsFolder is true,
93 sequence<sequence<string>> KeywordRef ( read-only, only if IsFolder is true,
94 contains the links belonging to the index )
97 sequence<sequence<string>> KeywordAnchorForRef ( read-only, only if IsFolder is true,
98 contains the anchor names belonging to the index )
101 sequence<sequence<string>> KeywordTitleForRef ( read-only, , only if IsFolder is true,
102 contains the titles of the documents in which the keywords are found. )
105 sequence<string> SearchScopes ( read only, , only if IsFolder is true,
106 contains the scopes in which to search ).
109 string AnchorName ( readonly, only if content is has media type "text/html".
115 interface com
::sun
::star
::ucb
::XCommandProcessor
;
117 /** is an enhanced version of XCommandProcessor that has an
118 additional method for releasing command identifiers obtained via
119 XCommandProcessor::createCommandIdentifier() to avoid
120 resource leaks. For a detailed description of the problem refer to
121 XCommandProcessor2::releaseCommandIdentifier().
123 <p>Where many existing Content implementations do not
124 (yet), every new implementation should support this interface.
126 [optional] interface com
::sun
::star
::ucb
::XCommandProcessor2
;
128 /** This interface is implemented according to the specification of
131 interface com
::sun
::star
::beans
::XPropertiesChangeNotifier
;
133 /** This interface is implemented according to the specification of
136 interface com
::sun
::star
::beans
::XPropertyContainer
;
138 /** This interface is implemented according to the specification of
141 interface com
::sun
::star
::beans
::XPropertySetInfoChangeNotifier
;
143 /** This interface is implemented according to the specification of
146 interface com
::sun
::star
::ucb
::XCommandInfoChangeNotifier
;
148 /** This interface is implemented according to the specification of
151 interface com
::sun
::star
::container
::XChild
;
157 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */