Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: accessibility ::

interface XAccessibleImage
Description
Implement this interface to represent images and icons.

This interface is used for a representation of images like icons of buttons. The corresponding interface of the Java Accessibility API is AccessibleIcon. This interface lets you retrieve an image's size and description.

Since
OOo 1.1.2
Developers Guide
Accessibility - XAccessibleImage

Methods' Summary
getAccessibleImageDescription Returns the localized description of the image.  
getAccessibleImageHeight Returns the height of the image.  
getAccessibleImageWidth Returns the width of the image.  
Methods' Details
getAccessibleImageDescription
string
getAccessibleImageDescription();

Description
Returns the localized description of the image.

It depends on the usage of an image whether the description should express the image's function (e.g. for icons) or the actual content of the image (e.g. for image maps or non-iconic images embedded into a document.)

Returns
Returns a localized string that describes the images's function or content.
getAccessibleImageHeight
long
getAccessibleImageHeight();

Description
Returns the height of the image.

The height is returned in units specified by the parents coordinate system.

Returns
Returns the image's height with respect to the parent's coordinate system.
getAccessibleImageWidth
long
getAccessibleImageWidth();

Description
Returns the width of the image.

The width is returned in units specified by the parents coordinate system.

Returns
Returns the image's width with respect to the parent's coordinate system.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.