xref: /aoo42x/main/svx/source/dialog/docrecovery.hrc (revision c0dc1914)
1*c0dc1914SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*c0dc1914SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*c0dc1914SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*c0dc1914SAndrew Rist * distributed with this work for additional information
6*c0dc1914SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*c0dc1914SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*c0dc1914SAndrew Rist * "License"); you may not use this file except in compliance
9*c0dc1914SAndrew Rist * with the License.  You may obtain a copy of the License at
10*c0dc1914SAndrew Rist *
11*c0dc1914SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*c0dc1914SAndrew Rist *
13*c0dc1914SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*c0dc1914SAndrew Rist * software distributed under the License is distributed on an
15*c0dc1914SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c0dc1914SAndrew Rist * KIND, either express or implied.  See the License for the
17*c0dc1914SAndrew Rist * specific language governing permissions and limitations
18*c0dc1914SAndrew Rist * under the License.
19*c0dc1914SAndrew Rist *
20*c0dc1914SAndrew Rist *************************************************************/
21*c0dc1914SAndrew Rist
22*c0dc1914SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _SVX_DOCRECOVERY_HRC
25cdf0e10cSrcweir#define _SVX_DOCRECOVERY_HRC
26cdf0e10cSrcweir
27cdf0e10cSrcweir#include <svtools/controldims.hrc>
28cdf0e10cSrcweir
29cdf0e10cSrcweir// general
30cdf0e10cSrcweir
31cdf0e10cSrcweir#define PROGR_HEIGHT                (RSC_CD_PUSHBUTTON_HEIGHT)
32cdf0e10cSrcweir
33cdf0e10cSrcweir// TabDialog
34cdf0e10cSrcweir#define TABDLG_WIDTH                290
35cdf0e10cSrcweir#define TABDLG_HEIGHT               238
36cdf0e10cSrcweir
37cdf0e10cSrcweir// TabPage CrashSave
38cdf0e10cSrcweir
39cdf0e10cSrcweir#define WIN_SAVE_TITLE				1
40cdf0e10cSrcweir#define FT_SAVE_TITLE               2
41cdf0e10cSrcweir#define FL_SAVE_TITLE               3
42cdf0e10cSrcweir#define FT_SAVE_DESCR               4
43cdf0e10cSrcweir#define FT_SAVE_FILELIST            5
44cdf0e10cSrcweir#define LB_SAVE_FILELIST            6
45cdf0e10cSrcweir#define CB_SAVE_LAUNCHAUTO          7
46cdf0e10cSrcweir#define FL_SAVE_BOTTOM              8
47cdf0e10cSrcweir#define BT_SAVE_OK                  9
48cdf0e10cSrcweir
49cdf0e10cSrcweir
50cdf0e10cSrcweir#define SAVE_WIDTH                  290
51cdf0e10cSrcweir#define SAVE_HEIGHT                 238
52cdf0e10cSrcweir#define SAVE_TITLEWINHEIGHT         36
53cdf0e10cSrcweir#define SAVE_DESCRHEIGHT            48
54cdf0e10cSrcweir#define SAVE_COL0					(RSC_SP_DLG_INNERBORDER_LEFT)
55cdf0e10cSrcweir#define SAVE_COL2					(SAVE_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
56cdf0e10cSrcweir#define SAVE_COL1					(SAVE_COL2-RSC_CD_PUSHBUTTON_WIDTH)
57cdf0e10cSrcweir#define SAVE_ROW0					((SAVE_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
58cdf0e10cSrcweir#define SAVE_ROW1					(SAVE_TITLEWINHEIGHT)
59cdf0e10cSrcweir#define SAVE_ROW2					(SAVE_ROW1+RSC_SP_CTRL_Y)
60cdf0e10cSrcweir#define SAVE_ROW3                   (SAVE_ROW2+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
61cdf0e10cSrcweir#define SAVE_ROW4					(SAVE_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
62cdf0e10cSrcweir#define SAVE_ROW9					(SAVE_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
63cdf0e10cSrcweir#define SAVE_ROW8					(SAVE_ROW9-RSC_CD_PUSHBUTTON_HEIGHT)
64cdf0e10cSrcweir#define SAVE_ROW7                   (SAVE_ROW8-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT)
65cdf0e10cSrcweir#define SAVE_ROW6                   (SAVE_ROW7-RSC_SP_CTRL_GROUP_Y-RSC_CD_CHECKBOX_HEIGHT)
66cdf0e10cSrcweir#define SAVE_ROW5					(SAVE_ROW6-RSC_SP_CTRL_Y)
67cdf0e10cSrcweir#define SAVE_FILELISTHEIGHT			(SAVE_ROW5-SAVE_ROW4)
68cdf0e10cSrcweir#define SAVE_CONTROLWIDTH			(SAVE_COL2-SAVE_COL0)
69cdf0e10cSrcweir
70cdf0e10cSrcweir// Save Progress Dialog
71cdf0e10cSrcweir
72cdf0e10cSrcweir#define FT_SAVEPROGR_HINT			1
73cdf0e10cSrcweir#define FT_SAVEPROGR_PROGR			2
74cdf0e10cSrcweir#define WIN_SAVEPROGR_PROGR			3
75cdf0e10cSrcweir
76cdf0e10cSrcweir#define SAVEPROGR_WIDTH				240
77cdf0e10cSrcweir#define SAVEPROGR_COL0				(RSC_SP_DLG_INNERBORDER_LEFT)
78cdf0e10cSrcweir#define SAVEPROGR_COL1				(SAVEPROGR_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
79cdf0e10cSrcweir#define SAVEPROGR_ROW0				(RSC_SP_DLG_INNERBORDER_TOP)
80cdf0e10cSrcweir#define SAVEPROGR_ROW1				(SAVEPROGR_ROW0+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
81cdf0e10cSrcweir#define SAVEPROGR_ROW2				(SAVEPROGR_ROW1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
82cdf0e10cSrcweir#define SAVEPROGR_ROW3				(SAVEPROGR_ROW2+PROGR_HEIGHT)
83cdf0e10cSrcweir#define SAVEPROGR_CONTROLWIDTH		(SAVEPROGR_COL1-SAVEPROGR_COL0)
84cdf0e10cSrcweir#define SAVEPROGR_HEIGHT			(SAVEPROGR_ROW3+RSC_SP_DLG_INNERBORDER_BOTTOM)
85cdf0e10cSrcweir
86cdf0e10cSrcweir// TabPage Recovery
87cdf0e10cSrcweir
88cdf0e10cSrcweir#define WIN_RECOV_TITLE				1
89cdf0e10cSrcweir#define FT_RECOV_TITLE              2
90cdf0e10cSrcweir#define FL_RECOV_TITLE              3
91cdf0e10cSrcweir#define FT_RECOV_DESCR              4
92cdf0e10cSrcweir#define FT_RECOV_PROGR              5
93cdf0e10cSrcweir#define WIN_RECOV_PROGR             6
94cdf0e10cSrcweir#define FT_RECOV_FILELIST           7
95cdf0e10cSrcweir#define LB_RECOV_FILELIST           8
96cdf0e10cSrcweir#define FL_RECOV_BOTTOM             9
97cdf0e10cSrcweir#define BTN_RECOV_PREV              10
98cdf0e10cSrcweir#define BTN_RECOV_NEXT              11
99cdf0e10cSrcweir#define BTN_RECOV_CANCEL            12
100cdf0e10cSrcweir#define STR_HEADERBAR               13
101cdf0e10cSrcweir#define IMG_GREENCHECK              14
102cdf0e10cSrcweir#define IMG_YELLOWCHECK             15
103cdf0e10cSrcweir#define IMG_REDCROSS                16
104cdf0e10cSrcweir#define IMG_GREENCHECK_HC           17
105cdf0e10cSrcweir#define IMG_YELLOWCHECK_HC          18
106cdf0e10cSrcweir#define IMG_REDCROSS_HC             19
107cdf0e10cSrcweir#define STR_SUCCESSRECOV            20
108cdf0e10cSrcweir#define STR_ORIGDOCRECOV            21
109cdf0e10cSrcweir#define STR_RECOVFAILED             22
110cdf0e10cSrcweir#define STR_RECOVINPROGR            23
111cdf0e10cSrcweir#define STR_NOTRECOVYET             24
112cdf0e10cSrcweir#define STR_RECOVERY_NEXT           25
113cdf0e10cSrcweir#define STR_RECOVERY_INPROGRESS     26
114cdf0e10cSrcweir#define STR_RECOVERY_REPORT         27
115cdf0e10cSrcweir#define STR_RECOVERYONLY_FINISH_DESCR 28
116cdf0e10cSrcweir#define STR_RECOVERYONLY_FINISH     29
117cdf0e10cSrcweir
118cdf0e10cSrcweir#define RECOV_WIDTH					SAVE_WIDTH
119cdf0e10cSrcweir#define RECOV_HEIGHT				SAVE_HEIGHT
120cdf0e10cSrcweir#define RECOV_TITLEWINHEIGHT		SAVE_TITLEWINHEIGHT
121cdf0e10cSrcweir#define RECOV_DESCRHEIGHT           6*RSC_CD_FIXEDTEXT_HEIGHT
122cdf0e10cSrcweir#define RECOV_COL1					(RSC_SP_DLG_INNERBORDER_LEFT)
123cdf0e10cSrcweir#define RECOV_COL2					40
124cdf0e10cSrcweir#define RECOV_COL3					(RECOV_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
125cdf0e10cSrcweir#define RECOV_COL_A					(RECOV_COL1)
126cdf0e10cSrcweir#define RECOV_COL_B					(COL_1+RSC_CD_PUSHBUTTON_WIDTH)
127cdf0e10cSrcweir#define RECOV_COL_G					(RECOV_COL3)
128cdf0e10cSrcweir#define RECOV_COL_F					(RECOV_COL_G-RSC_CD_PUSHBUTTON_WIDTH)
129cdf0e10cSrcweir#define RECOV_COL_E					(RECOV_COL_F-RSC_SP_CTRL_X)
130cdf0e10cSrcweir#define RECOV_COL_D					(RECOV_COL_E-RSC_CD_PUSHBUTTON_WIDTH)
131cdf0e10cSrcweir#define RECOV_COL_C					(RECOV_COL_D-RSC_CD_PUSHBUTTON_WIDTH)
132cdf0e10cSrcweir#define RECOV_ROW0					((RECOV_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
133cdf0e10cSrcweir#define RECOV_ROW1					(RECOV_TITLEWINHEIGHT)
134cdf0e10cSrcweir#define RECOV_ROW2					(RECOV_ROW1+RSC_SP_CTRL_Y)
135cdf0e10cSrcweir#define RECOV_ROW3                  (RECOV_ROW2+RECOV_DESCRHEIGHT+RSC_SP_CTRL_DESC_Y)
136cdf0e10cSrcweir#define RECOV_ROW4					(RECOV_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
137cdf0e10cSrcweir#define RECOV_ROW5					(RECOV_ROW4+PROGR_HEIGHT+RSC_SP_CTRL_GROUP_Y)
138cdf0e10cSrcweir#define RECOV_ROW6					(RECOV_ROW5+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
139cdf0e10cSrcweir#define RECOV_ROW10					(RECOV_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
140cdf0e10cSrcweir#define RECOV_ROW9					(RECOV_ROW10-RSC_CD_PUSHBUTTON_HEIGHT)
141cdf0e10cSrcweir#define RECOV_ROW8                  (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT)
142cdf0e10cSrcweir#define RECOV_ROW7                  (RECOV_ROW8-RSC_SP_CTRL_GROUP_Y)
143cdf0e10cSrcweir#define RECOV_FILELISTHEIGHT		(RECOV_ROW7-RECOV_ROW6)
144cdf0e10cSrcweir#define RECOV_CONTROLWIDTH			(SAVE_COL2-SAVE_COL0)
145cdf0e10cSrcweir
146cdf0e10cSrcweir// TabPage Broken Recovery
147cdf0e10cSrcweir
148cdf0e10cSrcweir#define FT_BROKEN_DESCR				1
149cdf0e10cSrcweir#define FT_BROKEN_FILELIST			2
150cdf0e10cSrcweir#define LB_BROKEN_FILELIST			3
151cdf0e10cSrcweir#define FT_BROKEN_SAVEDIR           4
152cdf0e10cSrcweir#define ED_BROKEN_SAVEDIR           5
153cdf0e10cSrcweir#define BTN_BROKEN_SAVEDIR          6
154cdf0e10cSrcweir#define FL_BROKEN_BOTTOM            7
155cdf0e10cSrcweir#define BTN_BROKEN_OK               8
156cdf0e10cSrcweir#define BTN_BROKEN_CANCEL           9
157cdf0e10cSrcweir
158cdf0e10cSrcweir#define BROKEN_WIDTH                210
159cdf0e10cSrcweir#define BROKEN_HEIGHT               160
160cdf0e10cSrcweir#define BROKEN_COL0					(RSC_SP_DLG_INNERBORDER_LEFT)
161cdf0e10cSrcweir#define BROKEN_COL4                 (BROKEN_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
162cdf0e10cSrcweir#define BROKEN_COL3                 (BROKEN_COL4-RSC_CD_PUSHBUTTON_WIDTH)
163cdf0e10cSrcweir#define BROKEN_COL2                 (BROKEN_COL3-RSC_SP_CTRL_GROUP_X)
164cdf0e10cSrcweir#define BROKEN_COL1                 (BROKEN_COL2-RSC_CD_PUSHBUTTON_WIDTH)
165cdf0e10cSrcweir
166cdf0e10cSrcweir#define BROKEN_ROW0					(RSC_SP_DLG_INNERBORDER_TOP)
167cdf0e10cSrcweir#define BROKEN_ROW1                 (BROKEN_ROW0+5*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y)
168cdf0e10cSrcweir#define BROKEN_ROW2                 (BROKEN_ROW1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y)
169cdf0e10cSrcweir#define BROKEN_ROW8                 (BROKEN_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
170cdf0e10cSrcweir#define BROKEN_ROW7					(BROKEN_ROW8-RSC_CD_PUSHBUTTON_HEIGHT)
171cdf0e10cSrcweir#define BROKEN_ROW6                 (BROKEN_ROW7-RSC_SP_FLGR_INNERBORDER_BOTTOM-RSC_CD_FIXEDLINE_HEIGHT)
172cdf0e10cSrcweir#define BROKEN_ROW5                 (BROKEN_ROW6-RSC_SP_FLGR_INNERBORDER_TOP-RSC_CD_PUSHBUTTON_HEIGHT)
173cdf0e10cSrcweir#define BROKEN_ROW4                 (BROKEN_ROW5-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDTEXT_HEIGHT)
174cdf0e10cSrcweir#define BROKEN_ROW3                 (BROKEN_ROW4-RSC_SP_CTRL_GROUP_Y)
175cdf0e10cSrcweir
176cdf0e10cSrcweir#define BROKEN_CONTROLWIDTH         (BROKEN_COL4-BROKEN_COL0)
177cdf0e10cSrcweir
178cdf0e10cSrcweir// TabPage Error Report Welcome
179cdf0e10cSrcweir// most defines equal to TabPage Recovery
180cdf0e10cSrcweir
181cdf0e10cSrcweir#define RECOV_DESCR_HEIGHT			(RECOV_ROW7-RECOV_ROW2)
182cdf0e10cSrcweir
183cdf0e10cSrcweir// TabPage Error Report Send
184cdf0e10cSrcweir// borrow basic metrics from TabPage Recovery
185cdf0e10cSrcweir
186cdf0e10cSrcweir#define FT_ERRSEND_DOCTYPE			20
187cdf0e10cSrcweir#define ED_ERRSEND_DOCTYPE			21
188cdf0e10cSrcweir#define FT_ERRSEND_USING			22
189cdf0e10cSrcweir#define ML_ERRSEND_USING			23
190cdf0e10cSrcweir#define BTN_ERRSEND_SHOWREP			24
191cdf0e10cSrcweir#define BTN_ERRSEND_OPT				25
192cdf0e10cSrcweir#define CB_ERRSEND_CONTACT			26
193cdf0e10cSrcweir#define FT_ERRSEND_EMAILADDR		27
194cdf0e10cSrcweir#define ED_ERRSEND_EMAILADDR		28
195cdf0e10cSrcweir
196cdf0e10cSrcweir#define ERRSEND_WIDTH				(RECOV_WIDTH)
197cdf0e10cSrcweir#define ERRSEND_HEIGHT				(RECOV_HEIGHT)
198cdf0e10cSrcweir#define ERRSEND_TITLEWINHEIGHT      SAVE_TITLEWINHEIGHT
199cdf0e10cSrcweir
200cdf0e10cSrcweir#define ERRSEND_COL0				(RSC_SP_DLG_INNERBORDER_LEFT)
201cdf0e10cSrcweir#define ERRSEND_COL1				(ERRSEND_COL0+RSC_SP_CHK_TEXTINDENT)
202cdf0e10cSrcweir
203cdf0e10cSrcweir#define ERRSEND_COL4                (ERRSEND_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
204cdf0e10cSrcweir#define ERRSEND_COL3				(ERRSEND_COL4-RSC_CD_PUSHBUTTON_WIDTH)
205cdf0e10cSrcweir#define ERRSEND_COL2                (ERRSEND_COL3-RSC_SP_CTRL_X)
206cdf0e10cSrcweir
207cdf0e10cSrcweir#define ERRSEND_COL6                (ERRSEND_COL3-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
208cdf0e10cSrcweir#define ERRSEND_COL5                (ERRSEND_COL6-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
209cdf0e10cSrcweir
210cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH1       (ERRSEND_COL4-ERRSEND_COL0)
211cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH2       (ERRSEND_COL2-ERRSEND_COL0)
212cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH3       (ERRSEND_COL2-ERRSEND_COL1)
213cdf0e10cSrcweir
214cdf0e10cSrcweir#define ERRSEND_ROW0                ((ERRSEND_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
215cdf0e10cSrcweir#define ERRSEND_ROW1                (ERRSEND_TITLEWINHEIGHT)
216cdf0e10cSrcweir#define ERRSEND_ROW2                (ERRSEND_ROW1+RSC_SP_CTRL_Y)
217cdf0e10cSrcweir#define ERRSEND_ROW3                (ERRSEND_ROW2+3*RSC_CD_FIXEDTEXT_HEIGHT)
218cdf0e10cSrcweir#define ERRSEND_ROW4                (ERRSEND_ROW3+RSC_SP_CTRL_GROUP_Y)
219cdf0e10cSrcweir#define ERRSEND_ROW5                (ERRSEND_ROW4+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y)
220cdf0e10cSrcweir#define ERRSEND_ROW6				(ERRSEND_ROW5+RSC_CD_TEXTBOX_HEIGHT)
221cdf0e10cSrcweir#define ERRSEND_ROW7				(ERRSEND_ROW6+RSC_SP_CTRL_Y)
222cdf0e10cSrcweir#define ERRSEND_ROW8                (ERRSEND_ROW7+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y)
223cdf0e10cSrcweir#define ERRSEND_ROW9                (ERRSEND_ROW8+RSC_CD_PUSHBUTTON_HEIGHT)
224cdf0e10cSrcweir#define ERRSEND_ROW10				(ERRSEND_ROW9+RSC_SP_CTRL_GROUP_Y)
225cdf0e10cSrcweir#define ERRSEND_ROW11               (ERRSEND_ROW10+RSC_CD_PUSHBUTTON_HEIGHT)
226cdf0e10cSrcweir
227cdf0e10cSrcweir#define ERRSEND_ROW16               (ERRSEND_HEIGHT-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_HEIGHT)
228cdf0e10cSrcweir#define ERRSEND_ROW15               (ERRSEND_ROW16-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT)
229cdf0e10cSrcweir#define ERRSEND_ROW14               (ERRSEND_ROW15-RSC_SP_CTRL_GROUP_Y-RSC_CD_TEXTBOX_HEIGHT)
230cdf0e10cSrcweir#define ERRSEND_ROW13               (ERRSEND_ROW14-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDTEXT_HEIGHT)
231cdf0e10cSrcweir#define ERRSEND_ROW12               (ERRSEND_ROW13-RSC_SP_CTRL_GROUP_Y-RSC_CD_CHECKBOX_HEIGHT)
232cdf0e10cSrcweir
233cdf0e10cSrcweir// Error Report Options Dialog
234cdf0e10cSrcweir
235cdf0e10cSrcweir#define ERROPT_WIDTH    220
236cdf0e10cSrcweir#define ERROPT_HEIGHT   180
237cdf0e10cSrcweir
238cdf0e10cSrcweir#define FL_ERROPT_PROXY         1
239cdf0e10cSrcweir#define BTN_ERROPT_SYSTEM		2
240cdf0e10cSrcweir#define BTN_ERROPT_DIRECT		3
241cdf0e10cSrcweir#define BTN_ERROPT_MANUAL		4
242cdf0e10cSrcweir#define FT_ERROPT_PROXYSERVER	5
243cdf0e10cSrcweir#define ED_ERROPT_PROXYSERVER	6
244cdf0e10cSrcweir#define FT_ERROPT_PROXYPORT		7
245cdf0e10cSrcweir#define ED_ERROPT_PROXYPORT		8
246cdf0e10cSrcweir#define FT_ERROPT_DESCRIPTION	9
247cdf0e10cSrcweir#define FL_ERROPT_BUTTONS       10
248cdf0e10cSrcweir#define BTN_ERROPT_OK           11
249cdf0e10cSrcweir#define BTN_ERROPT_CANCEL       12
250cdf0e10cSrcweir
251cdf0e10cSrcweir#define ERROPT_COLA				(RSC_SP_DLG_INNERBORDER_LEFT)
252cdf0e10cSrcweir#define ERROPT_COLB             (ERROPT_COLA + RSC_SP_CTRL_X)
253cdf0e10cSrcweir#define ERROPT_COLC             (ERROPT_COLB + RSC_SP_CHK_TEXTINDENT)
254cdf0e10cSrcweir
255cdf0e10cSrcweir#define ERROPT_COLF             (ERROPT_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT)
256cdf0e10cSrcweir#define ERROPT_COLE             (ERROPT_COLF - RSC_CD_PUSHBUTTON_WIDTH)
257cdf0e10cSrcweir#define ERROPT_COLD             (ERROPT_COLE - RSC_SP_CTRL_DESC_X - RSC_CD_PUSHBUTTON_WIDTH)
258cdf0e10cSrcweir
259cdf0e10cSrcweir#define ERROPT_ROW0             (RSC_SP_DLG_INNERBORDER_TOP)
260cdf0e10cSrcweir#define ERROPT_ROW1             (ERROPT_ROW0 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_CTRL_Y)
261cdf0e10cSrcweir#define ERROPT_ROW2				(ERROPT_ROW1 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
262cdf0e10cSrcweir#define ERROPT_ROW3				(ERROPT_ROW2 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
263cdf0e10cSrcweir#define ERROPT_ROW4             (ERROPT_ROW3 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
264cdf0e10cSrcweir#define ERROPT_ROW5				(ERROPT_ROW4 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
265cdf0e10cSrcweir#define ERROPT_ROW6				(ERROPT_ROW5 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y)
266cdf0e10cSrcweir
267cdf0e10cSrcweir#define ERROPT_ROW9             (ERROPT_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
268cdf0e10cSrcweir#define ERROPT_ROW8             (ERROPT_ROW9 - RSC_SP_CTRL_DESC_Y - RSC_CD_FIXEDLINE_HEIGHT)
269cdf0e10cSrcweir#define ERROPT_ROW7             (ERROPT_ROW8 - RSC_SP_CTRL_DESC_Y)
270cdf0e10cSrcweir
271cdf0e10cSrcweir#define ERROPT_SERVER_WIDTH     150
272cdf0e10cSrcweir#define ERROPT_PORT_WIDTH       (ERROPT_COLF-ERROPT_COLC-RSC_SP_CTRL_GROUP_X-ERROPT_SERVER_WIDTH)
273cdf0e10cSrcweir
274cdf0e10cSrcweir// Error Report Preview Dialog
275cdf0e10cSrcweir
276cdf0e10cSrcweir#define ERRPREVIEW_WIDTH    300
277cdf0e10cSrcweir#define ERRPREVIEW_HEIGHT   200
278cdf0e10cSrcweir
279cdf0e10cSrcweir#define ML_ERRPREVIEW_CONTENT	1
280cdf0e10cSrcweir#define BTN_ERRPREVIEW_OK		2
281cdf0e10cSrcweir#define ERRPREVIEW_COLA			(RSC_SP_DLG_INNERBORDER_LEFT)
282cdf0e10cSrcweir#define ERRPREVIEW_COLB			(ERRPREVIEW_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - RSC_CD_PUSHBUTTON_WIDTH)
283cdf0e10cSrcweir#define ERRPREVIEW_COLC			(ERRPREVIEW_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT)
284cdf0e10cSrcweir#define ERRPREVIEW_ROW0			(RSC_SP_DLG_INNERBORDER_TOP)
285cdf0e10cSrcweir#define ERRPREVIEW_ROW1			(ERRPREVIEW_ROW2 - RSC_SP_CTRL_Y)
286cdf0e10cSrcweir#define ERRPREVIEW_ROW2			(ERRPREVIEW_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
287cdf0e10cSrcweir
288cdf0e10cSrcweir#endif
289