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_GraphicObject_idl 25#define com_sun_star_graphic_GraphicObject_idl 26 27#include <com/sun/star/graphic/XGraphicObject.idl> 28 29module com { module sun { module star { module graphic 30{ 31/** The <code>GraphicObject</code> service can be used to create <type>XGraphicObject</type> instances. 32 33 <p><type>XGraphicObject</type> objects are accessable using GraphicObject scheme urls like 34 <code>vnd.sun.star.GraphicObject:10000000000001940000012FB99807BD</code>. 35 As long as at least one instance of <type>XGraphicObject</type> with a particular UniqueID exists, 36 the associated image/graphic is available.</p> 37 38 @see GraphicObject 39 @see GraphicProvider 40 @see MediaProperties 41*/ 42 43service GraphicObject : XGraphicObject 44{ 45 /** Creates an <type>GraphicObject</type> 46 */ 47 create(); 48 49 /** Creates an <type>GraphicObject</type> with <code>uniqueId</code> 50 @param uniqueId 51 If another <type>XGraphicObject</type> with <code>uniqueId</code> exists, this GraphicObject 52 is populated with the other <type>GraphicObject</type>'s data. 53 */ 54 createWithId( [in] string uniqueId ); 55}; 56 57} ; } ; } ; } ; 58 59#endif 60