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