xref: /aoo4110/main/sfx2/source/dialog/alienwarn.hrc (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef _SFX_ALIENWARN_HRC
24#define _SFX_ALIENWARN_HRC
25
26#include <svtools/controldims.hrc>
27
28// dialog ids
29
30#define FI_QUERY        10
31#define FT_INFOTEXT     11
32#define PB_YES          12
33#define PB_NO           13
34#define PB_MOREINFO     14
35#define FL_OPTION       15
36#define CB_WARNING_OFF  16
37
38// --------- general metrics ---------
39
40#define SYMBOL_EDGE         20
41#define DIALOG_WIDTH        220
42#define INFO_TEXT_LINES     11
43
44#define AW_COL_1            (RSC_SP_DLG_INNERBORDER_LEFT)
45#define AW_COL_2            (AW_COL_1+SYMBOL_EDGE+RSC_SP_CTRL_DESC_X)
46#define AW_COL_3            (AW_COL_2+RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_CTRL_DESC_X)
47#define AW_COL_4            (DIALOG_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_WIDTH)
48
49#define AW_ROW_1            (RSC_SP_DLG_INNERBORDER_TOP)
50#define AW_ROW_2            (AW_ROW_1+INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
51#define AW_ROW_3            (AW_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_DESC_Y)
52#define AW_ROW_4            (AW_ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
53
54#define DIALOG_HEIGHT       (AW_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_DLG_INNERBORDER_BOTTOM)
55
56#endif
57
58