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