Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / uui / source / masterpasscrtdlg.hrc
blob1d14e57ac62f563b5fcc47e7c9092f82c9efb212
1 /*
2  * This file is part of the LibreOffice project.
3  *
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/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
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 .
17  */
19 #ifndef UUI_MASTERPASSCRT_HRC
20 #define UUI_MASTERPASSCRT_HRC
22 #include <svtools/controldims.hrc>
24 //============================================================================
26 #define FT_INFOTEXT                 10
27 #define FL_INFOTEXT                 11
29 #define FT_MASTERPASSWORD_CRT       20
30 #define ED_MASTERPASSWORD_CRT       21
31 #define FT_MASTERPASSWORD_REPEAT    22
32 #define ED_MASTERPASSWORD_REPEAT    23
33 #define FT_MASTERPASSWORD_WARNING   24
34 #define FL_FIXED_LINE               30
36 #define FT_CAUTIONTEXT              30
37 #define FL_CAUTIONTEXT              31
39 #define BTN_MASTERPASSCRT_OK        50
40 #define BTN_MASTERPASSCRT_CANCEL    51
41 #define BTN_MASTERPASSCRT_HELP      52
43 #define ROW_0                       (RSC_SP_FLGR_INNERBORDER_TOP)
44 #define ROW_1                       (ROW_0+7*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
45 #define ROW_2                       (ROW_1+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
46 #define ROW_3                       (ROW_2+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
47 #define ROW_4                       (ROW_3+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_DESC_Y)
48 #define ROW_5                       (ROW_4+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
49 #define ROW_6                       (ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_X)
50 #define ROW_7                       (ROW_6+8*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
51 #define ROW_8                       (ROW_7+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
52 #define ROW_9                       (ROW_8+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_X)
54 #define COL_0                       (RSC_SP_FLGR_INNERBORDER_LEFT)
55 #define COL_2                       (DLG_WIDTH-RSC_SP_FLGR_INNERBORDER_LEFT-RSC_CD_PUSHBUTTON_WIDTH)
56 #define COL_1                       (COL_2-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
58 #define DLG_WIDTH                   180
59 #define CTRL_WIDTH                  (DLG_WIDTH-2*RSC_SP_FLGR_INNERBORDER_LEFT)
60 #define DLG_HEIGHT                  (ROW_9)
62 #endif // UUI_MASTERPASSCRT_HRC