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_XAccessibleTableModelChange_idl__
25#define __com_sun_star_accessibility_XAccessibleTableModelChange_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/** Type of a change made to a table model.
34
35        <p>The value of this constants group are used by the
36        <type>AccessibleTableModelChange</type> structure to specifiy the
37        type of change that has been made to a table model.</p>
38
39        <p>Two of the constants,
40        <const>AccessibleTableModelChangeType::INSERT</const> and
41        <const>AccessibleTableModelChangeType::DELETE</const> describe
42        changes to the table's geometry.  One or more rows and/or columns have
43        been inserted or deleted.  In constrast, the remaining constant
44        <const>AccessibleTabelModelChangeType::UPDATE</const> specifies a
45        change of the table's content.</p>
46
47    @since OpenOffice 1.1.2
48*/
49published constants AccessibleTableModelChangeType
50{
51    /** One or more rows and/or columns have been inserted.
52
53        <p>Use the fields of the <type>AccessibleTableModelChange</type>
54        structure to determine the indices of the rows and/or columns that
55        have been inserted.</p>
56    */
57    const short INSERT = 1;
58
59    /** One or more rows and/or columns have been deleted.
60
61        <p>The affected area of the table is stored in the fields of the
62        <type>AccessibleTableModelChange</type> structure.</p>
63     */
64    const short DELETE = 2;
65
66    /** Some of the table data has changed.
67
68        <p>The number of rows and columns remains unchanged.  Only (some of)
69        the content of the cells in the range that is specified by the
70        fields of the <type>AccessibleTableModelChange</type> structure have
71        been changed.</p>
72    */
73    const short UPDATE = 3;
74};
75
76}; }; }; };
77
78#endif
79