LibreOffice: GalleryItem Service Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Exported Interfaces | Public Attributes | List of all members
GalleryItem Service Reference

service to get access to the properties of a single Gallery item More...

Inheritance diagram for GalleryItem:

## Exported Interfaces
interface | ::com::sun::star::gallery::XGalleryItem
interface | ::com::sun::star::beans::XPropertySet

## Public Attributes
byte | GalleryItemType
| The type of the Gallery item.
string | URL
| the URL of the Gallery item
string | Title
| the title of the Gallery item
com::sun::star::graphic::XGraphic | Thumbnail
| the thumbnail of the Gallery item
::com::sun::star::graphic::XGraphic | Graphic
| the graphic content of the Gallery item
::com::sun::star::lang::XComponent | Drawing
| the drawing content of the Gallery item

## Additional Inherited Members
Public Member Functions inherited from XGalleryItem
byte | getType ()
| retrieves the type of the Gallery item
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.
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.
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.
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.
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.
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.

## Detailed Description

service to get access to the properties of a single Gallery item

## Exported Interfaces

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

interface ::com::sun::star::beans::XPropertySet

## ◆ ::com::sun::star::gallery::XGalleryItem

interface ::com::sun::star::gallery::XGalleryItem

## Member Data Documentation

## ◆ Drawing

::com::sun::star::lang::XComponent Drawing
| optionalpropertyreadonly

the drawing content of the Gallery item

This is an optional property and may not available for every item

## ◆ GalleryItemType

byte GalleryItemType
| propertyreadonly

The type of the Gallery item.

See also
  GalleryItemType

## ◆ Graphic

::com::sun::star::graphic::XGraphic Graphic
| optionalpropertyreadonly

the graphic content of the Gallery item

This is an optional property and may not available for every item

## ◆ Thumbnail

com::sun::star::graphic::XGraphic Thumbnail
| propertyreadonly

the thumbnail of the Gallery item

The thumbnail may be either a pixel or a vector graphic

## ◆ Title

string Title
| property

the title of the Gallery item

## ◆ URL

string URL
| propertyreadonly

the URL of the Gallery item

The interpretation of the URL depends on the type of the Gallery item. In case of graphic and media items, the URL is a "real" URL, in case of drawings it is a private URL

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

- com/sun/star/gallery/GalleryItem.idl