From b977c542b16e3789d93d1c3b261288634e29f718 Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde PĂ©rez Date: Mon, 3 Feb 2014 19:08:31 +0100 Subject: fdo#39944: Add DOCUMENT_* accessibility UNO roles Added a set of UNO accessibility roles for specific kinds of documents: * DOCUMENT_PRESENTATION for Impress * DOCUMENT_SPREADSHEET for Calc * DOCUMENT_TEXT for Writer The other applications still use the existing DOCUMENT role. These roles translates directly to ATK but in the other toolkits we keep using the same association that DOCUMENT role had. Change-Id: Ibac47527e5effdecb28d2314cde8558cf4fb010a Reviewed-on: https://gerrit.libreoffice.org/7847 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- .../com/sun/star/accessibility/AccessibleRole.idl | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'offapi/com/sun/star/accessibility') diff --git a/offapi/com/sun/star/accessibility/AccessibleRole.idl b/offapi/com/sun/star/accessibility/AccessibleRole.idl index 2baa6a992611..ca3b79bb8b5c 100644 --- a/offapi/com/sun/star/accessibility/AccessibleRole.idl +++ b/offapi/com/sun/star/accessibility/AccessibleRole.idl @@ -705,6 +705,30 @@ constants AccessibleRole */ const short COMMENT_END = 82; + /** View of an presentation document. + +

It's an specific variation of DOCUMENT for presentations.

+ + @since LibreOffice 4.3 + */ + const short DOCUMENT_PRESENTATION = 83; + + /** View of an spreadsheet document. + +

It's an specific variation of DOCUMENT for spreadsheets.

+ + @since LibreOffice 4.3 + */ + const short DOCUMENT_SPREADSHEET = 84; + + /** View of an text document. + +

It's an specific variation of DOCUMENT for text.

+ + @since LibreOffice 4.3 + */ + const short DOCUMENT_TEXT = 85; + }; }; }; }; }; -- cgit