Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / sheet / SheetSortDescriptor.idl
blob5c602969db6c87e9c446b3e09485e44551ce5bc6
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: SheetSortDescriptor.idl,v $
10 * $Revision: 1.12 $
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_SheetSortDescriptor_idl__
31 #define __com_sun_star_sheet_SheetSortDescriptor_idl__
33 #ifndef __com_sun_star_table_TableSortDescriptor_idl__
34 #include <com/sun/star/table/TableSortDescriptor.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">TableSortDescriptor</type>
50 service with spreadsheet specific properties.</p>
52 published service SheetSortDescriptor
54 //-------------------------------------------------------------------------
56 /** provides common table sorting properties.
58 service com::sun::star::table::TableSortDescriptor;
60 //=========================================================================
62 /** specifies if cell formats are moved with the contents
63 they belong to.
65 [property] boolean BindFormatsToContent;
67 //-------------------------------------------------------------------------
69 /** specifies if a user defined sorting list is used.
71 [property] boolean IsUserListEnabled;
73 //-------------------------------------------------------------------------
75 /** specifies which user defined sorting list is used.
77 <p>This property is only used, if
78 <member>SheetSortDescriptor::IsUserListEnabled</member> is <TRUE/>.</p>
80 [property] long UserListIndex;
82 //-------------------------------------------------------------------------
84 /** specifies if the sorted data should be copied to another
85 position in the document.
87 [property] boolean CopyOutputData;
89 //-------------------------------------------------------------------------
91 /** specifies the position where sorted data are to be copied.
93 <p>This property is only used, if
94 <member>SheetSortDescriptor::CopyOutputData</member> is <TRUE/>.</p>
96 [property] com::sun::star::table::CellAddress OutputPosition;
100 //=============================================================================
102 }; }; }; };
104 #endif