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 /** The Hierarchy Content Provider (HCP) implements a
24 ContentProvider for the UniversalContentBroker
27 <p>It provides access to a persistent, customizable hierarchy of contents
30 @see com::sun::star::ucb::Content
32 published service HierarchyContentProvider
34 /** provides three types of contents: Link, Folder and Root Folder.
41 A HCP Link (HierarchyLinkContent) is a content which
42 points to another (UCB) content. It is always contained in HCP Folder.
43 A HCP Link has no children.
46 A HCP Folder (HierarchyFolderContent) is a container for
47 other HCP Folders and HCP Links.
50 There is at most one instance of a HCP Root Folder
51 ( HierarchyRootFolderContent ) at a time.
52 All other HCP contents are children of this folder. The HCP Root
53 Folder can contain HCP Folders and HCP Links. It has the URL
54 "vnd.sun.star.hier:/".
58 <p><b>URL Scheme for HCP Contents</b>
60 <p>Each HCP content has an identifier corresponding to the following
65 vnd.sun.star.hier:/<path>, where <path> is a
66 hierarchical path of the form <name>/.../<name> and
67 where <name> is a string encoded according to the URL
76 vnd.sun.star.hier:/ (The URL of the HCP Root Folder)
79 vnd.sun.star.hier:/Bookmarks/Sun%20Microsystems%20Home%20Page
82 vnd.sun.star.hier:/Workplace/Printers
88 interface com
::sun
::star
::ucb
::XContentProvider
;
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */