2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SVX_SECURITYOPTIONS_HRC
20 #define _SVX_SECURITYOPTIONS_HRC
22 #define FL_WARNINGS 10
23 #define FI_WARNINGS 11
24 #define FI_SAVESENDDOCS 12
25 #define CB_SAVESENDDOCS 13
26 #define FI_SIGNDOCS 14
27 #define CB_SIGNDOCS 15
28 #define FI_PRINTDOCS 16
29 #define CB_PRINTDOCS 17
30 #define FI_CREATEPDF 18
31 #define CB_CREATEPDF 19
33 #define FI_REMOVEINFO 21
34 #define CB_REMOVEINFO 22
35 #define FI_RECOMMENDPWD 23
36 #define CB_RECOMMENDPWD 24
37 #define FI_CTRLHYPERLINK 25
38 #define CB_CTRLHYPERLINK 26
46 #define COL_0 (RSC_SP_DLG_INNERBORDER_LEFT)
47 #define COL_1 (COL_0+RSC_SP_FLGR_SPACE_X)
48 #define COL_2 (COL_1+RSC_SP_CHK_TEXTINDENT)
49 #define COL_4 (DLG_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
50 #define COL_3 (COL_4-RSC_SP_FLGR_SPACE_X)
52 #define COL_C (COL_4-RSC_CD_PUSHBUTTON_WIDTH)
53 #define COL_B (COL_C-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
54 #define COL_A (COL_B-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
56 #define CHECKBOX_WIDTH ((COL_3-COL_2-RSC_SP_CTRL_X)/2)
58 #define ROW_0 (RSC_SP_DLG_INNERBORDER_TOP)
59 #define ROW_1 (ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
60 #define ROW_2 (ROW_1+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_FLGR_SPACE_Y)
61 #define ROW_3 (ROW_2+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
62 #define ROW_4 (ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
63 #define ROW_5 (ROW_4+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
64 #define ROW_6 (ROW_5+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
65 #define ROW_7 (ROW_6+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
66 #define ROW_8 (ROW_7+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
67 #define ROW_9 (ROW_8+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
68 #define ROW_10 (ROW_9+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_DLG_INNERBORDER_BOTTOM)
70 #endif // #ifndef _SVX_SECURITYOPTIONS_HRC