/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 *************************************************************/



#include "retypepassdlg.hrc"


ModalDialog RID_SCDLG_RETYPEPASS
{
    HelpID = "sc:ModalDialog:RID_SCDLG_RETYPEPASS";
    Text [ en-US ] = "Re-type Password" ;
    Size = MAP_APPFONT ( 260 , 165 ) ;
    Moveable = TRUE ;
    Closeable = TRUE ;

    OKButton BTN_OK
    {
        Pos = MAP_APPFONT ( 204, 6 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
        DefButton = TRUE ;
    };

    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 204, 23 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
    };

    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT ( 204, 43 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
    };

    FixedText FT_DESC
    {
        Pos = MAP_APPFONT ( 6, 6 ) ;
        Size = MAP_APPFONT ( 190, 36 );

        WordBreak = TRUE ;

        Text [ en-US ] = "The document you are about to export has one or more protected items with password that cannot be exported.  Please re-type your password to be able to export your document." ;
    };

    FixedLine FL_DOCUMENT
    {
        Pos = MAP_APPFONT ( 6, 48 );
        Size = MAP_APPFONT ( 190, 8 );

        Text [ en-US ] = "Document protection" ;
    };

    FixedText FT_DOCSTATUS
    {
        Pos = MAP_APPFONT ( 10, 62 );
        Size = MAP_APPFONT ( 140, 8 );

        Text [ en-US ] = "Status unknown" ;
    };

    PushButton BTN_RETYPE_DOC
    {
        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_DOC";
        Pos = MAP_APPFONT ( 158, 59 );
        Size = MAP_APPFONT ( 30, 14 );

        Text [ en-US ] = "Re-type" ;
    };

    FixedLine FL_SHEET
    {
        Pos = MAP_APPFONT ( 6, 83 );
        Size = MAP_APPFONT ( 190, 8 );

        Text [ en-US ] = "Sheet protection" ;
    };

    FixedText FT_SHEETNAME1
    {
        Pos = MAP_APPFONT ( 10, 97 );
        Size = MAP_APPFONT ( 68, 8 );

        Text [ en-US ] = "Sheet1 has a really long name" ;
    };

    FixedText FT_SHEETSTATUS1
    {
        Pos = MAP_APPFONT ( 82, 97 );
        Size = MAP_APPFONT ( 72, 8 );

        Text [ en-US ] = "Status unknown" ;
    };

    PushButton BTN_RETYPE_SHEET1
    {
        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET1";
        Pos = MAP_APPFONT ( 158, 94 );
        Size = MAP_APPFONT ( 30, 14 );

        Text [ en-US ] = "Re-type" ;
    };

    FixedText FT_SHEETNAME2
    {
        Pos = MAP_APPFONT ( 10, 113 );
        Size = MAP_APPFONT ( 68, 8 );

        Text [ en-US ] = "Sheet2" ;
    };

    FixedText FT_SHEETSTATUS2
    {
        Pos = MAP_APPFONT ( 82, 113 );
        Size = MAP_APPFONT ( 72, 8 );

        Text [ en-US ] = "Status unknown" ;
    };

    PushButton BTN_RETYPE_SHEET2
    {
        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET2";
        Pos = MAP_APPFONT ( 158, 110 );
        Size = MAP_APPFONT ( 30, 14 );

        Text [ en-US ] = "Re-type" ;
    };

    FixedText FT_SHEETNAME3
    {
        Pos = MAP_APPFONT ( 10, 129 );
        Size = MAP_APPFONT ( 68, 8 );

        Text [ en-US ] = "Sheet3" ;
    };

    FixedText FT_SHEETSTATUS3
    {
        Pos = MAP_APPFONT ( 82, 129 );
        Size = MAP_APPFONT ( 72, 8 );

        Text [ en-US ] = "Status unknown" ;
    };

    PushButton BTN_RETYPE_SHEET3
    {
        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET3";
        Pos = MAP_APPFONT ( 158, 126 );
        Size = MAP_APPFONT ( 30, 14 );

        Text [ en-US ] = "Re-type" ;
    };

    FixedText FT_SHEETNAME4
    {
        Pos = MAP_APPFONT ( 10, 145 );
        Size = MAP_APPFONT ( 68, 8 );

        Text [ en-US ] = "Sheet4" ;
    };

    FixedText FT_SHEETSTATUS4
    {
        Pos = MAP_APPFONT ( 82, 145 );
        Size = MAP_APPFONT ( 72, 8 );

        Text [ en-US ] = "Status unknown" ;
    };

    PushButton BTN_RETYPE_SHEET4
    {
        HelpID = "sc:PushButton:RID_SCDLG_RETYPEPASS:BTN_RETYPE_SHEET4";
        Pos = MAP_APPFONT ( 158, 142 );
        Size = MAP_APPFONT ( 30, 14 );

        Text [ en-US ] = "Re-type" ;
    };

    ScrollBar SB_SCROLL
    {
        Pos = MAP_APPFONT ( 190, 94 ) ;
        Size = MAP_APPFONT (  8, 61 ) ;
        VScroll = TRUE ;
    };

    String STR_NOT_PROTECTED
    {
        Text [ en-US ] = "Not protected" ;
    };

    String STR_NOT_PASS_PROTECTED
    {
        Text [ en-US ] = "Not password-protected" ;
    };

    String STR_HASH_BAD
    {
        Text [ en-US ] = "Hash incompatible" ;
    };

    String STR_HASH_GOOD
    {
        Text [ en-US ] = "Hash compatible" ;
    };

    String STR_HASH_REGENERATED
    {
        Text [ en-US ] = "Hash re-generated" ;
    };
};

// ----------------------------------------------------------------------------

ModalDialog RID_SCDLG_RETYPEPASS_INPUT
{
    HelpID = "sc:ModalDialog:RID_SCDLG_RETYPEPASS_INPUT";
    Text [ en-US ] = "Re-type Password" ;
    Size = MAP_APPFONT ( 230 , 110 ) ;
    Moveable = TRUE ;
    Closeable = TRUE ;

    OKButton BTN_OK
    {
        Pos = MAP_APPFONT ( 174, 6 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
        DefButton = TRUE ;
    };

    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 174, 23 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
    };

    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT ( 174, 43 ) ;
        Size = MAP_APPFONT ( 50, 14 ) ;
    };

    RadioButton BTN_RETYPE_PASSWORD
    {
        HelpID = "sc:RadioButton:RID_SCDLG_RETYPEPASS_INPUT:BTN_RETYPE_PASSWORD";
        Pos = MAP_APPFONT ( 11, 10 );
        Size = MAP_APPFONT ( 150, 10 );

        Text [ en-US ] = "Re-type password" ;
    };

    FixedText FT_PASSWORD1
    {
        Pos = MAP_APPFONT ( 20, 30 );
        Size = MAP_APPFONT ( 42, 10 );

        Text [ en-US ] = "~Password" ;
    };

    Edit ED_PASSWORD1
    {
        HelpID = "sc:Edit:RID_SCDLG_RETYPEPASS_INPUT:ED_PASSWORD1";
        Border = TRUE;
        PassWord = TRUE;
        Pos = MAP_APPFONT ( 65, 29 );
        Size = MAP_APPFONT ( 75, 12 );
    };

    FixedText FT_PASSWORD2
    {
        Pos = MAP_APPFONT ( 20, 45 );
        Size = MAP_APPFONT ( 42, 10 );

        Text [ en-US ] = "~Confirm" ;
    };

    Edit ED_PASSWORD2
    {
        HelpID = "sc:Edit:RID_SCDLG_RETYPEPASS_INPUT:ED_PASSWORD2";
        Border = TRUE;
        PassWord = TRUE;
        Pos = MAP_APPFONT ( 65, 44 );
        Size = MAP_APPFONT ( 75, 12 );
    };

    CheckBox BTN_MATCH_OLD_PASSWORD
    {
        HelpID = "sc:CheckBox:RID_SCDLG_RETYPEPASS_INPUT:BTN_MATCH_OLD_PASSWORD";
        Pos = MAP_APPFONT ( 20, 65 );
        Size = MAP_APPFONT ( 150, 10 );

        Text [ en-US ] = "New password must match the original password." ;
    };

    RadioButton BTN_REMOVE_PASSWORD
    {
        HelpID = "sc:RadioButton:RID_SCDLG_RETYPEPASS_INPUT:BTN_REMOVE_PASSWORD";
        Pos = MAP_APPFONT ( 11, 90 );
        Size = MAP_APPFONT ( 150, 10 );

        Text [ en-US ] = "Remove password from this protected item." ;
    };
};


