1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef com_sun_star_graphic_XGraphicObject_idl
25#define com_sun_star_graphic_XGraphicObject_idl
26
27#include <com/sun/star/uno/XInterface.idl>
28
29module com { module sun { module star { module graphic
30{
31interface XGraphic;
32/** <code>XGraphicObject</code> objects represent in-memory image and graphic
33    objects.
34
35    <p>Such objects are accessible using GraphicObject scheme urls like
36    <ul>
37        <li>vnd.sun.star.GraphicObject:10000000000001940000012FB99807BD</li>
38    </ul>
39    The numeric portion of the url is formed from <member>UniqueID</member>.
40    As long as at least one instance of <code>XGraphicObject</code> with a particular UniqueID exists,
41    the associated image/graphic is available.</p>
42
43    @see XGraphicObject
44    @see GraphicProvider
45    @see MediaProperties
46*/
47
48interface XGraphicObject : ::com::sun::star::uno::XInterface
49{
50    /** is the associated image/graphic for this object.
51    */
52    [attribute ] XGraphic Graphic;
53
54    /** is the id that can be used to form the <code>vnd.sun.star.GraphicObject</code> url to address this object.
55    */
56    [attribute, readonly ] string UniqueID;
57};
58
59} ; } ; } ; } ;
60
61#endif
62