1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: digitalsignaturesdialog.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "dialogs.hrc"
32 #include "helpids.hrc"
34 ModalDialog RID_XMLSECDLG_DIGSIG
36 HelpId = HID_XMLSEC_DLG_DIGSIG;
37 Size = MAP_APPFONT( DS_WIDTH, DS_HEIGHT );
43 Text [ en-US ] = "Digital Signatures";
47 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_0 );
48 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
50 Text [ en-US ] = "The following have signed the document content:";
52 FixedText FT_HINT_BASIC
54 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_0 );
55 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
57 Text [ en-US ] = "The following have signed the document macro:";
59 FixedText FT_HINT_PACK
61 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_0 );
62 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
64 Text [ en-US ] = "The following have signed this package:";
68 HelpId = HID_XMLSEC_CTRL_SIGNATURESDLG;
69 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_1 );
70 Size = MAP_APPFONT( DS_LB_WIDTH, DS_ROW_2-DS_ROW_1 );
76 Text [ en-US ] = "\tSigned by\tDigital ID issued by\tDate";
78 String STR_VALID_SIGNATURE
80 Text [ en-US ] = "Valid signature";
82 String STR_NO_INFO_TO_VERIFY
84 Text [ en-US ] = "Certificate could not be validated";
86 String STR_INVALID_SIGNATURE
88 Text [ en-US ] = "The signatures in this document are invalid";
90 FixedImage IMG_STATE_VALID
92 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
93 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
96 ImageBitmap = Bitmap { File = "signet_11x16.png"; };
97 MaskColor = STD_MASKCOLOR;
100 FixedText FI_STATE_VALID
102 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
103 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
105 Text [ en-US ] = "The signatures in this document are valid";
107 FixedImage IMG_STATE_BROKEN
109 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
110 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
113 ImageBitmap = Bitmap { File = "caution_11x16.png"; };
114 MaskColor = STD_MASKCOLOR;
117 FixedText FI_STATE_BROKEN
119 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
120 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
122 Text [ en-US ] = "The signatures in this document are invalid";
124 FixedImage IMG_STATE_NOTVALIDATED
126 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
127 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
130 ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
131 MaskColor = STD_MASKCOLOR;
134 FixedText FI_STATE_NOTVALIDATED
136 Pos = MAP_APPFONT( DS_COL_0, DS_ROW_2A );
137 Size = MAP_APPFONT( DS_COL_7-DS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
140 PushButton BTN_VIEWCERT
142 Pos = MAP_APPFONT( DS_COL_1, DS_ROW_3 );
143 Size = MAP_APPFONT( DS_COL_2-DS_COL_1, RSC_CD_PUSHBUTTON_HEIGHT );
144 Text [ en-US ] = "View Certificate...";
146 PushButton BTN_ADDCERT
148 Pos = MAP_APPFONT( DS_COL_3, DS_ROW_3 );
149 Size = MAP_APPFONT( DS_COL_4-DS_COL_3, RSC_CD_PUSHBUTTON_HEIGHT );
150 Text [ en-US ] = "Add...";
152 PushButton BTN_REMOVECERT
154 Pos = MAP_APPFONT( DS_COL_5, DS_ROW_3 );
155 Size = MAP_APPFONT( DS_COL_6-DS_COL_5, RSC_CD_PUSHBUTTON_HEIGHT );
156 Text [ en-US ] = "Remove";
158 FixedLine FL_BOTTOM_SEP
160 Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( DS_HEIGHT ) );
161 Size = MAP_APPFONT( DS_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
166 Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( DS_WIDTH ), DLGS_BOTTOM_BTN_Y( DS_HEIGHT ) );
167 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
169 CancelButton BTN_CANCEL
171 Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( DS_WIDTH ), DLGS_BOTTOM_BTN_Y( DS_HEIGHT ) );
172 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
176 Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( DS_WIDTH ), DLGS_BOTTOM_BTN_Y( DS_HEIGHT ) );
177 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
179 Image IMG_STATE_VALID_HC
181 ImageBitmap = Bitmap { File = "signet_11x16_h.png"; };
182 MaskColor = STD_MASKCOLOR;
184 Image IMG_STATE_BROKEN_HC
186 ImageBitmap = Bitmap { File = "caution_11x16_h.png"; };
187 MaskColor = STD_MASKCOLOR;
189 Image IMG_STATE_NOTVALIDATED_HC
191 ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; };
192 MaskColor = STD_MASKCOLOR;
197 ErrorBox RID_XMLSECDLG_OLD_ODF_FORMAT
200 DefButton = WB_DEF_OK ;
202 "This document contains signatures in ODF 1.1 (OpenOffice.org 2.x) format. "
203 "Signing documents in %PRODUCTNAME %PRODUCTVERSION requires ODF 1.2 format version. "
204 "Thus no signatures can be added or removed to this document.\n\n"
205 "Save document in ODF 1.2 format and add all desired signatures again.";