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