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: secmacrowarnings.src,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 ************************************************************************/
33 #include "secmacrowarnings.hrc"
36 ModalDialog RID_XMLSECDLG_MACROWARN
38 HelpId = HID_XMLSECDLG_MACROWARN;
39 Size = MAP_APPFONT( MW_WIDTH, MW_HEIGHT );
45 Text [ en-US ] = "%PRODUCTNAME - Security Warning";
49 Pos = MAP_APPFONT( MW_COL_0, MW_ROW_0 );
50 Size = MAP_APPFONT( MW_SYMBOL_WIDTH, MW_SYMBOL_HEIGHT );
54 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT );
55 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, 2*RSC_CD_FIXEDTEXT_HEIGHT );
60 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
61 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
63 Text [ en-US ] = "The document contains document macros signed by:";
67 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
68 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
70 Text [ en-US ] = "The document contains document macros.";
74 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_2 );
75 Size = MAP_APPFONT( MW_COL_2-MW_COL_1, MW_ROW_3-MW_ROW_2-RSC_SP_CTRL_DESC_Y );
78 PushButton PB_VIEWSIGNS
80 Pos = MAP_APPFONT( MW_COL_3, MW_ROW_2 );
81 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
82 Text [ en-US ] = "View Signatures...";
86 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_3 );
87 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, 4*RSC_CD_FIXEDTEXT_HEIGHT );
89 Text [ en-US ] = "Macros may contain viruses. Disabling macros for a document is always safe. If you disable macros you may lose functionality provided by the document macros.";
91 CheckBox CB_ALWAYSTRUST
93 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_4 );
94 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_CHECKBOX_HEIGHT );
95 Text [ en-US ] = "Always trust macros from this source";
97 FixedLine FL_BOTTOM_SEP
99 Pos = MAP_APPFONT( 0, MW_ROW_5 );
100 Size = MAP_APPFONT( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
104 Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( MW_WIDTH ), MW_ROW_6 );
105 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
106 Text [ en-US ] = "~Enable Macros";
108 CancelButton PB_DISABLE
110 Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), MW_ROW_6 );
111 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
113 Text [ en-US ] = "~Disable Macros";
117 Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( MW_WIDTH ), MW_ROW_6 );
118 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );