bump product version to 4.1.6.2
[LibreOffice.git] / uui / source / secmacrowarnings.hrc
bloba8f9750ae4d8917f408a4fc64ee995fa9c449e97
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #ifndef _SECMACROWARNINGS_HRC
21 #define _SECMACROWARNINGS_HRC
23 #include <svtools/controldims.hrc>
25 // --------- general metrics ---------
27 #define SEP_FL_SPACE_Y                  6
28 #define SEP_FL_ADJ_Y(val)               (val-3)
29 #define DLGS_BOTTOM_BTN_L(dlgh)         (dlgh-RSC_SP_DLG_INNERBORDER_BOTTOM)
30 #define DLGS_BOTTOM_BTN_Y(dlgh)         (DLGS_BOTTOM_BTN_L(dlgh)-RSC_CD_PUSHBUTTON_HEIGHT)
31 #define DLGS_BOTTOM_FL_Y(dlgh)          (DLGS_BOTTOM_BTN_Y(dlgh)-SEP_FL_SPACE_Y-5)
32 #define DLGS_BOTTOM_LAST_CTRL_L(dlgh)   (DLGS_BOTTOM_BTN_Y(dlgh)-2*SEP_FL_SPACE_Y-3)
33 #define DLGS_BOTTOM_HELP_X(dlgw)        (dlgw-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_WIDTH)
34 #define DLGS_BOTTOM_CANCEL_X(dlgw)      (DLGS_BOTTOM_HELP_X(dlgw)-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
35 #define DLGS_BOTTOM_OK_X(dlgw)          (DLGS_BOTTOM_CANCEL_X(dlgw)-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
37 // --------- signed macro warning ---------
39 #define FI_DOCNAME                      1
40 #define FI_DESCR1A                      2
41 #define FI_SIGNS                        3
42 #define PB_VIEWSIGNS                    4
43 #define FI_DESCR2                       5
44 #define CB_ALWAYSTRUST                  6
45 #define PB_ENABLE                       7
46 #define PB_DISABLE                      8
47 #define FI_DESCR1B                      9
48 #define FL_BOTTOM_SEP                   10
49 #define BTN_HELP                        11
50 #define IMG_SYMBOL                      12
52 #define MW_WIDTH                        220
53 #define MW_HEIGHT                       190
55 #define MW_SYMBOL_WIDTH                 (20)
56 #define MW_SYMBOL_HEIGHT                (20)
58 #define MW_COL_0                        (RSC_SP_DLG_INNERBORDER_LEFT)
59 #define MW_COL_1                        (MW_COL_0+MW_SYMBOL_WIDTH+RSC_SP_CTRL_DESC_X)
61 #define MW_COL_4                        (MW_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
62 #define MW_COL_3                        (MW_COL_4-RSC_CD_PUSHBUTTON_WIDTH)
63 #define MW_COL_2                        (MW_COL_3-RSC_SP_CTRL_DESC_X)
65 #define MW_COL_A                        (DLGS_BOTTOM_OK_X(MW_WIDTH))
66 #define MW_COL_C                        (DLGS_BOTTOM_CANCEL_X(MW_WIDTH))
67 #define MW_COL_E                        (DLGS_BOTTOM_HELP_X(MW_WIDTH))
69 #define MW_ROW_0                        (RSC_SP_DLG_INNERBORDER_TOP)
70 #define MW_ROW_1                        (MW_ROW_0+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
71 #define MW_ROW_2                        (MW_ROW_1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
73 #define MW_ROW_7                        (MW_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
74 #define MW_ROW_6                        (MW_ROW_7-RSC_CD_PUSHBUTTON_HEIGHT)
75 #define MW_ROW_5                        (MW_ROW_6-RSC_SP_CTRL_DESC_Y-RSC_CD_FIXEDTEXT_HEIGHT)
76 #define MW_ROW_4                        (MW_ROW_5-RSC_SP_CTRL_DESC_Y-RSC_CD_CHECKBOX_HEIGHT)
77 #define MW_ROW_3                        (MW_ROW_4-RSC_SP_CTRL_DESC_Y-4*RSC_CD_FIXEDTEXT_HEIGHT)
79 #endif
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */