/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/


#include "sc.hrc"   // -> RID_SCDLG_SORT
					// -> RID_SCPAGE_SORT_FIELDS
					// -> RID_SCPAGE_SORT_OPTIONS
					// -> RID_SCDLG_SORT_WARNING
					// -> SCSTR_NONAME
					// -> SCSTR_UNDEFINED
					// -> SCSTR_FIELD

/*
#define RID_SCDLG_SORT			256
#define RID_SCPAGE_SORT_FIELDS	257
#define RID_SCPAGE_SORT_OPTIONS	258
#define RID_SCDLG_SORT_WARNING
*/

#define TP_FIELDS			1
#define TP_OPTIONS			2

// TP_SORT_FIELDS:
#define FL_SORT1            1
#define FL_SORT2            2
#define FL_SORT3            3
#define LB_SORT1			4
#define LB_SORT2			5
#define LB_SORT3			6
#define BTN_UP1				7
#define BTN_UP2				8
#define BTN_UP3				9
#define BTN_DOWN1			10
#define BTN_DOWN2			11
#define BTN_DOWN3			12

// TP_SORT_OPTIONS:
#define FL_DIRECTION		1
#define LB_SORT_USER		2
#define LB_OUTAREA			3
#define ED_OUTAREA          4
#define FT_AREA_LABEL       5
//#define FT_AREA             6
#define BTN_SORT_USER       7
#define BTN_CASESENSITIVE   8
#define BTN_LABEL           9
#define BTN_FORMATS         10
#define BTN_COPYRESULT      11
#define BTN_TOP_DOWN        12
#define BTN_LEFT_RIGHT      13
#define STR_COL_LABEL       14
#define STR_ROW_LABEL       15
#define FT_LANGUAGE         16
#define LB_LANGUAGE         17
#define FT_ALGORITHM        18
#define LB_ALGORITHM        19

//#define RID_SCDLG_SORT_WARNING
#define FT_TEXT             1
#define FT_TIP              2
#define BTN_EXTSORT         3
#define BTN_CURSORT         4
#define BTN_CANCEL          5