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