summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/accessibility')
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx6
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx5
2 files changed, 11 insertions, 0 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index 0792c85bf3fd..fcd42ab0c316 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -33,15 +33,21 @@ public:
AccessibleRelationSetHelperImpl(const AccessibleRelationSetHelperImpl& rImpl);
~AccessibleRelationSetHelperImpl();
+ /// @throws uno::RuntimeException
sal_Int32 getRelationCount( )
throw (uno::RuntimeException);
+ /// @throws lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
AccessibleRelation getRelation( sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException,
uno::RuntimeException);
+ /// @throws uno::RuntimeException
bool containsRelation( sal_Int16 aRelationType )
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
AccessibleRelation getRelationByType( sal_Int16 aRelationType )
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void AddRelation(const AccessibleRelation& rRelation)
throw (uno::RuntimeException);
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index 549c360e3c0b..a6c1d9c67d2f 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -36,14 +36,19 @@ public:
AccessibleStateSetHelperImpl(const AccessibleStateSetHelperImpl& rImpl);
~AccessibleStateSetHelperImpl();
+ /// @throws uno::RuntimeException
bool IsEmpty () const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
bool Contains (sal_Int16 aState) const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
uno::Sequence<sal_Int16> GetStates() const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void AddState(sal_Int16 aState)
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void RemoveState(sal_Int16 aState)
throw (uno::RuntimeException);