xref: /AOO41X/main/offapi/com/sun/star/text/TextSortDescriptor.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
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#ifndef __com_sun_star_text_TextSortDescriptor_idl__
24#define __com_sun_star_text_TextSortDescriptor_idl__
25
26#ifndef __com_sun_star_util_SortDescriptor_idl__
27#include <com/sun/star/util/SortDescriptor.idl>
28#endif
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module text {
34
35//=============================================================================
36
37// DocMerge from xml: service com::sun::star::text::TextSortDescriptor
38/** describes sort criteria for sorting text.
39
40    @deprecated
41 */
42published service TextSortDescriptor
43{
44    // DocMerge: empty anyway
45    service com::sun::star::util::SortDescriptor;
46
47    //-------------------------------------------------------------------------
48
49    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::Delimiter
50    /** contains the character that marks the separation of columns.
51     */
52    [property] char Delimiter;
53
54    //-------------------------------------------------------------------------
55
56    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortInTable
57    /** determines if the content of a table is to be sorted.
58     */
59    [property] boolean IsSortInTable;
60
61    //-------------------------------------------------------------------------
62
63    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::SortRowOrColumnNo0
64    /** contains the row or column index used in the first search key.
65     */
66    [property] long SortRowOrColumnNo0;
67
68    //-------------------------------------------------------------------------
69
70    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortNumeric0
71    /** determines if the sorting in the first search key is done
72        numeric or alphanumeric order.
73     */
74    [property] boolean IsSortNumeric0;
75
76    //-------------------------------------------------------------------------
77
78    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortAscending0
79    /** determines if the sorting in the first search key is done
80        in ascending or descending order.
81     */
82    [property] boolean IsSortAscending0;
83
84    //-------------------------------------------------------------------------
85
86    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::SortRowOrColumnNo1
87    /** contains the row or column index used in the second search key.
88     */
89    [property] long SortRowOrColumnNo1;
90
91    //-------------------------------------------------------------------------
92
93    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortNumeric1
94    /** determines if the sorting in the second search key is done
95        in numeric or alphanumeric order.
96     */
97    [property] boolean IsSortNumeric1;
98
99    //-------------------------------------------------------------------------
100
101    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortAscending1
102    /** determines if the sorting in the second search key is done
103        in ascending or descending order.
104     */
105    [property] boolean IsSortAscending1;
106
107    //-------------------------------------------------------------------------
108
109    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::SortRowOrColumnNo2
110    /** contains the row or column index used in the third search key.
111     */
112    [property] long SortRowOrColumnNo2;
113
114    //-------------------------------------------------------------------------
115
116    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortNumeric2
117    /** determines if the sorting in the third search key is done
118        in numeric or alphanumeric order.
119     */
120    [property] boolean IsSortNumeric2;
121
122    //-------------------------------------------------------------------------
123
124    // DocMerge from xml: property com::sun::star::text::TextSortDescriptor::IsSortAscending2
125    /** determines if the sorting in the third search key is done
126        in ascending or descending order.
127     */
128    [property] boolean IsSortAscending2;
129
130};
131
132//=============================================================================
133
134}; }; }; };
135
136/*=============================================================================
137
138=============================================================================*/
139#endif
140