13cbdc576SAndrew Rist/**************************************************************
2ab088861SMatthias 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
10ab088861SMatthias Seidel *
113cbdc576SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12ab088861SMatthias 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.
19ab088861SMatthias Seidel *
203cbdc576SAndrew Rist *************************************************************/
213cbdc576SAndrew Rist
22cdf0e10cSrcweir#include "dialogs.hrc"
23cdf0e10cSrcweir#include "helpids.hrc"
24cdf0e10cSrcweir
25cdf0e10cSrcweirModalDialog RID_XMLSECTP_MACROWARN
26cdf0e10cSrcweir{
27ab088861SMatthias Seidel	HelpId = HID_XMLSEC_TP_MACROWARN ;
28ab088861SMatthias Seidel	Size = MAP_APPFONT ( MW_WIDTH, MW_HEIGHT ) ;
29ab088861SMatthias Seidel	OutputSize = TRUE ;
30ab088861SMatthias Seidel	Closeable = TRUE ;
31ab088861SMatthias Seidel	Moveable = TRUE ;
32ab088861SMatthias Seidel	SVLook = TRUE ;
33cdf0e10cSrcweir
34ab088861SMatthias Seidel	Text [ en-US ] = "Security Warning" ;
35cdf0e10cSrcweir
36cdf0e10cSrcweir	FixedText FI_DOCNAME
37cdf0e10cSrcweir	{
38ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_0 ) ;
39ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, 3*RSC_CD_FIXEDTEXT_HEIGHT ) ;
40ab088861SMatthias Seidel		Wordbreak = TRUE ;
41*1bf1af82Smseidel		Text = "" ;
42cdf0e10cSrcweir	};
43cdf0e10cSrcweir	FixedText FI_DESCR1A
44cdf0e10cSrcweir	{
45ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
46ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
47ab088861SMatthias Seidel		Wordbreak = TRUE ;
48ab088861SMatthias Seidel		Text [ en-US ] = "The document contains document macros signed by:" ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	FixedText FI_DESCR1B
51cdf0e10cSrcweir	{
52ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_1 ) ;
53ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
54ab088861SMatthias Seidel		Wordbreak = TRUE ;
55ab088861SMatthias Seidel		Text [ en-US ] = "The document contains document macros." ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir	FixedText FI_SIGNS
58cdf0e10cSrcweir	{
59ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_2 );
60ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_2, MW_ROW_3-MW_ROW_2 );
61ab088861SMatthias Seidel		Wordbreak = TRUE;
62ab088861SMatthias Seidel		Text [ en-US ] = "" ;
63cdf0e10cSrcweir	};
64cdf0e10cSrcweir	PushButton PB_VIEWSIGNS
65cdf0e10cSrcweir	{
66ab088861SMatthias Seidel		HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_MACROWARN:PB_VIEWSIGNS" ;
67ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_3, MW_ROW_2 ) ;
68ab088861SMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
69ab088861SMatthias Seidel		Text [ en-US ] = "View Signatures..." ;
70cdf0e10cSrcweir	};
71cdf0e10cSrcweir	FixedText FI_DESCR2
72cdf0e10cSrcweir	{
73ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_3 ) ;
74ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_FIXEDTEXT_HEIGHT ) ;
75ab088861SMatthias Seidel		Wordbreak = TRUE ;
76ab088861SMatthias 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	{
80ab088861SMatthias Seidel		HelpID = "xmlsecurity:CheckBox:RID_XMLSECTP_MACROWARN:CB_ALWAYSTRUST" ;
81ab088861SMatthias Seidel		Pos = MAP_APPFONT ( MW_COL_1, MW_ROW_4 ) ;
82ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_COL_4-MW_COL_1, RSC_CD_CHECKBOX_HEIGHT ) ;
83ab088861SMatthias Seidel		Text [ en-US ] = "Always trust macros from this source" ;
84cdf0e10cSrcweir	};
85ab088861SMatthias Seidel	FixedLine FL_BOTTOM_SEP
86cdf0e10cSrcweir	{
87ab088861SMatthias Seidel		Pos = MAP_APPFONT ( 0, DLGS_BOTTOM_FL_Y( MW_HEIGHT ) ) ;
88ab088861SMatthias Seidel		Size = MAP_APPFONT ( MW_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
89cdf0e10cSrcweir	};
90cdf0e10cSrcweir	PushButton PB_ENABLE
91cdf0e10cSrcweir	{
92ab088861SMatthias Seidel		HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_MACROWARN:PB_ENABLE" ;
93ab088861SMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_OK_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
94ab088861SMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
95ab088861SMatthias Seidel		Text [ en-US ] = "Enable Macros" ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	CancelButton PB_DISABLE
98cdf0e10cSrcweir	{
99ab088861SMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_CANCEL_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
100ab088861SMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
101ab088861SMatthias Seidel		Text [ en-US ] = "Disable Macros" ;
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	HelpButton BTN_HELP
104cdf0e10cSrcweir	{
105ab088861SMatthias Seidel		Pos = MAP_APPFONT ( DLGS_BOTTOM_HELP_X( MW_WIDTH ), DLGS_BOTTOM_BTN_Y( MW_HEIGHT ) ) ;
106ab088861SMatthias Seidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir};
109cdf0e10cSrcweir
110ab088861SMatthias Seidel// ********************************************************************** EOF
111