2 * Copyright 1998 Marc Huguet Puig
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include "filedlgbrowser.h"
23 * WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
26 LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
28 OPEN_FILE DIALOG 36, 24, 275, 134
29 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
31 FONT 8, "MS Shell Dlg"
33 LTEXT "&Nom:", 1090, 6, 6, 76, 9
34 EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
35 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
36 LTEXT "&Directoris:", -1, 110, 6, 92, 9
37 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
38 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
39 LTEXT "&Tipus de fitxers:", 1089, 6, 104, 90, 9
40 COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
41 LTEXT "&Unitats:", 1091, 110, 104, 92, 9
42 COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
43 DEFPUSHBUTTON "D'acord", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
44 PUSHBUTTON "Anul·lació", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
45 PUSHBUTTON "A&juda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
46 CHECKBOX "Només &lectura", 1040, 208, 68, 60, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
50 SAVE_FILE DIALOG 36, 24, 275, 134
51 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
52 CAPTION "Anomenar i desar..."
53 FONT 8, "MS Shell Dlg"
55 LTEXT "&Nom:", 1090, 6, 6, 76, 9
56 EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
57 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
58 LTEXT "&Directoris:", -1, 110, 6, 92, 9
59 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
60 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
61 LTEXT "Desar fitxer en f&ormat:", 1089, 6, 104, 90, 9
62 COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
63 LTEXT "&Unitats:", 1091, 110, 104, 92, 9
64 COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
65 DEFPUSHBUTTON "D'acord", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
66 PUSHBUTTON "Anul·lació", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
67 PUSHBUTTON "A&juda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
68 CHECKBOX "&Fer-ne còpia", 1040, 208, 68, 60, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
72 PRINT DIALOG 36, 24, 264, 134
73 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
75 FONT 8, "MS Shell Dlg"
77 LTEXT "Impressora:", 1088, 6, 6, 40, 9
78 LTEXT "", 1089, 60, 6, 150, 9
79 GROUPBOX "Print Range", grp1, 6, 30, 160, 65, BS_GROUPBOX
80 RADIOBUTTON "&Sencer", 1056, 16, 45, 60, 12
81 RADIOBUTTON "&Part seleccionada", 1057, 16, 60, 60, 12
82 RADIOBUTTON "Pà&gines", 1058, 16, 75, 60, 12
83 DEFPUSHBUTTON "D'acord", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
84 PUSHBUTTON "Anul·lació", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
85 PUSHBUTTON "&Configuració", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
86 LTEXT "P&rimera:", 1090, 60, 80, 30, 9
87 LTEXT "Ú<ima:", 1091, 120, 80, 30, 9
88 LTEXT "&Qualitat:", 1092, 6, 100, 76, 9
89 COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
90 CHECKBOX "Imprimir en un &fitxer", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
91 CHECKBOX "S&eparar les còpies", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
95 PRINT_SETUP DIALOG 36, 24, 264, 134
96 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
97 CAPTION "Configuració de la impressió"
98 FONT 8, "MS Shell Dlg"
100 GROUPBOX "Impressora:", 1072, 6, 10, 180, 65, BS_GROUPBOX
101 RADIOBUTTON "Impressora per &defecte", 1056, 16, 20, 90, 12
102 LTEXT "[none]", 1088, 35, 35, 120, 9
103 RADIOBUTTON "Impressora &especificada:", 1057, 16, 50, 90, 12
104 COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
105 DEFPUSHBUTTON "D'acord", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
106 PUSHBUTTON "Anul·lació", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
107 PUSHBUTTON "&Opcions", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
108 GROUPBOX "Orientació", 1073, 6, 85, 100, 50, BS_GROUPBOX
109 RADIOBUTTON "&Vertical", 1058, 50, 100, 40, 12
110 RADIOBUTTON "&Horitzontal", 1059, 50, 115, 40, 12
111 ICON "LANDSCAP", 1097, 10, 95, 32, 32
112 ICON "PORTRAIT", 1098, 10, 95, 32, 32
113 GROUPBOX "Paper", 1074, 120, 85, 180, 50, BS_GROUPBOX
114 LTEXT "&Mida", 1089, 130, 95, 30, 9
115 LTEXT "A&limentació:", 1090, 130, 110, 30, 9
116 COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
117 COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
121 CHOOSE_FONT DIALOG 13, 54, 264, 147
122 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
123 CAPTION "Tipus de lletra"
124 FONT 8, "MS Shell Dlg"
126 LTEXT "&Tipus de lletra:",1088 ,6,3,40,9
127 COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
128 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
129 LTEXT "&Estil del tipus de lletra:",1089 ,108,3,44,9
130 COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
131 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
132 LTEXT "&Grandària:",1090,179,3,33,9
133 COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
134 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
135 DEFPUSHBUTTON "D'acord",IDOK,218,6,40,14,WS_GROUP
136 PUSHBUTTON "Anul·lació",IDCANCEL,218,23,40,14,WS_GROUP
137 PUSHBUTTON "A&plicar", 1026,218,40,40,14,WS_GROUP
138 PUSHBUTTON "A&juda" , 1038,218,57,40,14,WS_GROUP
139 GROUPBOX "Efectes",1072,6,72,84,34,WS_GROUP
140 CHECKBOX "&Barrar-lo", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
141 CHECKBOX "&Subratllar-lo", 1041, 10,94,60,10, BS_AUTOCHECKBOX
142 LTEXT "&Color:", 1091 ,6,110,30,9
143 COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
144 CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
145 GROUPBOX "Exemple",grp2,98,72,120,36,WS_GROUP
146 CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
147 LTEXT "Scr&ipt (translate):",stc7 ,98,114,80,9
148 COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
149 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
153 CHOOSE_COLOR DIALOG 36, 24, 300, 185
154 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
156 FONT 8, "MS Shell Dlg"
158 LTEXT "Colors &básics:", 1088, 4, 4, 140, 10
159 LTEXT "Colors person&alitzats:", 1089, 4, 106, 140, 10
160 LTEXT "Color Sòl&id", 1090, 150, 151, 48, 10
161 LTEXT "&Roig:", 726 /*1094*/,249,126,24,10
162 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
163 LTEXT "&Verd:",727/*1095*/,249,140,24,10
164 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
165 LTEXT "Bla&u:",728 /*1096*/,249,154,24,10
166 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
167 LTEXT "&Tint:" ,723 /*1091*/,202,126,22,10
168 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
169 LTEXT "&Sat.:" ,724 /*1092*/,202,140,22,10
170 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
171 LTEXT "&Llum.:" ,725 /*1093*/,202,154,22,10
172 EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
173 CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
174 CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
175 CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
176 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
177 CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
178 DEFPUSHBUTTON "D'acord", IDOK, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
179 PUSHBUTTON "Anul·lació", IDCANCEL, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
180 PUSHBUTTON "A&juda", 1038,100,166, 44, 14
181 PUSHBUTTON "Afegir als &colors personalitzats", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
182 PUSHBUTTON "&Definir colors personalitzats >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
183 PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
187 FINDDLGORD DIALOG 36, 24, 236, 62
188 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
190 FONT 8, "MS Shell Dlg"
192 LTEXT "&Cercar:", -1, 4, 8, 42, 8
193 EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
194 CHECKBOX "C&ercar mots sencers", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
195 CHECKBOX "&Distingir majúscules de minúscules", 1041, 4, 42, 124, 12, BS_AUTOCHECKBOX | WS_TABSTOP
196 GROUPBOX "Direcció", 1072, 107, 26, 68, 28
197 CONTROL "&Amunt", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
198 CONTROL "A&vall", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
199 DEFPUSHBUTTON "&Continuació", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
200 PUSHBUTTON "Anul·lació", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
201 PUSHBUTTON "A&juda", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
205 REPLACEDLGORD DIALOG 36, 24, 230, 94
206 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
207 CAPTION "Substitució"
208 FONT 8, "MS Shell Dlg"
210 LTEXT "&Cercar:", -1, 4, 9, 48, 8
211 EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
212 LTEXT "&Substituir per:", -1, 4, 26, 48, 8
213 EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
214 CHECKBOX "Cercar &mots sencers", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
215 CHECKBOX "&Distingir majúscules de minúscules", 1041, 5, 62, 129, 12, BS_AUTOCHECKBOX | WS_TABSTOP
216 DEFPUSHBUTTON "C&ontinucació", IDOK, 174, 4, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
217 PUSHBUTTON "S&ubstitució", 1024, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
218 PUSHBUTTON "Substitució &automàtica", 1025, 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
219 PUSHBUTTON "Tancar", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
220 PUSHBUTTON "A&juda", 1038, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP