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 28#include "dialogs.hrc" 29#include "helpids.hrc" 30#include "digitalsignaturesdialog.hrc" 31 32ModalDialog RID_XMLSECDLG_DIGSIG 33{ 34 HelpId = HID_XMLSEC_DLG_DIGSIG; 35 Size = MAP_APPFONT( 234, 191 ); 36 OutputSize = TRUE; 37 Closeable = TRUE; 38 Moveable = TRUE; 39 SVLook = TRUE; 40 41 Text [ en-US ] = "Digital Signatures"; 42 43 FixedText FT_HINT_DOC 44 { 45 Pos = MAP_APPFONT( 6, 3 ); 46 Size = MAP_APPFONT( 222, 8 ); 47 Hide = TRUE; 48 Text [ en-US ] = "The following have signed the document content:"; 49 }; 50 FixedText FT_HINT_BASIC 51 { 52 Pos = MAP_APPFONT( 6, 3 ); 53 Size = MAP_APPFONT( 222, 8 ); 54 Hide = TRUE; 55 Text [ en-US ] = "The following have signed the document macro:"; 56 }; 57 FixedText FT_HINT_PACK 58 { 59 Pos = MAP_APPFONT( 6, 3 ); 60 Size = MAP_APPFONT( 222, 8 ); 61 Hide = TRUE; 62 Text [ en-US ] = "The following have signed this package:"; 63 }; 64 Control LB_SIGNATURES 65 { 66 HelpId = HID_XMLSEC_CTRL_SIGNATURESDLG; 67 Pos = MAP_APPFONT( 6, 14 ); 68 Size = MAP_APPFONT( 222, 109 ); 69 SVLook = TRUE; 70 Border = TRUE; 71 }; 72 String STR_HEADERBAR 73 { 74 Text [ en-US ] = "\tSigned by\tDigital ID issued by\tDate"; 75 }; 76 String STR_VALID_SIGNATURE 77 { 78 Text [ en-US ] = "Valid signature"; 79 }; 80 String STR_NO_INFO_TO_VERIFY 81 { 82 Text [ en-US ] = "Certificate could not be validated"; 83 }; 84 String STR_INVALID_SIGNATURE 85 { 86 Text [ en-US ] = "The signatures in this document are invalid"; 87 }; 88 89 FixedImage IMG_STATE_VALID 90 { 91 Pos = MAP_APPFONT( 6, 127 ); 92 Size = MAP_APPFONT( 33, 22 ); 93 Fixed = Image 94 { 95 ImageBitmap = Bitmap { File = "signet_11x16.png"; }; 96 MaskColor = STD_MASKCOLOR; 97 }; 98 }; 99 FixedText FI_STATE_VALID 100 { 101 Pos = MAP_APPFONT( 6, 127 ); 102 Size = MAP_APPFONT( 222, 8 ); 103 Hide = TRUE; 104 Text [ en-US ] = "The signatures in this document are valid"; 105 }; 106 FixedText FI_STATE_OLDSIGNATURE 107 { 108 Pos = MAP_APPFONT( 6, 127 ); 109 Size = MAP_APPFONT( 222, 8 ); 110 Hide = TRUE; 111 Text [ en-US ] = "Not all parts of the document are signed"; 112 }; 113 FixedImage IMG_STATE_BROKEN 114 { 115 Pos = MAP_APPFONT( 6, 127 ); 116 Size = MAP_APPFONT( 33, 22 ); 117 Fixed = Image 118 { 119 ImageBitmap = Bitmap { File = "caution_11x16.png"; }; 120 MaskColor = STD_MASKCOLOR; 121 }; 122 }; 123 FixedText FI_STATE_BROKEN 124 { 125 Pos = MAP_APPFONT( 6, 127 ); 126 Size = MAP_APPFONT( 222, 8 ); 127 Hide = TRUE; 128 Text [ en-US ] = "The signatures in this document are invalid"; 129 }; 130 FixedImage IMG_STATE_NOTVALIDATED 131 { 132 Pos = MAP_APPFONT( 6, 127 ); 133 Size = MAP_APPFONT( 33, 22 ); 134 Fixed = Image 135 { 136 ImageBitmap = Bitmap { File = "notcertificate_16.png"; }; 137 MaskColor = STD_MASKCOLOR; 138 }; 139 }; 140 FixedText FI_STATE_NOTVALIDATED 141 { 142 Pos = MAP_APPFONT( 6, 127 ); 143 Size = MAP_APPFONT( 222, 8 ); 144 Hide = TRUE; 145 }; 146 PushButton BTN_VIEWCERT 147 { 148 HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_VIEWCERT"; 149 Pos = MAP_APPFONT( 6, 142 ); 150 Size = MAP_APPFONT( 70, 14 ); 151 Text [ en-US ] = "View Certificate..."; 152 }; 153 PushButton BTN_ADDCERT 154 { 155 HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_ADDCERT"; 156 Pos = MAP_APPFONT( 82, 142 ); 157 Size = MAP_APPFONT( 70, 14 ); 158 Text [ en-US ] = "Sign Document..."; 159 }; 160 PushButton BTN_REMOVECERT 161 { 162 HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_REMOVECERT"; 163 Pos = MAP_APPFONT( 158, 142 ); 164 Size = MAP_APPFONT( 70, 14 ); 165 Text [ en-US ] = "Remove"; 166 }; 167 FixedLine FL_BOTTOM_SEP 168 { 169 Pos = MAP_APPFONT( 0, 160 ); 170 Size = MAP_APPFONT( 234, 8 ); 171 }; 172 OKButton BTN_OK 173 { 174 DefButton = TRUE; 175 Pos = MAP_APPFONT( 178, 171 ); 176 Size = MAP_APPFONT( 50, 14 ); 177 Text [ en-US ] = "Close"; 178 }; 179 HelpButton BTN_HELP 180 { 181 Pos = MAP_APPFONT( 6, 171 ); 182 Size = MAP_APPFONT( 50, 14 ); 183 }; 184 Image IMG_STATE_VALID_HC 185 { 186 ImageBitmap = Bitmap { File = "signet_11x16_h.png"; }; 187 MaskColor = STD_MASKCOLOR; 188 }; 189 Image IMG_STATE_BROKEN_HC 190 { 191 ImageBitmap = Bitmap { File = "caution_11x16_h.png"; }; 192 MaskColor = STD_MASKCOLOR; 193 }; 194 Image IMG_STATE_NOTVALIDATED_HC 195 { 196 ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; }; 197 MaskColor = STD_MASKCOLOR; 198 }; 199}; 200 201 202ErrorBox RID_XMLSECDLG_OLD_ODF_FORMAT 203{ 204 Buttons = WB_OK ; 205 DefButton = WB_DEF_OK ; 206 Message [ en-US ] = 207 "This document contains signatures in ODF 1.1 (OpenOffice.org 2.x) format. " 208 "Signing documents in %PRODUCTNAME %PRODUCTVERSION requires ODF 1.2 format version. " 209 "Thus no signatures can be added or removed to this document.\n\n" 210 "Save document in ODF 1.2 format and add all desired signatures again."; 211}; 212 213 214QueryBox MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN 215{ 216 Buttons = WB_YES_NO ; 217 DefButton = WB_DEF_NO ; 218 Message [ en-US ] = "Adding or removing a macro signature will remove all document signatures.\n" 219 "Do you really want to continue?"; 220}; 221 222 223