1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "dialogs.hrc"
25#include "helpids.hrc"
26#include "digitalsignaturesdialog.hrc"
27
28ModalDialog RID_XMLSECDLG_DIGSIG
29{
30	HelpId = HID_XMLSEC_DLG_DIGSIG ;
31	Size = MAP_APPFONT ( 249, 191 ) ;
32	OutputSize = TRUE ;
33	Closeable = TRUE ;
34	Moveable = TRUE ;
35	SVLook = TRUE ;
36
37	Text [ en-US ] = "Digital Signatures" ;
38
39	FixedText FT_HINT_DOC
40	{
41		Pos = MAP_APPFONT ( 6, 3 ) ;
42		Size = MAP_APPFONT ( 222, 8 ) ;
43		Hide = TRUE ;
44		Text [ en-US ] = "The following have signed the document content:" ;
45	};
46	FixedText FT_HINT_BASIC
47	{
48		Pos = MAP_APPFONT ( 6, 3 ) ;
49		Size = MAP_APPFONT ( 222, 8 ) ;
50		Hide = TRUE ;
51		Text [ en-US ] = "The following have signed the document macro:" ;
52	};
53	FixedText FT_HINT_PACK
54	{
55		Pos = MAP_APPFONT ( 6, 3 ) ;
56		Size = MAP_APPFONT ( 222, 8 ) ;
57		Hide = TRUE ;
58		Text [ en-US ] = "The following have signed this package:" ;
59	};
60	Control LB_SIGNATURES
61	{
62		HelpId = HID_XMLSEC_CTRL_SIGNATURESDLG ;
63		Pos = MAP_APPFONT ( 6, 14 ) ;
64		Size = MAP_APPFONT ( 237, 109 ) ;
65		SVLook = TRUE ;
66		Border = TRUE ;
67	};
68	String STR_HEADERBAR
69	{
70		Text [ en-US ] = "\tSigned by\tDigital ID issued by\tDate" ;
71	};
72	String STR_VALID_SIGNATURE
73	{
74		Text [ en-US ] = "Valid signature" ;
75	};
76	String STR_NO_INFO_TO_VERIFY
77	{
78		Text [ en-US ] = "Certificate could not be validated" ;
79	};
80	String STR_INVALID_SIGNATURE
81	{
82		Text [ en-US ] = "The signatures in this document are invalid" ;
83	};
84
85	FixedImage IMG_STATE_VALID
86	{
87		Pos = MAP_APPFONT ( 6, 127 ) ;
88		Size = MAP_APPFONT ( 33, 22 ) ;
89		Fixed = Image
90		{
91			ImageBitmap = Bitmap { File = "signet_11x16.png"; } ;
92		};
93	};
94	FixedText FI_STATE_VALID
95	{
96		Pos = MAP_APPFONT ( 6, 127 ) ;
97		Size = MAP_APPFONT ( 222, 8 ) ;
98		Hide = TRUE ;
99		Text [ en-US ] = "The signatures in this document are valid" ;
100	};
101	FixedText FI_STATE_OLDSIGNATURE
102	{
103		Pos = MAP_APPFONT ( 6, 127 ) ;
104		Size = MAP_APPFONT ( 222, 8 ) ;
105		Hide = TRUE ;
106		Text [ en-US ] = "Not all parts of the document are signed" ;
107	};
108	FixedImage IMG_STATE_BROKEN
109	{
110		Pos = MAP_APPFONT ( 6, 127 ) ;
111		Size = MAP_APPFONT ( 33, 22 ) ;
112		Fixed = Image
113		{
114			ImageBitmap = Bitmap { File = "caution_11x16.png"; } ;
115		};
116	};
117	FixedText FI_STATE_BROKEN
118	{
119		Pos = MAP_APPFONT ( 6, 127 ) ;
120		Size = MAP_APPFONT ( 222, 8 ) ;
121		Hide = TRUE ;
122		Text [ en-US ] = "The signatures in this document are invalid" ;
123	};
124	FixedImage IMG_STATE_NOTVALIDATED
125	{
126		Pos = MAP_APPFONT ( 6, 127 ) ;
127		Size = MAP_APPFONT ( 33, 22 ) ;
128		Fixed = Image
129		{
130			ImageBitmap = Bitmap { File = "notcertificate_16.png"; } ;
131		};
132	};
133	FixedText FI_STATE_NOTVALIDATED
134	{
135		Pos = MAP_APPFONT ( 6, 127 ) ;
136		Size = MAP_APPFONT ( 222, 8 ) ;
137		Hide = TRUE ;
138	};
139	PushButton BTN_VIEWCERT
140	{
141		HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_VIEWCERT" ;
142		Pos = MAP_APPFONT ( 6, 142 ) ;
143		Size = MAP_APPFONT ( 75, 14 ) ;
144		Text [ en-US ] = "View Certificate..." ;
145	};
146	PushButton BTN_ADDCERT
147	{
148		HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_ADDCERT" ;
149		Pos = MAP_APPFONT ( 87, 142 ) ;
150		Size = MAP_APPFONT ( 75, 14 ) ;
151		Text [ en-US ] = "Sign Document..." ;
152	};
153	PushButton BTN_REMOVECERT
154	{
155		HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_DIGSIG:BTN_REMOVECERT" ;
156		Pos = MAP_APPFONT ( 168, 142 ) ;
157		Size = MAP_APPFONT ( 75, 14 ) ;
158		Text [ en-US ] = "Remove" ;
159	};
160	FixedLine FL_BOTTOM_SEP
161	{
162		Pos = MAP_APPFONT ( 0, 160 ) ;
163		Size = MAP_APPFONT ( 249, 8 ) ;
164	};
165	OKButton BTN_OK
166	{
167		DefButton = TRUE;
168		Pos = MAP_APPFONT ( 193, 171 ) ;
169		Size = MAP_APPFONT ( 50, 14 ) ;
170		Text [ en-US ] = "Close" ;
171	};
172	HelpButton BTN_HELP
173	{
174		Pos = MAP_APPFONT ( 6, 171 ) ;
175		Size = MAP_APPFONT ( 50, 14 ) ;
176	};
177	Image IMG_STATE_VALID_HC
178	{
179		ImageBitmap = Bitmap { File = "signet_11x16_h.png"; } ;
180	};
181	Image IMG_STATE_BROKEN_HC
182	{
183		ImageBitmap = Bitmap { File = "caution_11x16_h.png"; } ;
184	};
185	Image IMG_STATE_NOTVALIDATED_HC
186	{
187		ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; } ;
188	};
189};
190
191
192ErrorBox RID_XMLSECDLG_OLD_ODF_FORMAT
193{
194	Buttons = WB_OK ;
195	DefButton = WB_DEF_OK ;
196	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." ;
197};
198
199
200QueryBox MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN
201{
202	Buttons = WB_YES_NO ;
203	DefButton = WB_DEF_NO ;
204	Message [ en-US ] = "Adding or removing a macro signature will remove all document signatures.\nDo you really want to continue?" ;
205};
206
207// ********************************************************************** EOF
208
209