/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include "dialogs.hrc"
#include "helpids.hrc"

ModalDialog RID_XMLSECDLG_CERTCHOOSER
{
    HelpId = HID_XMLSEC_DLG_CERTCHOOSER;
    Size = MAP_APPFONT( CS_WIDTH, CS_HEIGHT );
    OutputSize = TRUE;
    Closeable = TRUE;
    Moveable = TRUE;
    SVLook = TRUE;

    Text [ en-US ] = "Select Certificate";

    FixedText FT_HINT_SELECT
    {
        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_0 );
        Size = MAP_APPFONT( CS_COL_2-CS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
        Text [ en-US ] = "Select the certificate you want to use for signing";
    };
    Control LB_SIGNATURES
    {
        HelpId = HID_XMLSEC_CTRL_CHOOSESIGNATURES;
        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_1 );
        Size = MAP_APPFONT( CS_LB_WIDTH, CS_ROW_2-CS_ROW_1 );
        SVLook = TRUE;
        Border = TRUE;
    };
    String STR_HEADERBAR
    {
        Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
    };
    PushButton BTN_VIEWCERT
    {
        HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_CERTCHOOSER:BTN_VIEWCERT";
        Pos = MAP_APPFONT( CS_COL_1, CS_ROW_3 );
        Size = MAP_APPFONT( CS_COL_2-CS_COL_1, RSC_CD_PUSHBUTTON_HEIGHT );
        Text [ en-US ] = "View Certificate...";
    };
    FixedLine FL_BOTTOM_SEP
    {
        Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( CS_HEIGHT ) );
        Size = MAP_APPFONT( CS_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
    };
    OKButton BTN_OK
    {
        DefButton = TRUE;
        Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
    };
    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
    };
    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
    };
};
