LibreOffice: com/sun/star/accessibility/XAccessibleContext.idl Source File

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XAccessibleContext.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20module com { module sun { module star { module accessibility {
21
22 interface XAccessible;
23 interface XAccessibleRelationSet;
24 interface XAccessibleSelection;
25
40 interface XAccessibleContext : ::com::sun::star::uno::XInterface
41{
49 hyper getAccessibleChildCount();
50
70 XAccessible getAccessibleChild ([in] hyper i)
71 raises (::com::sun::star::lang::IndexOutOfBoundsException);
72
83 XAccessible getAccessibleParent ();
84
94 hyper getAccessibleIndexInParent ();
95
109 short getAccessibleRole ();
110
120 string getAccessibleDescription ();
121
133 string getAccessibleName ();
134
150 XAccessibleRelationSet getAccessibleRelationSet ();
151
160 hyper getAccessibleStateSet ();
161
175 ::com::sun::star::lang::Locale getLocale ()
176 raises (IllegalAccessibleComponentStateException);
177};
178
179}; }; }; };
180
181/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::accessibility::IllegalAccessibleComponentStateException
Indicates invalid or unavailable state information.
Definition IllegalAccessibleComponentStateException.idl:34
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition IndexOutOfBoundsException.idl:31
com::sun::star::accessibility::XAccessibleContext
Implement this interface for exposing various aspects of a class's content.
Definition XAccessibleContext.idl:41
com::sun::star::accessibility::XAccessibleContext::getAccessibleDescription
string getAccessibleDescription()
Returns the object's description.
com::sun::star::accessibility::XAccessibleContext::getAccessibleIndexInParent
hyper getAccessibleIndexInParent()
Returns the index of this object in its accessible parent.
com::sun::star::accessibility::XAccessibleContext::getAccessibleChild
XAccessible getAccessibleChild([in] hyper i)
Returns the i-th child of this object.
com::sun::star::accessibility::XAccessibleContext::getAccessibleStateSet
hyper getAccessibleStateSet()
Returns the set of states that are currently active for this object.
com::sun::star::accessibility::XAccessibleContext::getAccessibleName
string getAccessibleName()
Return the object's localized name.
com::sun::star::accessibility::XAccessibleContext::getAccessibleChildCount
hyper getAccessibleChildCount()
Return the number of children.
com::sun::star::accessibility::XAccessibleContext::getLocale
::com::sun::star::lang::Locale getLocale()
Returns the locale of the component.
com::sun::star::accessibility::XAccessibleContext::getAccessibleRelationSet
XAccessibleRelationSet getAccessibleRelationSet()
Returns the set of relations defined for this object.
com::sun::star::accessibility::XAccessibleContext::getAccessibleParent
XAccessible getAccessibleParent()
Returns the parent of this object.
com::sun::star::accessibility::XAccessibleContext::getAccessibleRole
short getAccessibleRole()
Returns the role of this object.
com::sun::star::accessibility::XAccessibleRelationSet
Implement this interface to give access to an object's set of relations.
Definition XAccessibleRelationSet.idl:37
com::sun::star::accessibility::XAccessible
This interface has to be implemented by any class that wants to be accessible.
Definition XAccessible.idl:50
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition Locale.idl:34