LibreOffice
LibreOffice 24.2 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 module com { module sun { module star { module graphic
21 {
22 
28 published service GraphicDescriptor
29 {
33  interface ::com::sun::star::beans::XPropertySet;
34 
39  [property] byte GraphicType;
40 
79  [property] string MimeType;
80 
88  [optional, property] ::com::sun::star::awt::Size SizePixel;
89 
98 
105  [optional, property] byte BitsPerPixel;
106 
114  [optional, property] boolean Transparent;
115 
122  [optional, property] boolean Alpha;
123 
131  [optional, property] boolean Animated;
132 
137  [optional, property] boolean Linked;
138 
143  [optional, property] string OriginURL;
144 };
145 
146 } ; } ; } ; } ;
147 
148 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
boolean Linked
Indicates that the graphic is an external linked graphic.
Definition: GraphicDescriptor.idl:137
boolean Animated
Indicates that it is a graphic that consists of several frames that can be played as an animation...
Definition: GraphicDescriptor.idl:131
::com::sun::star::awt::Size SizePixel
The Size of the graphic in pixel.
Definition: GraphicDescriptor.idl:88
string MimeType
The MimeType of the loaded graphic.
Definition: GraphicDescriptor.idl:79
string OriginURL
The URL of the location from where the graphic was loaded from.
Definition: GraphicDescriptor.idl:143
Definition: Ambiguous.idl:20
byte BitsPerPixel
The number of bits per pixel used for the pixel graphic.
Definition: GraphicDescriptor.idl:105
byte GraphicType
The type of the graphic.
Definition: GraphicDescriptor.idl:33
::com::sun::star::awt::Size Size100thMM
The Size of the graphic in 100th mm.
Definition: GraphicDescriptor.idl:97
specifies the 2-dimensional size of an area using width and height.
Definition: Size.idl:27
boolean Alpha
Indicates that it is a pixel graphic with an alpha channel.
Definition: GraphicDescriptor.idl:122
boolean Transparent
Indicates that it is a transparent graphic.
Definition: GraphicDescriptor.idl:114
This service describes all graphic properties that are available via the com::sun::star::beans::XProp...
Definition: GraphicDescriptor.idl:28