LibreOffice
LibreOffice 6.4 SDK API Reference
Exported Interfaces | Public Attributes | List of all members
GraphicDescriptor Service Referencepublished

This service describes all graphic properties that are available via the com::sun::star::beans::XPropertySet interface. More...

import"GraphicDescriptor.idl";

Inheritance diagram for GraphicDescriptor:
XPropertySet XInterface Graphic

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...
 
boolean Linked
 Indicates that the graphic is an external linked graphic. More...
 
string OriginURL
 The URL of the location from where the graphic was loaded from. More...
 

Additional Inherited Members

- Public Member Functions inherited from XPropertySet
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...
 
- Public Member Functions inherited from XInterface
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...
 

Detailed Description

This service describes all graphic properties that are available via the com::sun::star::beans::XPropertySet interface.

See also
XPropertySet

Exported Interfaces

◆ ::com::sun::star::beans::XPropertySet

The property interface by which the properties of all supported services are exchanged.

Member Data Documentation

◆ Alpha

boolean Alpha
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

◆ Animated

boolean Animated
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

◆ BitsPerPixel

byte BitsPerPixel
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

◆ GraphicType

byte GraphicType
property

The type of the graphic.

See also
GraphicType

◆ Linked

boolean Linked
optionalproperty

Indicates that the graphic is an external linked graphic.

Since
LibreOffice 6.1

◆ MimeType

string MimeType
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:

  • image/bmp
  • image/gif
  • image/jpeg
  • image/x-photo-cd
  • image/x-pcx
  • image/png
  • image/tiff
  • image/x-xbitmap
  • image/x-xpixmap
  • image/x-portable-bitmap
  • image/x-portable-graymap
  • image/x-portable-pixmap
  • image/x-cmu-raster
  • image/x-targa
  • image/x-photoshop
  • image/x-eps
  • image/x-dxf
  • image/x-met
  • image/x-pict
  • image/x-svm
  • image/x-wmf
  • image/x-emf
  • image/svg+xml
  • application/pdf
  • image/x-vclgraphic

◆ OriginURL

string OriginURL
optionalproperty

The URL of the location from where the graphic was loaded from.

Since
LibreOffice 6.1

◆ Size100thMM

::com::sun::star::awt::Size Size100thMM
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

◆ SizePixel

::com::sun::star::awt::Size SizePixel
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

◆ Transparent

boolean Transparent
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.


The documentation for this service was generated from the following file: