// 
// Copyright (C) 2004 Jordi Mas i Hernāndez <jmas@softcatala.org>
// 
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
// 
// This program 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 General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
// 02110-1301 USA.
//////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////
// THIS FILE IS INCLUDED BY .cpp AND .rc FILES.
//
// *** RC.exe IS BRAIN-DAMAGED.  GIVING THIS FILE AN .rc2
// *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc
// *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE
// *** DIALOGS DO NOT GET COMPILED.
//
//////////////////////////////////////////////////////////////////

// General property page
#define AP_RID_DIALOG_FORMATTOC_GENERAL_CHECK_HASHEADING			1100
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGTEXT			1101
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGSTYLE			1102
#define AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_HEADINGSTYLE			1103
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_MAINPROPERTIES			1104
#define AP_RID_DIALOG_FORMATTOC_GENERAL_COMBO_LEVEL					1105
#define AP_RID_DIALOG_FORMATTOC_GENERAL_CHECK_HASLEVEL				1106
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_FILLSTYLE				1107
#define AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_FILLSTYLE			1108
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_FILLSTYLEVALUE			1109
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_DISPLAYSTYLE			1110
#define AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_DISPLAYSTYLE			1111
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_DISPLAYSTYLEVALUE		1112
#define AP_RID_DIALOG_FORMATTOC_GENERAL_EDIT_HEADINGTEXT			1113
#define AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGSTYLEVALUE		1114

// Layout property page
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_STARTAT			1120
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TEXTBEFORE		1121
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TABSPAGENUM		1122
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_LABELDEF			1123
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_NUMTYPE			1124
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TEXTAFTER		1125
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_CHECK_INHERITLABEL	1126
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TABLEADER		1127
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_PAGENUMERING		1128
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_IDENT			1129
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_STARTAT			1130
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_SPIN_STARTAT			1131
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_NUMTYPE			1132
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_TABLEADER		1133
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_PAGENUMERING	1134
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_IDENT			1135
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_SPIN_IDENT			1136
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_TEXTBEFORE		1137
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_TEXTAFTER		1138
#define AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_LEVEL			1139


#ifdef RC_INVOKED
// NOTE -- these placeholder strings get overridden at runtime 
// NOTE -- they're just here to make sizing easier

AP_RID_DIALOG_FORMATTOC_GENERAL DIALOG DISCARDABLE  0, 0, 253, 250
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION ""
FONT 8, "MS Shell Dlg 2"
BEGIN
	CONTROL         "Has heading",AP_RID_DIALOG_FORMATTOC_GENERAL_CHECK_HASHEADING,"Button",BS_AUTOCHECKBOX | 
					WS_TABSTOP,9,12,109,10					
	LTEXT           "Heading text:",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGTEXT,23,33,63,8
	EDITTEXT        AP_RID_DIALOG_FORMATTOC_GENERAL_EDIT_HEADINGTEXT,88,31,153,13,ES_AUTOHSCROLL
	LTEXT           "Heading style:",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGSTYLE,23,53,53,8
	PUSHBUTTON      "Button1",AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_HEADINGSTYLE,191,50,50,14
	LTEXT           "Static", AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_HEADINGSTYLEVALUE ,89,53,95,8
	LTEXT           "Define Main Properties",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_MAINPROPERTIES,9,93,115,8
	COMBOBOX        AP_RID_DIALOG_FORMATTOC_GENERAL_COMBO_LEVEL,24,110,128,50,CBS_DROPDOWNLIST | WS_VSCROLL | 
                    WS_TABSTOP
	CONTROL         "",AP_RID_DIALOG_FORMATTOC_GENERAL_CHECK_HASLEVEL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,25,132,85,10
	LTEXT           "Fill Style:",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_FILLSTYLE,23,152,64,8
	PUSHBUTTON      "Button1",AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_FILLSTYLE,191,149,50,14
	LTEXT           "Static",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_FILLSTYLEVALUE,91,152,93,8	
	LTEXT           "Display Style text:",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_DISPLAYSTYLE,23,171,64,8
	PUSHBUTTON      "Button1",AP_RID_DIALOG_FORMATTOC_GENERAL_BUTTON_DISPLAYSTYLE,191,168,50,14
	LTEXT           "Static",AP_RID_DIALOG_FORMATTOC_GENERAL_TEXT_DISPLAYSTYLEVALUE,91,171,93,8
	CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,4,84,245,1
END



AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS DIALOG DISCARDABLE  0, 0, 253, 252
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION ""
FONT 8, "MS Shell Dlg 2"
BEGIN
    LTEXT           "Start at:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_STARTAT,23,62,73,8
    LTEXT           "Text before:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TEXTBEFORE,23,82,73,8
    LTEXT           "Tabs and Page Numering",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TABSPAGENUM,9,167,134,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,4,159,245,1
    LTEXT           "Label Definitions",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_LABELDEF,9,43,109,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,4,34,245,1
    COMBOBOX        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_LEVEL,11,10,128,50,CBS_DROPDOWNLIST | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "Numbering type:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_NUMTYPE,23,102,73,8
    LTEXT           "Text after:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TEXTAFTER,23,122,73,8
    CONTROL         "Inherit label",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_CHECK_INHERITLABEL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,23,140,73,10
    LTEXT           "Tab leader:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_TABLEADER,23,189,73,8
    LTEXT           "Page numbering:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_PAGENUMERING,23,210,73,8
    LTEXT           "Indent:",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_TEXT_IDENT,23,230,73,8
    EDITTEXT        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_STARTAT,100,60,90,13,ES_AUTOHSCROLL
    CONTROL         "Spin2",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_SPIN_STARTAT,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,190,60,9,13                    
	COMBOBOX        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_NUMTYPE,100,99,90,50,CBS_DROPDOWNLIST | WS_VSCROLL | 
                   	WS_TABSTOP                    
    
    COMBOBOX        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_TABLEADER,100,187,90,50,CBS_DROPDOWNLIST | WS_VSCROLL | 
                   	WS_TABSTOP    
	COMBOBOX		AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_COMBO_PAGENUMERING,100,209,90,50,CBS_DROPDOWNLIST | WS_VSCROLL | 
					WS_TABSTOP
    EDITTEXT        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_IDENT,100,229,90,13,ES_AUTOHSCROLL
    CONTROL         "Spin2",AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_SPIN_IDENT,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,190,229,11,13
    EDITTEXT        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_TEXTBEFORE,100,80,90,13,ES_AUTOHSCROLL
    EDITTEXT        AP_RID_DIALOG_FORMATTOC_LAYOUTDETAILS_EDIT_TEXTAFTER,100,119,90,13,ES_AUTOHSCROLL
END


#endif /* RC_INVOKED */
