1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#include "dialogs.hrc"
29#include "helpids.hrc"
30
31ModalDialog RID_XMLSECDLG_CERTCHOOSER
32{
33    HelpId = HID_XMLSEC_DLG_CERTCHOOSER;
34	Size = MAP_APPFONT( CS_WIDTH, CS_HEIGHT );
35	OutputSize = TRUE;
36	Closeable = TRUE;
37	Moveable = TRUE;
38	SVLook = TRUE;
39
40	Text [ en-US ] = "Select Certificate";
41
42	FixedText FT_HINT_SELECT
43	{
44        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_0 );
45        Size = MAP_APPFONT( CS_COL_2-CS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
46		Text [ en-US ] = "Select the certificate you want to use for signing";
47	};
48	Control LB_SIGNATURES
49	{
50        HelpId = HID_XMLSEC_CTRL_CHOOSESIGNATURES;
51        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_1 );
52        Size = MAP_APPFONT( CS_LB_WIDTH, CS_ROW_2-CS_ROW_1 );
53		SVLook = TRUE;
54		Border = TRUE;
55	};
56	String STR_HEADERBAR
57	{
58        Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
59	};
60	PushButton BTN_VIEWCERT
61	{
62	    HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_CERTCHOOSER:BTN_VIEWCERT";
63        Pos = MAP_APPFONT( CS_COL_1, CS_ROW_3 );
64        Size = MAP_APPFONT( CS_COL_2-CS_COL_1, RSC_CD_PUSHBUTTON_HEIGHT );
65		Text [ en-US ] = "View Certificate...";
66	};
67    FixedLine FL_BOTTOM_SEP
68	{
69        Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( CS_HEIGHT ) );
70        Size = MAP_APPFONT( CS_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
71	};
72	OKButton BTN_OK
73	{
74		DefButton = TRUE;
75        Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
76		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
77	};
78	CancelButton BTN_CANCEL
79	{
80        Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
81		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
82	};
83	HelpButton BTN_HELP
84	{
85        Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
86		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
87	};
88};
89