xref: /trunk/main/uui/source/secmacrowarnings.src (revision c6ad6917)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#define __RSC
25
26#include "secmacrowarnings.hrc"
27#include "ids.hrc"
28
29ModalDialog RID_XMLSECDLG_MACROWARN
30{
31	HelpId = HID_XMLSECDLG_MACROWARN ;
32	Size = MAP_APPFONT ( MW_WIDTH, MW_HEIGHT ) ;
33	OutputSize = TRUE ;
34	Closeable = FALSE ;
35	Moveable = TRUE ;
36	SVLook = TRUE ;
37
38	Text [ en-US ] = "%PRODUCTNAME - Security Warning" ;
39
40	FixedImage IMG_SYMBOL
41	{
42		Pos = MAP_APPFONT ( MW_COL_0, MW_ROW_0 ) ;
43		Size = MAP_APPFONT ( MW_SYMBOL_WIDTH, MW_SYMBOL_HEIGHT ) ;
44	};
45	FixedText FI_DOCNAME
46	{
47		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT ) ;
48		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, 2*RSC_CD_FIXEDTEXT_HEIGHT ) ;
49		Wordbreak = TRUE ;
50	};
51	FixedText FI_DESCR1A
52	{
53		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
54		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
55		Wordbreak = TRUE ;
56		Text [ en-US ] = "The document contains document macros signed by:" ;
57	};
58	FixedText FI_DESCR1B
59	{
60		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
61		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
62		Wordbreak = TRUE ;
63		Text [ en-US ] = "The document contains document macros." ;
64	};
65	FixedText FI_SIGNS
66	{
67		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_2 ) ;
68		Size = MAP_APPFONT ( MW_COL_2-MW_COL_1, MW_ROW_3-MW_ROW_2-RSC_SP_CTRL_DESC_Y ) ;
69		Wordbreak = TRUE ;
70	};
71	PushButton PB_VIEWSIGNS
72	{
73		HelpID = "uui:PushButton:RID_XMLSECDLG_MACROWARN:PB_VIEWSIGNS" ;
74		Pos = MAP_APPFONT ( MW_COL_3, MW_ROW_2 ) ;
75		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
76		Text [ en-US ] = "View Signatures..." ;
77	};
78	FixedText FI_DESCR2
79	{
80		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_3 ) ;
81		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, 4*RSC_CD_FIXEDTEXT_HEIGHT ) ;
82		Wordbreak = TRUE;
83		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." ;
84	};
85	CheckBox CB_ALWAYSTRUST
86	{
87		HelpID = "uui:CheckBox:RID_XMLSECDLG_MACROWARN: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" ;
91	};
92	FixedLine FL_BOTTOM_SEP
93	{
94		Pos = MAP_APPFONT ( 0, MW_ROW_5 ) ;
95		Size = MAP_APPFONT ( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
96	};
97	OKButton PB_ENABLE
98	{
99		Pos = MAP_APPFONT ( DLGS_BOTTOM_OK_X( MW_WIDTH ), MW_ROW_6 ) ;
100		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
101		Text [ en-US ] = "~Enable Macros" ;
102	};
103	CancelButton PB_DISABLE
104	{
105		Pos = MAP_APPFONT ( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), MW_ROW_6 ) ;
106		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
107		DefButton = TRUE ;
108		Text [ en-US ] = "~Disable Macros" ;
109	};
110	HelpButton BTN_HELP
111	{
112		Pos = MAP_APPFONT ( DLGS_BOTTOM_HELP_X( MW_WIDTH ), MW_ROW_6 ) ;
113		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
114	};
115};
116
117// ********************************************************************** EOF
118