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_HierarchyContentProvider_idl__
20 #define __com_sun_star_ucb_HierarchyContentProvider_idl__
22 #include
<com
/sun
/star
/ucb
/XContentProvider.idl
>
25 module com
{ module sun
{ module star
{ module ucb
{
27 /** The Hierarchy Content Provider (HCP) implements a
28 ContentProvider for the UniversalContentBroker
31 <p>It provides access to a persistent, customizable hierarchy of contents
34 @see com::sun::star::ucb::Content
36 published service HierarchyContentProvider
38 /** provides three types of contents: Link, Folder and Root Folder.
45 A HCP Link (HierarchyLinkContent) is a content which
46 points to another (UCB) content. It is always contained in HCP Folder.
47 A HCP Link has no children.
50 A HCP Folder (HierarchyFolderContent) is a container for
51 other HCP Folders and HCP Links.
54 There is at most one instance of a HCP Root Folder
55 ( HierarchyRootFolderContent ) at a time.
56 All other HCP contents are children of this folder. The HCP Root
57 Folder can contain HCP Folders and HCP Links. It has the URL
58 "vnd.sun.star.hier:/".
62 <p><b>URL Scheme for HCP Contents</b>
64 <p>Each HCP content has an identifier corresponding to the following
69 vnd.sun.star.hier:/<path>, where <path> is a
70 hierarchical path of the form <name>/.../<name> and
71 where <name> is a string encoded according to the URL
80 vnd.sun.star.hier:/ (The URL of the HCP Root Folder)
83 vnd.sun.star.hier:/Bookmarks/Sun%20Microsystems%20Home%20Page
86 vnd.sun.star.hier:/Workplace/Printers
92 interface com
::sun
::star
::ucb
::XContentProvider
;
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */