LibreOffice LibreOffice 5.3 SDK API Reference

Exported Interfaces | List of all members
AccessibleCell Service Reference

The accessible view of a spreadsheet document. More...

`import"AccessibleCell.idl";`

Inheritance diagram for AccessibleCell:

## Exported Interfaces
interface | ::com::sun::star::accessibility::XAccessibleContext
| This interface gives access to the whole content of the cell. More...
interface | ::com::sun::star::accessibility::XAccessibleComponent
| This interface gives access to the visibility of the cell. More...
interface | ::com::sun::star::accessibility::XAccessibleValue
| This interface gives access to the value of the cell. More...
interface | ::com::sun::star::accessibility::XAccessibleText
| This interface gives access to the text representation of the cell content. More...

## Additional Inherited Members
Public Member Functions inherited from XAccessibleContext
long | getAccessibleChildCount ()
| Return the number of children. More...
XAccessible | getAccessibleChild ([in] long i) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Returns the i-th child of this object. More...
XAccessible | getAccessibleParent ()
| Returns the parent of this object. More...
long | getAccessibleIndexInParent ()
| Returns the index of this object in its accessible parent. More...
short | getAccessibleRole ()
| Returns the role of this object. More...
string | getAccessibleDescription ()
| Returns the object's description. More...
string | getAccessibleName ()
| Return the object's localized name. More...
XAccessibleRelationSet | getAccessibleRelationSet ()
| Returns the set of relations defined for this object. More...
XAccessibleStateSet | getAccessibleStateSet ()
| Returns the set of states that are currently active for this object. More...
::com::sun::star::lang::Locale | getLocale () raises (IllegalAccessibleComponentStateException)
| Returns the locale of the component. 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 Member Functions inherited from XAccessibleComponent
boolean | containsPoint ([in] ::com::sun::star::awt::Point Point)
| Tests whether the specified point lies within this object's bounds. More...
XAccessible | getAccessibleAtPoint ([in] ::com::sun::star::awt::Point Point)
| Returns the Accessible child that is rendered under the given point. More...
::com::sun::star::awt::Rectangle | getBounds ()
| Returns the bounding box of this object. More...
::com::sun::star::awt::Point | getLocation ()
| Returns the location of the upper left corner of the object's bounding box relative to the parent. More...
::com::sun::star::awt::Point | getLocationOnScreen ()
| Returns the location of the upper left corner of the object's bounding box in screen coordinates. More...
::com::sun::star::awt::Size | getSize ()
| Returns the size of this object's bounding box. More...
void | grabFocus ()
| Grabs the focus to this object. More...
::com::sun::star::util::Color | getForeground ()
| Returns the foreground color of this object. More...
::com::sun::star::util::Color | getBackground ()
| Returns the background color of this object. More...
Public Member Functions inherited from XAccessibleValue
any | getCurrentValue ()
| Returns the value of this object as a number. More...
boolean | setCurrentValue ([in] any aNumber)
| Sets the value of this object to the given number. More...
any | getMaximumValue ()
| Returns the maximal value that can be represented by this object. More...
any | getMinimumValue ()
| Returns the minimal value that can be represented by this object. More...
Public Member Functions inherited from XAccessibleText
long | getCaretPosition ()
| Return the position of the caret. More...
boolean | setCaretPosition ([in] long nIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Set the position of the caret. More...
char | getCharacter ([in] long nIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Return the character at the specified position. More...
sequence<::com::sun::star::beans::PropertyValue > | getCharacterAttributes ([in] long nIndex, [in] sequence< string > aRequestedAttributes) raises (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::beans::UnknownPropertyException)
| Get the attribute set for the specified position. More...
::com::sun::star::awt::Rectangle | getCharacterBounds ([in] long nIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Return the bounding box of the specified position. More...
long | getCharacterCount ()
| Return the number of characters in the represented text. More...
long | getIndexAtPoint ([in] ::com::sun::star::awt::Point aPoint)
| Return the text position for the specified screen position. More...
string | getSelectedText ()
| Return the selected text. More...
long | getSelectionStart ()
| Return the position of the start of the selection. More...
long | getSelectionEnd ()
| Return the position of the end of the selection. More...
boolean | setSelection ([in] long nStartIndex, [in] long nEndIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Set a new selection. More...
string | getText ()
| Return the whole text. More...
string | getTextRange ([in] long nStartIndex, [in] long nEndIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Return the specified text range. More...
TextSegment | getTextAtIndex ([in] long nIndex, [in] short nTextType) raises (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException)
| Get a text portion around the given position. More...
TextSegment | getTextBeforeIndex ([in] long nIndex, [in] short nTextType) raises (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException)
| Get a text portion before the given position. More...
TextSegment | getTextBehindIndex ([in] long nIndex, [in] short nTextType) raises (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException)
| Get a text portion behind the given position. More...
boolean | copyText ([in] long nStartIndex, [in] long nEndIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
| Copy the specified text into the clipboard. More...

## Detailed Description

The accessible view of a spreadsheet document.

Since
  OOo 1.1.2

## Exported Interfaces

## ◆ ::com::sun::star::accessibility::XAccessibleComponent

interface ::com::sun::star::accessibility::XAccessibleComponent

This interface gives access to the visibility of the cell.

## ◆ ::com::sun::star::accessibility::XAccessibleContext

interface ::com::sun::star::accessibility::XAccessibleContext

This interface gives access to the whole content of the cell.

- The parent returned by com::sun::star::accessibility::XAccessibleContext::getAccessibleParent() is the accessible spreadsheet.
- This object has no children.
- The description is ???.
- The name is something like A10 or B23 or so on.
- The role is com::sun::star::accessibility::AccessibleRole::TABLE_CELL
- There are relations between the cell and the shapes with an anchor on this cell.
- The following states are supported:
  - com::sun::star::accessibility::AccessibleStateType::DEFUNC is always false if the parent table is showed, otherwise it is true.
  - com::sun::star::accessibility::AccessibleStateType::EDITABLE is false if the cell or the table is protected, otherwise it is true.
  - com::sun::star::accessibility::AccessibleStateType::ENABLED is always true.
  - com::sun::star::accessibility::AccessibleStateType::MULTI_LINE is always true.
  - com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE is always true.
  - com::sun::star::accessibility::AccessibleStateType::OPAQUE is false if the cell has no background color or graphic, otherwise it is true.
  - com::sun::star::accessibility::AccessibleStateType::RESIZABLE is false if the table is protected, otherwise is it true.
  - com::sun::star::accessibility::AccessibleStateType::SELECTABLE is always true.
  - com::sun::star::accessibility::AccessibleStateType::SELECTED is true, if the cell is selected.
  - com::sun::star::accessibility::AccessibleStateType::TRANSIENT is always true.
  - com::sun::star::accessibility::AccessibleStateType::SHOWING is true if the Bounding Box lies in Bounding Box of the parent. Otherwise it is false.
  - com::sun::star::accessibility::AccessibleStateType::VISIBLE is false if the column/row with this cell is filtered or hidden. Otherwise is true.

## ◆ ::com::sun::star::accessibility::XAccessibleText

interface ::com::sun::star::accessibility::XAccessibleText

This interface gives access to the text representation of the cell content.

## ◆ ::com::sun::star::accessibility::XAccessibleValue

interface ::com::sun::star::accessibility::XAccessibleValue

This interface gives access to the value of the cell.

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

- com/sun/star/sheet/AccessibleCell.idl