blob: 721bd59eac9d9104a19ab0b3339c864f4cf08520 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef com_sun_star_graphic_XGraphic_idl
#define com_sun_star_graphic_XGraphic_idl
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/graphic/GraphicType.idl>
module com { module sun { module star { module graphic
{
/** This interface acts as a container for the loaded graphic.
<p>The interface itself can be retrieved by using the appropriate
methods of <type>XGraphicProvider</type> interface.
<type>XGraphicProvider</type> also offers a method to store
the graphic content at a specific location</p>
<p>To render the graphic content onto a specific device, you
have to create a <type>XGraphicRenderer</type> interface and pass
this interface appropriately</p>
@see XGraphicProvider
@see XGraphicRenderer
*/
published interface XGraphic : ::com::sun::star::uno::XInterface
{
/** Get the type of the contained graphic
@returns
The type of the contained graphic
@see GraphicType
*/
byte getType();
};
} ; } ; } ; } ;
#endif