Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / graphic / GraphicObject.idl
blob55685512e813521744d066064e8743f41787588e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef com_sun_star_graphic_GraphicObject_idl
30 #define com_sun_star_graphic_GraphicObject_idl
32 #include <com/sun/star/graphic/XGraphicObject.idl>
34 module com { module sun { module star { module graphic
36 /** The <code>GraphicObject</code> service can be used to create <type>XGraphicObject</type> instances.
38 <p><type>XGraphicObject</type> objects are accessible using GraphicObject scheme URLs like
39 <code>vnd.sun.star.GraphicObject:10000000000001940000012FB99807BD</code>.
40 As long as at least one instance of <type>XGraphicObject</type> with a particular UniqueID exists,
41 the associated image/graphic is available.</p>
43 @see GraphicObject
44 @see GraphicProvider
45 @see MediaProperties
48 service GraphicObject : XGraphicObject
50 /** Creates an <type>GraphicObject</type>
52 create();
54 /** Creates an <type>GraphicObject</type> with <code>uniqueId</code>
55 @param uniqueId
56 If another <type>XGraphicObject</type> with <code>uniqueId</code> exists, this GraphicObject
57 is populated with the other <type>GraphicObject</type>'s data.
59 createWithId( [in] string uniqueId );
62 } ; } ; } ; } ;
64 #endif
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */