13cbdc576SAndrew Rist/**************************************************************
2eee503ecSMatthias Seidel *
33cbdc576SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
43cbdc576SAndrew Rist * or more contributor license agreements.  See the NOTICE file
53cbdc576SAndrew Rist * distributed with this work for additional information
63cbdc576SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
73cbdc576SAndrew Rist * to you under the Apache License, Version 2.0 (the
83cbdc576SAndrew Rist * "License"); you may not use this file except in compliance
93cbdc576SAndrew Rist * with the License.  You may obtain a copy of the License at
10eee503ecSMatthias Seidel *
113cbdc576SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12eee503ecSMatthias Seidel *
133cbdc576SAndrew Rist * Unless required by applicable law or agreed to in writing,
143cbdc576SAndrew Rist * software distributed under the License is distributed on an
153cbdc576SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
163cbdc576SAndrew Rist * KIND, either express or implied.  See the License for the
173cbdc576SAndrew Rist * specific language governing permissions and limitations
183cbdc576SAndrew Rist * under the License.
19eee503ecSMatthias Seidel *
203cbdc576SAndrew Rist *************************************************************/
213cbdc576SAndrew Rist
22cdf0e10cSrcweir#include "dialogs.hrc"
23cdf0e10cSrcweir#include "helpids.hrc"
24cdf0e10cSrcweir
25cdf0e10cSrcweirModalDialog RID_XMLSECTP_MACROWARN
26cdf0e10cSrcweir{
27eee503ecSMatthias Seidel	HelpId = HID_XMLSEC_TP_MACROWARN ;
28eee503ecSMatthias Seidel	Size = MAP_APPFONT ( MW_WIDTH, MW_HEIGHT ) ;
29eee503ecSMatthias Seidel	OutputSize = TRUE ;
30eee503ecSMatthias Seidel	Closeable = TRUE ;
31eee503ecSMatthias Seidel	Moveable = TRUE ;
32eee503ecSMatthias Seidel	SVLook = TRUE ;
33cdf0e10cSrcweir
34eee503ecSMatthias Seidel	Text [ en-US ] = "Security Warning" ;
35cdf0e10cSrcweir
36cdf0e10cSrcweir	FixedText FI_DOCNAME
37cdf0e10cSrcweir	{
38eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_0 ) ;
39eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, 3*RSC_CD_FIXEDTEXT_HEIGHT ) ;
40eee503ecSMatthias Seidel		Wordbreak = TRUE ;
41*5a730eaaSmseidel		Text = "" ;
42cdf0e10cSrcweir	};
43cdf0e10cSrcweir	FixedText FI_DESCR1A
44cdf0e10cSrcweir	{
45eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
46eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
47eee503ecSMatthias Seidel		Wordbreak = TRUE ;
48eee503ecSMatthias Seidel		Text [ en-US ] = "The document contains document macros signed by:" ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	FixedText FI_DESCR1B
51cdf0e10cSrcweir	{
52eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
53eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
54eee503ecSMatthias Seidel		Wordbreak = TRUE ;
55eee503ecSMatthias Seidel		Text [ en-US ] = "The document contains document macros." ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir	FixedText FI_SIGNS
58cdf0e10cSrcweir	{
59eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_2 );
60eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_2, MW_ROW_3-MW_ROW_2 );
61eee503ecSMatthias Seidel		Wordbreak = TRUE;
62eee503ecSMatthias Seidel		Text [ en-US ] = "" ;
63cdf0e10cSrcweir	};
64cdf0e10cSrcweir	PushButton PB_VIEWSIGNS
65cdf0e10cSrcweir	{
66eee503ecSMatthias Seidel		HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_MACROWARN:PB_VIEWSIGNS" ;
67eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_3, MW_ROW_2 ) ;
68eee503ecSMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
69eee503ecSMatthias Seidel		Text [ en-US ] = "View Signatures..." ;
70cdf0e10cSrcweir	};
71cdf0e10cSrcweir	FixedText FI_DESCR2
72cdf0e10cSrcweir	{
73eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_3 ) ;
74eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
75eee503ecSMatthias Seidel		Wordbreak = TRUE ;
76eee503ecSMatthias Seidel		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." ;
77cdf0e10cSrcweir	};
78cdf0e10cSrcweir	CheckBox CB_ALWAYSTRUST
79cdf0e10cSrcweir	{
80eee503ecSMatthias Seidel		HelpID = "xmlsecurity:CheckBox:RID_XMLSECTP_MACROWARN:CB_ALWAYSTRUST" ;
81eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_4 ) ;
82eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_CHECKBOX_HEIGHT ) ;
83eee503ecSMatthias Seidel		Text [ en-US ] = "Always trust macros from this source" ;
84cdf0e10cSrcweir	};
85eee503ecSMatthias Seidel	FixedLine FL_BOTTOM_SEP
86cdf0e10cSrcweir	{
87eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( 0, DLGS_BOTTOM_FL_Y( MW_HEIGHT ) ) ;
88eee503ecSMatthias Seidel		Size = MAP_APPFONT ( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
89cdf0e10cSrcweir	};
90cdf0e10cSrcweir	PushButton PB_ENABLE
91cdf0e10cSrcweir	{
92eee503ecSMatthias Seidel		HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_MACROWARN:PB_ENABLE" ;
93eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_OK_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
94eee503ecSMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
95eee503ecSMatthias Seidel		Text [ en-US ] = "Enable Macros" ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	CancelButton PB_DISABLE
98cdf0e10cSrcweir	{
99eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
100eee503ecSMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
101eee503ecSMatthias Seidel		Text [ en-US ] = "Disable Macros" ;
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	HelpButton BTN_HELP
104cdf0e10cSrcweir	{
105eee503ecSMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_HELP_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
106eee503ecSMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir};
109cdf0e10cSrcweir
110eee503ecSMatthias Seidel// ********************************************************************** EOF
111