1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_sheet_AccessibleCell_idl__
20 #define __com_sun_star_sheet_AccessibleCell_idl__
22 #include
<com
/sun
/star
/accessibility
/XAccessibleContext.idl
>
23 #include
<com
/sun
/star
/accessibility
/XAccessibleComponent.idl
>
24 #include
<com
/sun
/star
/accessibility
/XAccessibleValue.idl
>
25 #include
<com
/sun
/star
/accessibility
/XAccessibleText.idl
>
29 module com
{ module sun
{ module star
{ module sheet
{
32 /** The accessible view of a spreadsheet document
37 service AccessibleCell
39 /** This interface gives access to the whole content of the cell.
42 <li>The parent returned by
43 ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent()
44 is the accessible spreadsheet.</li>
45 <li>This object has no children.</li>
46 <li>The description is ???.</li>
47 <li>The name is something like A10 or B23 or so on.</li>
49 ::com::sun::star::accessibility::AccessibleRole::TABLE_CELL</li>
50 <li>There are relations between the cell and the shapes with an anchor
52 <li>The following states are supported:
54 <li>::com::sun::star::accessibility::AccessibleStateType::DEFUNC
55 is always false if the
56 parent table is showed, otherwise it is true.</li>
57 <li>::com::sun::star::accessibility::AccessibleStateType::EDITABLE
59 or the table is protected, otherwise it is true.</li>
60 <li>::com::sun::star::accessibility::AccessibleStateType::ENABLED
62 <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE
64 <li>::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
66 <li>::com::sun::star::accessibility::AccessibleStateType::OPAQUE
68 has no background color or graphic, otherwise it is
70 <li>::com::sun::star::accessibility::AccessibleStateType::RESIZABLE
72 table is protected, otherwise is it true.</li>
73 <li>::com::sun::star::accessibility::AccessibleStateType::SELECTABLE
75 <li>::com::sun::star::accessibility::AccessibleStateType::SELECTED
76 is true, if the cell is selected.</li>
77 <li>::com::sun::star::accessibility::AccessibleStateType::TRANSIENT
79 <li>::com::sun::star::accessibility::AccessibleStateType::SHOWING
81 Bounding Box lies in Bounding Box of the parent. Otherwise
83 <li>::com::sun::star::accessibility::AccessibleStateType::VISIBLE
85 column/row with this cell is filtered or hidden.
86 Otherwise is true.</li>
91 interface ::com
::sun
::star
::accessibility
::XAccessibleContext
;
93 /** This interface gives access to the visibility of the cell.
95 interface ::com
::sun
::star
::accessibility
::XAccessibleComponent
;
97 /** This interface gives access to the value of the cell.
99 interface ::com
::sun
::star
::accessibility
::XAccessibleValue
;
101 /** This interface gives access to the text representation of the cell content.
103 interface ::com
::sun
::star
::accessibility
::XAccessibleText
;
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */