LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows administrating a set of images, to be displayed as animated seres. More...
import"XAnimatedImages.idl";
Exported Interfaces | |
interface | ::com::sun::star::container::XContainer |
allows other components to observer the insertion, removal, and replacement of image sets More... | |
Public Member Functions | |
long | getImageSetCount () |
returns the number of images sets maintained by the component. More... | |
sequence< string > | getImageSet ([in] long iIndex) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
returns the URLs of the image set with the given index More... | |
void | insertImageSet ([in] long iIndex, [in] sequence< string > iImageURLs) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
sets the URLs of the image set with the given index More... | |
void | replaceImageSet ([in] long iIndex, [in] sequence< string > iImageURLs) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
replaces the image set given by index with a new one More... | |
void | removeImageSet ([in] long iIndex) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
removes the image set with the given index More... | |
Public Member Functions inherited from XContainer | |
void | addContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
adds the specified listener to receive events when elements are inserted or removed. More... | |
void | removeContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
removes the specified listener so it does not receive any events from this container. 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... | |
Public Attributes | |
long | StepTime |
specifies the time in milliseconds between two animation steps. More... | |
boolean | AutoRepeat |
specifies whether the animation should start over with the first image of the image series when the last image has been played. More... | |
short | ScaleMode { set raises(::com::sun::star::lang::IllegalArgumentException); } |
controls the way the images are scaled up or down, when the available space is larger or smaller than what is needed for them. More... | |
allows administrating a set of images, to be displayed as animated seres.
Components implementing this interface maintain a variable number of image sets. Components displaying those images will choose the best-fitting image set depending on the available space, and possibly other restrictions.
interface ::com::sun::star::container::XContainer |
allows other components to observer the insertion, removal, and replacement of image sets
sequence< string > getImageSet | ( | [in] long | iIndex | ) | |
raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |||
) |
returns the URLs of the image set with the given index
iIndex | the index of the set those image URLs are to be retrieved. Must be greater than or equal to 0 , and smaller than the value returned by getImageSetCount(). |
com::sun::star::lang::IndexOutOfBoundsException | if the iIndex is not a valid index. |
long getImageSetCount | ( | ) |
returns the number of images sets maintained by the component.
void insertImageSet | ( | [in] long | iIndex, |
[in] sequence< string > | iImageURLs | ||
) | |||
raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |
) |
sets the URLs of the image set with the given index
iIndex | the index at which a new image set should be inserted. Must be greater than or equal to 0 , and smaller than or equal to the value returned by getImageSetCount(). |
iImageURLs | the URLs for the images for the given set. Will be resolved using a com::sun::star::graphic::GraphicProvider. |
com::sun::star::lang::IndexOutOfBoundsException | if the iIndex is not a valid index. |
void removeImageSet | ( | [in] long | iIndex | ) | |
raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |||
) |
removes the image set with the given index
iIndex | the index of the set to remove. Must be greater than or equal to 0 , and smaller than the value returned by getImageSetCount(). |
com::sun::star::lang::IndexOutOfBoundsException | if the iIndex is not a valid index. |
void replaceImageSet | ( | [in] long | iIndex, |
[in] sequence< string > | iImageURLs | ||
) | |||
raises | ( | ::com::sun::star::lang::IndexOutOfBoundsException | |
) |
replaces the image set given by index with a new one
iIndex | the index of the set those image URLs are to be replaced. Must be greater than or equal to 0 , and smaller than the value returned by getImageSetCount(). |
iImageURLs | the URLs for the images for the given set. Will be resolved using a com::sun::star::graphic::GraphicProvider. |
com::sun::star::lang::IndexOutOfBoundsException | if the iIndex is not a valid index. |
|
attribute |
specifies whether the animation should start over with the first image of the image series when the last image has been played.
The default value for this attribute is TRUE
.
|
attribute |
controls the way the images are scaled up or down, when the available space is larger or smaller than what is needed for them.
Allowed values are those from the ImageScaleMode constants group.
|
attribute |
specifies the time in milliseconds between two animation steps.
This is the minimum time, the actual value might be longer due to system load. The default value will be 100 ms.