1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #include "dialogs.hrc"
29 #include "helpids.hrc"
30 #include "digitalsignaturesdialog.hrc"
32 ModalDialog RID_XMLSECDLG_DIGSIG
34 HelpId = HID_XMLSEC_DLG_DIGSIG;
35 Size = MAP_APPFONT( 234, 191 );
41 Text [ en-US ] = "Digital Signatures";
45 Pos = MAP_APPFONT( 6, 3 );
46 Size = MAP_APPFONT( 222, 8 );
48 Text [ en-US ] = "The following have signed the document content:";
50 FixedText FT_HINT_BASIC
52 Pos = MAP_APPFONT( 6, 3 );
53 Size = MAP_APPFONT( 222, 8 );
55 Text [ en-US ] = "The following have signed the document macro:";
57 FixedText FT_HINT_PACK
59 Pos = MAP_APPFONT( 6, 3 );
60 Size = MAP_APPFONT( 222, 8 );
62 Text [ en-US ] = "The following have signed this package:";
66 HelpId = HID_XMLSEC_CTRL_SIGNATURESDLG;
67 Pos = MAP_APPFONT( 6, 14 );
68 Size = MAP_APPFONT( 222, 109 );
74 Text [ en-US ] = "\tSigned by\tDigital ID issued by\tDate";
76 String STR_VALID_SIGNATURE
78 Text [ en-US ] = "Valid signature";
80 String STR_NO_INFO_TO_VERIFY
82 Text [ en-US ] = "Certificate could not be validated";
84 String STR_INVALID_SIGNATURE
86 Text [ en-US ] = "The signatures in this document are invalid";
89 FixedImage IMG_STATE_VALID
91 Pos = MAP_APPFONT( 6, 127 );
92 Size = MAP_APPFONT( 33, 22 );
95 ImageBitmap = Bitmap { File = "signet_11x16.png"; };
96 MaskColor = STD_MASKCOLOR;
99 FixedText FI_STATE_VALID
101 Pos = MAP_APPFONT( 6, 127 );
102 Size = MAP_APPFONT( 222, 8 );
104 Text [ en-US ] = "The signatures in this document are valid";
106 FixedText FI_STATE_OLDSIGNATURE
108 Pos = MAP_APPFONT( 6, 127 );
109 Size = MAP_APPFONT( 222, 8 );
111 Text [ en-US ] = "Not all parts of the document are signed";
113 FixedImage IMG_STATE_BROKEN
115 Pos = MAP_APPFONT( 6, 127 );
116 Size = MAP_APPFONT( 33, 22 );
119 ImageBitmap = Bitmap { File = "caution_11x16.png"; };
120 MaskColor = STD_MASKCOLOR;
123 FixedText FI_STATE_BROKEN
125 Pos = MAP_APPFONT( 6, 127 );
126 Size = MAP_APPFONT( 222, 8 );
128 Text [ en-US ] = "The signatures in this document are invalid";
130 FixedImage IMG_STATE_NOTVALIDATED
132 Pos = MAP_APPFONT( 6, 127 );
133 Size = MAP_APPFONT( 33, 22 );
136 ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
137 MaskColor = STD_MASKCOLOR;
140 FixedText FI_STATE_NOTVALIDATED
142 Pos = MAP_APPFONT( 6, 127 );
143 Size = MAP_APPFONT( 222, 8 );
146 PushButton BTN_VIEWCERT
148 Pos = MAP_APPFONT( 6, 142 );
149 Size = MAP_APPFONT( 70, 14 );
150 Text [ en-US ] = "View Certificate...";
152 PushButton BTN_ADDCERT
154 Pos = MAP_APPFONT( 82, 142 );
155 Size = MAP_APPFONT( 70, 14 );
156 Text [ en-US ] = "Sign Document...";
158 PushButton BTN_REMOVECERT
160 Pos = MAP_APPFONT( 158, 142 );
161 Size = MAP_APPFONT( 70, 14 );
162 Text [ en-US ] = "Remove";
164 FixedLine FL_BOTTOM_SEP
166 Pos = MAP_APPFONT( 0, 160 );
167 Size = MAP_APPFONT( 234, 8 );
172 Pos = MAP_APPFONT( 178, 171 );
173 Size = MAP_APPFONT( 50, 14 );
174 Text [ en-US ] = "Close";
178 Pos = MAP_APPFONT( 6, 171 );
179 Size = MAP_APPFONT( 50, 14 );
181 Image IMG_STATE_VALID_HC
183 ImageBitmap = Bitmap { File = "signet_11x16_h.png"; };
184 MaskColor = STD_MASKCOLOR;
186 Image IMG_STATE_BROKEN_HC
188 ImageBitmap = Bitmap { File = "caution_11x16_h.png"; };
189 MaskColor = STD_MASKCOLOR;
191 Image IMG_STATE_NOTVALIDATED_HC
193 ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; };
194 MaskColor = STD_MASKCOLOR;
199 ErrorBox RID_XMLSECDLG_OLD_ODF_FORMAT
202 DefButton = WB_DEF_OK ;
204 "This document contains signatures in ODF 1.1 (OpenOffice.org 2.x) format. "
205 "Signing documents in %PRODUCTNAME %PRODUCTVERSION requires ODF 1.2 format version. "
206 "Thus no signatures can be added or removed to this document.\n\n"
207 "Save document in ODF 1.2 format and add all desired signatures again.";
211 QueryBox MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN
213 Buttons = WB_YES_NO ;
214 DefButton = WB_DEF_NO ;
215 Message [ en-US ] = "Adding or removing a macro signature will remove all document signatures.\n"
216 "Do you really want to continue?";