summaryrefslogtreecommitdiff
path: root/sw/source/core/access
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-01 14:06:10 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-01 14:06:10 +0000
commitdbc449f89e0295bce6bbfa7f199e6210760fd77a (patch)
treebc394a686a23fe5525d6dac8f6e154440292b36c /sw/source/core/access
parente6bccd94c61167c03f373f27dd05563c7ac36247 (diff)
INTEGRATION: CWS sw30a11y01 (1.40.64); FILE MERGED
2008/05/30 10:22:43 od 1.40.64.2: #i89175# Implementation of com::sun::star::accessibility::XAccessibleMultiLineText 2008/05/27 13:55:05 od 1.40.64.1: #i71360# implementation of XAccessibleTextMarkup
Diffstat (limited to 'sw/source/core/access')
-rw-r--r--sw/source/core/access/accpara.hxx54
1 files changed, 53 insertions, 1 deletions
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index 8de77f372953..43efd8efa866 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: accpara.hxx,v $
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
* This file is part of OpenOffice.org.
*
@@ -35,6 +35,12 @@
#include <com/sun/star/accessibility/XAccessibleEditableText.hpp>
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
#include <com/sun/star/accessibility/XAccessibleHypertext.hpp>
+// --> OD 2008-05-19 #i71360#
+#include <com/sun/star/accessibility/XAccessibleTextMarkup.hpp>
+// <--
+// --> OD 2008-05-29 #i89175#
+#include <com/sun/star/accessibility/XAccessibleMultiLineText.hpp>
+// <--
// --> OD 2006-07-11 #i63870#
#include <com/sun/star/accessibility/XAccessibleTextAttributes.hpp>
@@ -64,6 +70,12 @@ class SwAccessibleParagraph :
public ::com::sun::star::accessibility::XAccessibleEditableText,
public com::sun::star::accessibility::XAccessibleSelection,
public com::sun::star::accessibility::XAccessibleHypertext,
+ // --> OD 2008-05-19 #i71360#
+ public com::sun::star::accessibility::XAccessibleTextMarkup,
+ // <--
+ // --> OD 2008-05-29 #i89175#
+ public com::sun::star::accessibility::XAccessibleMultiLineText,
+ // <--
// --> OD 2006-07-11 #i63870#
public ::com::sun::star::accessibility::XAccessibleTextAttributes
// <--
@@ -380,6 +392,46 @@ public:
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
+ // --> OD 2008-05-19 #i71360#
+ //===== XAccesibleTextMarkup ============================================
+ virtual sal_Int32 SAL_CALL getTextMarkupCount( sal_Int32 nTextMarkupType )
+ throw (::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::uno::RuntimeException);
+
+ virtual ::com::sun::star::accessibility::TextSegment SAL_CALL
+ getTextMarkup( sal_Int32 nTextMarkupIndex,
+ sal_Int32 nTextMarkupType )
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::uno::RuntimeException);
+
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::accessibility::TextSegment > SAL_CALL
+ getTextMarkupAtIndex( sal_Int32 nCharIndex,
+ sal_Int32 nTextMarkupType )
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::uno::RuntimeException);
+ // <--
+
+ // --> OD 2008-05-29 #i89175#
+ //===== XAccessibleMultiLineText ========================================
+ virtual sal_Int32 SAL_CALL getLineNumberAtIndex( sal_Int32 nIndex )
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::com::sun::star::uno::RuntimeException);
+
+ virtual ::com::sun::star::accessibility::TextSegment SAL_CALL
+ getTextAtLineNumber( sal_Int32 nLineNo )
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::com::sun::star::uno::RuntimeException);
+
+ virtual ::com::sun::star::accessibility::TextSegment SAL_CALL
+ getTextAtLineWithCaret()
+ throw (::com::sun::star::uno::RuntimeException);
+
+ virtual sal_Int32 SAL_CALL getNumberOfLineWithCaret()
+ throw (::com::sun::star::uno::RuntimeException);
+ // <--
+
// --> OD 2006-07-11 #i63870#
//===== XAccesibleTextAttributes ========================================
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getDefaultAttributes( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (::com::sun::star::uno::RuntimeException);