LibreOffice
LibreOffice 6.0 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. More... | |
Public Attributes | |
byte | GraphicType |
The type of the graphic. More... | |
string | MimeType |
The MimeType of the loaded graphic. More... | |
::com::sun::star::awt::Size | SizePixel |
The Size of the graphic in pixel. More... | |
::com::sun::star::awt::Size | Size100thMM |
The Size of the graphic in 100th mm. More... | |
byte | BitsPerPixel |
The number of bits per pixel used for the pixel graphic. More... | |
boolean | Transparent |
Indicates that it is a transparent graphic. More... | |
boolean | Alpha |
Indicates that it is a pixel graphic with an alpha channel. More... | |
boolean | Animated |
Indicates that it is a graphic that consists of several frames that can be played as an animation. More... | |
Additional Inherited Members | |
![]() | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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.
|
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 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.