Methods' Details |
reset
- Description
- resets the image manager to default data.
This means that all user images of the instance will be removed.
|
|
getAllImageNames
sequence< string > |
getAllImageNames( |
[in] short |
nImageType ); |
- Description
- retrieves the list of command URLs which have images associated.
- Parameter nImageType
- specifies the image type for this operation.
- Returns
- all command URLs within the images manager that have an image
associated.
|
|
hasImage
- Description
- determines if a command URL has an associated image.
- Parameter nImageType
- specifies the image type for this operation.
- Parameter ResourceURL
- a command URL that should be checked for an associated image.
- Returns
- true if an image is associated, otherwise false.
|
|
getImages
- Description
- retrieves the associated images of command URLs.
- Parameter nImageType
- specifies the image type for this association operation.
- Parameter aCommandURLSequence
- a sequence of command URLs for which the images are requested.
- Returns
- a sequence of graphics object which are associated with the
provided command URLs. If an unknown command URL is provided or
a command URL has no associated image a graphics object with an
empty image is provided. If the sequence
aCommandURLSequence contains an invalid command
URL a ::com::sun::star::lang::IllegalArgumentException
is thrown.
|
|
replaceImages
- Description
- replaces the associated images of command URLs.
- Parameter nImageType
- specifies the image type for this association operation.
- Parameter aCommandURLSequence
- a sequence of command URLs for which images should be replaced.
- Parameter aGraphicsSequence
- a sequence of graphic objects which should replace the old images
of the provided command URLs.
If a command URL cannot be found the replace call will be omitted. If
aCommandURLSequence contains an invalid command URL a
::com::sun::star::lang::IllegalArgumentException
is thrown. If the image manager is associated with a read-only configuration
manager a ::com::sun::star::lang::IllegalAccessException
is thrown.
|
|
removeImages
- Description
- removes associated images to a command URL.
- Parameter nImageType
- specifies the image type for this association operation.
- Parameter aCommandURLSequence
- a sequence of command URLs for which the images should be removed.
If the aCommandURLSequence contains an invalid command URL a
::com::sun::star::lang::IllegalArgumentException is
thrown. If the image manager is associated with a read-only configuration
manager a ::com::sun::star::lang::IllegalAccessException
is thrown.
|
|
insertImages
- Description
- inserts new image/command associations to a image manager.
- Parameter nImageType
- specifies the image type for this association operation.
- Parameter aCommandURLSequence
- a sequence of command URLs which specify which commands get an new image.
- Parameter aGraphicSequence
- a sequence of graphic objects which should be associated with the provided
command URLs.
If an association is already present it is replaced. If
aCommandURLSequence contains an invalid command URL a
::com::sun::star::lang::IllegalArgumentException
is thrown. If the configuration manager is read-only a
::com::sun::star::lang::IllegalAccessException is
thrown.
|
|
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.