1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef UUI_MASTERPASSCRT_HRC
29 #define UUI_MASTERPASSCRT_HRC
31 #include <svtools/controldims.hrc>
33 //============================================================================
35 #define FT_INFOTEXT 10
36 #define FL_INFOTEXT 11
38 #define FT_MASTERPASSWORD_CRT 20
39 #define ED_MASTERPASSWORD_CRT 21
40 #define FT_MASTERPASSWORD_REPEAT 22
41 #define ED_MASTERPASSWORD_REPEAT 23
42 #define FT_MASTERPASSWORD_WARNING 24
43 #define FL_FIXED_LINE 30
45 #define FT_CAUTIONTEXT 30
46 #define FL_CAUTIONTEXT 31
48 #define BTN_MASTERPASSCRT_OK 50
49 #define BTN_MASTERPASSCRT_CANCEL 51
50 #define BTN_MASTERPASSCRT_HELP 52
52 #define ROW_0 (RSC_SP_FLGR_INNERBORDER_TOP)
53 #define ROW_1 (ROW_0+7*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
54 #define ROW_2 (ROW_1+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
55 #define ROW_3 (ROW_2+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
56 #define ROW_4 (ROW_3+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_DESC_Y)
57 #define ROW_5 (ROW_4+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
58 #define ROW_6 (ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_X)
59 #define ROW_7 (ROW_6+8*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
60 #define ROW_8 (ROW_7+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y)
61 #define ROW_9 (ROW_8+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_X)
63 #define COL_0 (RSC_SP_FLGR_INNERBORDER_LEFT)
64 #define COL_2 (DLG_WIDTH-RSC_SP_FLGR_INNERBORDER_LEFT-RSC_CD_PUSHBUTTON_WIDTH)
65 #define COL_1 (COL_2-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
68 #define CTRL_WIDTH (DLG_WIDTH-2*RSC_SP_FLGR_INNERBORDER_LEFT)
69 #define DLG_HEIGHT (ROW_9)
71 #endif // UUI_MASTERPASSCRT_HRC