1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include "secmacrowarnings.hrc"
25 ModalDialog RID_XMLSECDLG_MACROWARN
27 HelpId = HID_XMLSECDLG_MACROWARN;
28 Size = MAP_APPFONT( MW_WIDTH, MW_HEIGHT );
34 Text [ en-US ] = "%PRODUCTNAME - Security Warning";
38 Pos = MAP_APPFONT( MW_COL_0, MW_ROW_0 );
39 Size = MAP_APPFONT( MW_SYMBOL_WIDTH, MW_SYMBOL_HEIGHT );
43 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT );
44 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, 2*RSC_CD_FIXEDTEXT_HEIGHT );
49 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
50 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
52 Text [ en-US ] = "The document contains document macros signed by:";
56 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_1 );
57 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT );
59 Text [ en-US ] = "The document contains document macros.";
63 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_2 );
64 Size = MAP_APPFONT( MW_COL_2-MW_COL_1, MW_ROW_3-MW_ROW_2-RSC_SP_CTRL_DESC_Y );
67 PushButton PB_VIEWSIGNS
69 HelpID = "uui:PushButton:RID_XMLSECDLG_MACROWARN:PB_VIEWSIGNS";
70 Pos = MAP_APPFONT( MW_COL_3, MW_ROW_2 );
71 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
72 Text [ en-US ] = "View Signatures...";
76 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_3 );
77 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, 4*RSC_CD_FIXEDTEXT_HEIGHT );
79 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.";
81 CheckBox CB_ALWAYSTRUST
83 HelpID = "uui:CheckBox:RID_XMLSECDLG_MACROWARN:CB_ALWAYSTRUST";
84 Pos = MAP_APPFONT( MW_COL_1, MW_ROW_4 );
85 Size = MAP_APPFONT( MW_COL_4-MW_COL_1, RSC_CD_CHECKBOX_HEIGHT );
86 Text [ en-US ] = "Always trust macros from this source";
88 FixedLine FL_BOTTOM_SEP
90 Pos = MAP_APPFONT( 0, MW_ROW_5 );
91 Size = MAP_APPFONT( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
95 Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( MW_WIDTH ), MW_ROW_6 );
96 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
97 Text [ en-US ] = "~Enable Macros";
99 CancelButton PB_DISABLE
101 Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), MW_ROW_6 );
102 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
104 Text [ en-US ] = "~Disable Macros";
108 Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( MW_WIDTH ), MW_ROW_6 );
109 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
113 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */