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