1/************************************************************************* 2* 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26************************************************************************/ 27#define __RSC 28 29 30#ifndef UUI_IDS_HRC 31#include <ids.hrc> 32#endif 33#ifndef UUI_SSLWARN_HRC 34#include <sslwarndlg.hrc> 35#endif 36 37ModalDialog DLG_UUI_SSLWARN 38{ 39 HelpId = HID_DLG_SSLWARN_UUI; 40 Border = TRUE ; 41 Moveable = TRUE ; 42 OutputSize = TRUE ; 43 SVLook = TRUE ; 44 Size = MAP_APPFONT( DLG_WIDTH, DLG_HEIGHT ); 45 46 Text [ en-US ] = "Security Warning: "; 47 48 FixedText FT_LABEL_1 49 { 50 Pos = MAP_APPFONT( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP ); 51 Size = MAP_APPFONT( 195, DLG_TEXT_1_HEIGHT ); 52 53 Text [ en-US ] = "No Text"; 54 55 Border = FALSE; 56 WordBreak = TRUE; 57 }; 58 59 PushButton PB_VIEW__CERTIFICATE 60 { 61 HelpID = "uui:PushButton:DLG_UUI_SSLWARN:PB_VIEW__CERTIFICATE"; 62 Pos = MAP_APPFONT( DLG_CTLBTN_CERT_START_X, DLG_CTLBTN_START_Y ); 63 Size = MAP_APPFONT( DLG_CTLBTN_CERT_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 64 65 Text [ en-US ] = "View Certificate"; 66 67 }; 68 69 CancelButton PB_CANCEL 70 { 71 Pos = MAP_APPFONT( DLG_CTLBTN_CANCEL_START_X, DLG_CTLBTN_START_Y ); 72 Size = MAP_APPFONT( DLG_CTLBTN_CANCEL_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 73 74 Text [ en-US ] = "Cancel Connection"; 75 76 }; 77 78 PushButton PB_OK 79 { 80 HelpID = "uui:PushButton:DLG_UUI_SSLWARN:PB_OK"; 81 Pos = MAP_APPFONT( DLG_CTLBTN_OK_START_X, DLG_CTLBTN_START_Y ); 82 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 83 84 Text [ en-US ] = "Continue"; 85 86 }; 87 88 FixedImage IMG_WARN 89 { 90 Pos = MAP_APPFONT( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ); 91 Size = MAP_APPFONT( DLG_WARMIMG_WIDTH , DLG_WARMIMG_HEIGHT ); 92 93 Fixed = Image 94 { 95 /* ImageBitmap = Bitmap { File = "certificate_40x56.png"; }; */ 96 MaskColor = Color{Red=0xffff;Green=0x0000;Blue=0xffff;}; 97 }; 98 99 }; 100 101 FixedLine FL_LINE 102 { 103 Pos = MAP_APPFONT( 0, DLG_CTLBTN_START_Y - RSC_SP_FLGR_INNERBORDER_TOP - RSC_CD_FIXEDLINE_HEIGHT ); 104 Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 105 }; 106}; 107 108