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: warnings.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 ************************************************************************/
31 #include "dialogs.hrc"
32 #include "helpids.hrc"
34 ModalDialog RID_XMLSECTP_MACROWARN
36 HelpId = HID_XMLSEC_TP_MACROWARN;
37 Size = MAP_APPFONT( MW_WIDTH, MW_HEIGHT );
43 Text [ en-US ] = "Security Warning";
47 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_0 );
48 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, 3*RSC_CD_FIXEDTEXT_HEIGHT );
54 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
55 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
57 Text [ en-US ] = "The document contains document macros signed by:";
61 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
62 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
64 Text [ en-US ] = "The document contains document macros.";
68 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_2 );
69 Size = MAP_APPFONT( MW_COL_4-MW_COL_2, MW_ROW_3-MW_ROW_2 );
73 PushButton PB_VIEWSIGNS
75 Pos = MAP_APPFONT( MW_COL_3, MW_ROW_2 );
76 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
77 Text [ en-US ] = "View Signatures...";
81 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_3 );
82 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
84 Text [ en-US ] = "Macros may contain viruses. Disabling macros for a document is always save. If you disable macros you may lose functionality provided by the document macros.";
86 CheckBox CB_ALWAYSTRUST
88 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_4 );
89 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_CHECKBOX_HEIGHT );
90 Text [ en-US ] = "Always trust macros from this source";
92 FixedLine FL_BOTTOM_SEP
94 Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( MW_HEIGHT ) );
95 Size = MAP_APPFONT( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
99 Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) );
100 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
101 Text [ en-US ] = "Enable Macros";
103 CancelButton PB_DISABLE
105 Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) );
106 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
107 Text [ en-US ] = "Disable Macros";
111 Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) );
112 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );