LibreOffice
LibreOffice 24.2 SDK API Reference
|
This service describes all graphic properties that are available via the com::sun::star::beans::XPropertySet interface. More...
import <GraphicDescriptor.idl;
Exported Interfaces | |
interface | ::com::sun::star::beans::XPropertySet |
The property interface by which the properties of all supported services are exchanged. | |
Public Attributes | |
byte | GraphicType |
The type of the graphic. | |
string | MimeType |
The MimeType of the loaded graphic. | |
::com::sun::star::awt::Size | SizePixel |
The Size of the graphic in pixel. | |
::com::sun::star::awt::Size | Size100thMM |
The Size of the graphic in 100th mm. | |
byte | BitsPerPixel |
The number of bits per pixel used for the pixel graphic. | |
boolean | Transparent |
Indicates that it is a transparent graphic. | |
boolean | Alpha |
Indicates that it is a pixel graphic with an alpha channel. | |
boolean | Animated |
Indicates that it is a graphic that consists of several frames that can be played as an animation. | |
boolean | Linked |
Indicates that the graphic is an external linked graphic. | |
string | OriginURL |
The URL of the location from where the graphic was loaded from. | |
This service describes all graphic properties that are available via the com::sun::star::beans::XPropertySet interface.
interface ::com::sun::star::beans::XPropertySet |
The property interface by which the properties of all supported services are exchanged.
|
optionalproperty |
Indicates that it is a pixel graphic with an alpha channel.
The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the GraphicDescriptor
|
optionalproperty |
Indicates that it is a graphic that consists of several frames that can be played as an animation.
The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the GraphicDescriptor
|
optionalproperty |
The number of bits per pixel used for the pixel graphic.
This property is not available for vector graphics and may not be available for some kinds of pixel graphics
|
property |
The type of the graphic.
|
optionalproperty |
Indicates that the graphic is an external linked graphic.
|
property |
The MimeType of the loaded graphic.
The mime can be the original mime type of the graphic source the graphic container was constructed from or it can be the internal mime type image/x-vclgraphic, in which case the original mime type is not available anymore
Currently, the following mime types are supported for loaded graphics:
|
optionalproperty |
The URL of the location from where the graphic was loaded from.
|
optionalproperty |
The Size of the graphic in 100th mm.
This property may not be available in case of pixel graphics or if the logical size can not be determined correctly for some formats without loading the whole graphic
|
optionalproperty |
The Size of the graphic in pixel.
This property may not be available in case of vector graphics or if the pixel size can not be determined correctly for some formats without loading the whole graphic
|
optionalproperty |
Indicates that it is a transparent graphic.
This property is always TRUE
for vector graphics. The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the GraphicDescriptor.