merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sheet / SheetSortDescriptor2.idl
blobfbe7a7e191b07e09e253b44817363b988efa3787
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SheetSortDescriptor2.idl,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_sheet_SheetSortDescriptor2_idl__
31 #define __com_sun_star_sheet_SheetSortDescriptor2_idl__
33 #ifndef __com_sun_star_table_TableSortDescriptor2_idl__
34 #include <com/sun/star/table/TableSortDescriptor2.idl>
35 #endif
37 #ifndef __com_sun_star_table_CellAddress_idl__
38 #include <com/sun/star/table/CellAddress.idl>
39 #endif
41 //=============================================================================
43 module com { module sun { module star { module sheet {
45 //=============================================================================
47 /** a description of how a cell range is to be sorted.
49 <p>This service extends the <type scope="com::sun::star::table">TableSortDescriptor2</type>
50 service with spreadsheet specific properties.</p>
52 @since OOo 1.1.2
54 published service SheetSortDescriptor2
56 //-------------------------------------------------------------------------
58 /** provides common sorting properties.
60 The fields in the SortFields property are not fully supported at the moment.
61 IsCaseSensitive, CollatorLocale and CollatorAlgorithm are only supported once and if
62 every field contains different of this it gives undefined results.
65 service com::sun::star::table::TableSortDescriptor2;
67 //=========================================================================
69 /** specifies if cell formats are moved with the contents
70 they belong to.
72 [property] boolean BindFormatsToContent;
74 //-------------------------------------------------------------------------
76 /** specifies if a user defined sorting list is used.
78 [property] boolean IsUserListEnabled;
80 //-------------------------------------------------------------------------
82 /** specifies which user defined sorting list is used.
84 <p>This property is only used, if
85 <member>SheetSortDescriptor::IsUserListEnabled</member> is <TRUE/>.</p>
87 [property] long UserListIndex;
89 //-------------------------------------------------------------------------
91 /** specifies if the sorted data should be copied to another
92 position in the document.
94 [property] boolean CopyOutputData;
96 //-------------------------------------------------------------------------
98 /** specifies the position where sorted data are to be copied.
100 <p>This property is only used, if
101 <member>SheetSortDescriptor::CopyOutputData</member> is <TRUE/>.</p>
103 [property] com::sun::star::table::CellAddress OutputPosition;
105 //-------------------------------------------------------------------------
107 /** specifies whether the first row or column (depending on
108 <member scope="com::sun::star::table">TableSortDescriptor::Orientation</member>) is a header which
109 should not be sorted.
111 [property] boolean ContainsHeader;
114 //=============================================================================
116 }; }; }; };
118 #endif