LibreOffice LibreOffice 5.3 SDK API Reference

GraphicDescriptor.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20 #ifndef com_sun_star_graphic_GraphicDescriptor_idl
21 #define com_sun_star_graphic_GraphicDescriptor_idl
22
23 #include <com/sun/star/graphic/GraphicType.idl>
24 #include <com/sun/star/beans/XPropertySet.idl>
25 #include <com/sun/star/awt/Size.idl>
26
27 module com { module sun { module star { module graphic
28 {
29
35 published service GraphicDescriptor
36 {
40 interface ::com::sun::star::beans::XPropertySet;
41
46 [property] byte GraphicType;
47
86 [property] string MimeType;
87
95 [optional, property] ::com::sun::star::awt::Size SizePixel;
96
104 [optional, property] ::com::sun::star::awt::Size Size100thMM;
105
112 [optional, property] byte BitsPerPixel;
113
121 [optional, property] boolean Transparent;
122
129 [optional, property] boolean Alpha;
130
138 [optional, property] boolean Animated;
139 };
140
141 } ; } ; } ; } ;
142
143 #endif
144
145 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::graphic::GraphicDescriptor::Animated
boolean Animated
Indicates that it is a graphic that consists of several frames that can be played as an animation...
Definition: GraphicDescriptor.idl:138
com::sun::star::graphic::GraphicDescriptor::SizePixel
::com::sun::star::awt::Size SizePixel
The Size of the graphic in pixel.
Definition: GraphicDescriptor.idl:95
com::sun::star::graphic::GraphicDescriptor::MimeType
string MimeType
The MimeType of the loaded graphic.
Definition: GraphicDescriptor.idl:86
Size.idl
com
Definition: Ambiguous.idl:22
com::sun::star::graphic::GraphicDescriptor::BitsPerPixel
byte BitsPerPixel
The number of bits per pixel used for the pixel graphic.
Definition: GraphicDescriptor.idl:112
com::sun::star::graphic::GraphicDescriptor::GraphicType
byte GraphicType
The type of the graphic.
Definition: GraphicDescriptor.idl:40
com::sun::star::graphic::GraphicDescriptor::Size100thMM
::com::sun::star::awt::Size Size100thMM
The Size of the graphic in 100th mm.
Definition: GraphicDescriptor.idl:104
com::sun::star::awt::Size
specifies the 2-dimensional size of an area using width and height.
Definition: Size.idl:29
GraphicType.idl
com::sun::star::graphic::GraphicDescriptor::Alpha
boolean Alpha
Indicates that it is a pixel graphic with an alpha channel.
Definition: GraphicDescriptor.idl:129
XPropertySet.idl
com::sun::star::graphic::GraphicDescriptor::Transparent
boolean Transparent
Indicates that it is a transparent graphic.
Definition: GraphicDescriptor.idl:121
com::sun::star::graphic::GraphicDescriptor
This service describes all graphic properties that are available via the com::sun::star::beans::XProp...
Definition: GraphicDescriptor.idl:35