diff options
Diffstat (limited to 'uui/source/masterpasscrtdlg.hrc')
-rwxr-xr-x | uui/source/masterpasscrtdlg.hrc | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/uui/source/masterpasscrtdlg.hrc b/uui/source/masterpasscrtdlg.hrc new file mode 100755 index 000000000000..ff84830b5842 --- /dev/null +++ b/uui/source/masterpasscrtdlg.hrc @@ -0,0 +1,72 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef UUI_MASTERPASSCRT_HRC +#define UUI_MASTERPASSCRT_HRC + +#include <svtools/controldims.hrc> + +//============================================================================ + +#define FT_INFOTEXT 10 +#define FL_INFOTEXT 11 + +#define FT_MASTERPASSWORD_CRT 20 +#define ED_MASTERPASSWORD_CRT 21 +#define FT_MASTERPASSWORD_REPEAT 22 +#define ED_MASTERPASSWORD_REPEAT 23 +#define FT_MASTERPASSWORD_WARNING 24 +#define FL_FIXED_LINE 30 + +#define FT_CAUTIONTEXT 30 +#define FL_CAUTIONTEXT 31 + +#define BTN_MASTERPASSCRT_OK 50 +#define BTN_MASTERPASSCRT_CANCEL 51 +#define BTN_MASTERPASSCRT_HELP 52 + +#define ROW_0 (RSC_SP_FLGR_INNERBORDER_TOP) +#define ROW_1 (ROW_0+7*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_2 (ROW_1+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_3 (ROW_2+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_4 (ROW_3+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_5 (ROW_4+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_6 (ROW_5+RSC_CD_TEXTBOX_HEIGHT+RSC_SP_CTRL_X) +#define ROW_7 (ROW_6+8*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_8 (ROW_7+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define ROW_9 (ROW_8+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_X) + +#define COL_0 (RSC_SP_FLGR_INNERBORDER_LEFT) +#define COL_2 (DLG_WIDTH-RSC_SP_FLGR_INNERBORDER_LEFT-RSC_CD_PUSHBUTTON_WIDTH) +#define COL_1 (COL_2-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH) + +#define DLG_WIDTH 180 +#define CTRL_WIDTH (DLG_WIDTH-2*RSC_SP_FLGR_INNERBORDER_LEFT) +#define DLG_HEIGHT (ROW_9) + +#endif // UUI_MASTERPASSCRT_HRC + |