1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_accessibility_AccessibleTableModelChange_idl__
25#define __com_sun_star_accessibility_AccessibleTableModelChange_idl__
26
27#ifndef __com_sun_star_uno_XInterface_idl__
28#include <com/sun/star/uno/XInterface.idl>
29#endif
30
31module com { module sun { module star { module accessibility {
32
33/** This structure lets an event give access to a change of a table model.
34
35    <p>The data members of the <type>AccessibleTableModelChange</type> structure
36    give access to the type and cell range of a change of a table model.  See
37    <type>AccessibleTableModelChangeType</type> for details of the change
38    type.  The range of the affected rows, columns, and/or cells can be
39    obtained by accessing the other four data members.</p>
40
41    @since OOo 1.1.2
42*/
43published struct AccessibleTableModelChange
44{
45    /** The type of the event as defined in
46            <type>AccessibleTableModelChangeType</type>.
47
48        <p>The model change either inserted or deleted one or more rows
49        and/or columns or modified the content of a number of cells.  See
50        <type>AccessibleTableModelChangeType</type> for details of the type
51        of the model change.</p>
52    */
53    short Type;
54
55    /** The lowest index of a row that has changed.
56
57        <p>The first row that has been changed or that contains
58        modified cells.</p>
59    */
60    long FirstRow;
61
62    /** The highest index of a row that has changed.
63
64        <p>The last row that has been changed or that contains modified
65        cells.</p>
66    */
67    long LastRow;
68
69    /** The lowest index of a column that has changed.
70
71        <p>The first column that has been changed or contains modified
72        cells.</p>
73    */
74    long FirstColumn;
75
76    /** The highest index of a column that has changed.
77
78        <p>The last column that  has been changed or contains modified
79        cells.</p>
80    */
81    long LastColumn;
82};
83
84}; }; }; };
85
86#endif
87