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