/*************************************************************************
 *
 * 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 <cuires.hrc>
#include "helpid.hrc"

#ifndef SVX_HANGUL_HANJA_DLG_HRC
#include "hangulhanjadlg.hrc"
#endif

ModalDialog RID_SVX_MDLG_HANGULHANJA
{
	HelpId = HID_DIALOG_HANGULHANJA;
    Size = MAP_APPFONT( 302, 175 );
	OutputSize = TRUE;
	Closeable = TRUE ;
	Moveable = TRUE ;
	SVLook = TRUE;

	Text [ en-US ] = "Hangul/Hanja Conversion";

	PushButton PB_FIND
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA:PB_FIND";
        Pos = MAP_APPFONT( 207, 23 );
		Size = MAP_APPFONT( 30, 14 );

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

	Control CTL_SUGGESTIONS
	{
		Pos = MAP_APPFONT( 51, 46 );
        Size = MAP_APPFONT( 186, 30 );
		TabStop = TRUE ;
	};

	FixedText FT_FORMAT
	{
		Pos = MAP_APPFONT( 6, 81 );
		Size = MAP_APPFONT( 42, 8 );

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

	RadioButton RB_SIMPLE_CONVERSION
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_SIMPLE_CONVERSION";
		Pos = MAP_APPFONT( 51, 81 );
        Size = MAP_APPFONT( 60, 8 );

		Group = TRUE;

		Text [ en-US ] = "~Hangul/Hanja";
	};

	RadioButton RB_HANJA_HANGUL_BRACKETED
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_BRACKETED";
        Pos = MAP_APPFONT( 114, 81 );
        Size = MAP_APPFONT( 60, 8 );

		Text [ en-US ] = "Hanja (Han~gul)";
	};

	RadioButton RB_HANGUL_HANJA_BRACKETED
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_BRACKETED";
        Pos = MAP_APPFONT( 177, 81 );
        Size = MAP_APPFONT( 60, 8 );

		Text [ en-US ] = "Hang~ul (Hanja)";
	};

	RadioButton RB_HANGUL_HANJA_ABOVE
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_ABOVE";
		Pos = MAP_APPFONT( 51, 95 );
        Size = MAP_APPFONT( 60, 16 );

		// this is the _primary_ text
		Text [ en-US ] = "Hangu~l";
	};

	RadioButton RB_HANGUL_HANJA_BELOW
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_BELOW";
        Pos = MAP_APPFONT( 114, 95 );
        Size = MAP_APPFONT( 60, 16 );

		// this is the _primary_ text
		Text [ en-US ] = "Hang~ul";
	};

	RadioButton RB_HANJA_HANGUL_ABOVE
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_ABOVE";
        Pos = MAP_APPFONT( 56, 114 );
        Size = MAP_APPFONT( 60, 16 );

		// this is the _primary_ text
		Text [ en-US ] = "Han~ja";
	};

	RadioButton RB_HANJA_HANGUL_BELOW
	{
	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_BELOW";
        Pos = MAP_APPFONT( 114, 114 );
        Size = MAP_APPFONT( 60, 16 );

		// this is the _primary_ text
		Text [ en-US ] = "Ha~nja";
	};

	FixedText FT_CONVERSION
	{
		Pos = MAP_APPFONT( 6, 134 );
		Size = MAP_APPFONT( 42, 8 );

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

	CheckBox CB_HANGUL_ONLY
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_HANGUL_ONLY";
		Pos = MAP_APPFONT( 51, 134 );
        Size = MAP_APPFONT( 60, 8 );

		Text [ en-US ] = "Hangul ~only";
	};

	CheckBox CB_HANJA_ONLY
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_HANJA_ONLY";
        Pos = MAP_APPFONT( 114, 134 );
		Size = MAP_APPFONT( 55, 8 );

		Text [ en-US ] = "Hanja onl~y";
	};

	// this element is only for determining where our radio button group ends (in both directions)
	FixedText FT_RESIZE_ANCHOR
	{
        Pos = MAP_APPFONT( 241, 133 );
	};

	CheckBox CB_REPLACE_BY_CHARACTER
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_REPLACE_BY_CHARACTER";
        Pos = MAP_APPFONT( 241, 81 );
		Size = MAP_APPFONT( 55, 24 );

		WordBreak = TRUE;

        Text [ en-US ] = "Replace b~y character";
	};

	String STR_HANGUL
	{
		Text [ en-US ] = "Hangul";
	};

	String STR_HANJA
	{
		Text [ en-US ] = "Hanja";
	};
};

ModalDialog RID_SVX_MDLG_HANGULHANJA_OPT
{
	OutputSize = TRUE ;
	Hide = TRUE ;
	SVLook = TRUE ;
	HelpId = HID_HANGULHANJA_OPT_DLG;
	Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( HHO_DLGWIDTH , HHx_DLGHIGHT ) ;
	Text [ en-US ] = "Hangul/Hanja Options" ;
	Moveable = TRUE ;
	Closeable = TRUE ;
	
    FixedText FT_USERDEFDICT
	{
        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_1 ) ;
        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1, 8 ) ;
		Text[ en-US ] = "User-defined dictionaries";
	};
	Control LB_DICTS
	{
		Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_2 ) ;
        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1 , HHO_ROW_7 - HHO_ROW_2 ) ;
        HelpId = HID_HANGULHANJA_OPT_DICTS_LB;
		TabStop = TRUE;
		Border = TRUE;
	};
    FixedLine FL_OPTIONS
	{
        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_8 ) ;
        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_1, 8 ) ;
		Text[ en-US ] = "Options";
	};
	CheckBox CB_IGNOREPOST
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_IGNOREPOST";
		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_9 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
		Text[ en-US ] = "Ignore post-positional word";
	};
	CheckBox CB_SHOWRECENTLYFIRST
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_SHOWRECENTLYFIRST";
		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_11 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
		Text [ en-US ] = "Show recently used entries first";
	};
	CheckBox CB_AUTOREPLACEUNIQUE
	{
	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_AUTOREPLACEUNIQUE";
		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_12 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
		Text [ en-US ] = "Replace all unique entries automatically";
	};
	PushButton PB_HHO_NEW
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_NEW";
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_2 ) ;
		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
		Text [ en-US ] = "New...";
	};
	PushButton PB_HHO_EDIT
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_EDIT";
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_4 ) ;
		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
		Text [ en-US ] = "Edit...";
	};
	PushButton PB_HHO_DELETE
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_DELETE";
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_6 ) ;
		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
		Text [ en-US ] = "Delete";
	};
	OKButton PB_HHO_OK
	{
		DefButton = TRUE;
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a1 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
	};
	CancelButton PB_HHO_CANCEL
	{
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a3 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
	};
	HelpButton PB_HHO_HELP
	{
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a5 ) ;
		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
	};

};


ModalDialog RID_SVX_MDLG_HANGULHANJA_NEWDICT
{
	HelpId = HID_HANGULHANJA_NEWDICT_DLG;
	OutputSize = TRUE ;
	SVLook = TRUE ;
	Size = MAP_APPFONT ( 213 , 66 ) ;
	Moveable = TRUE ;

	Text [ en-US ] = "New Dictionary" ;

	FixedLine FL_NEWDICT
	{
		Pos = MAP_APPFONT ( 6 , 3 ) ;
		Size = MAP_APPFONT ( 145 , 8 ) ;
		Text [ en-US ] = "Dictionary" ;
	};
	FixedText FT_DICTNAME
	{
		Pos = MAP_APPFONT ( 11 , 15 ) ;
		Size = MAP_APPFONT ( 40 , 10 ) ;
		LeftLabel = TRUE ;
		Text [ en-US ] = "~Name" ;
	};
	Edit ED_DICTNAME
	{
	    HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_NEWDICT:ED_DICTNAME";
		Border = TRUE ;
		Pos = MAP_APPFONT ( 55 , 14 ) ;
		Size = MAP_APPFONT ( 90 , 12 ) ;
		MaxTextLength = 32 ;
	};
	OKButton PB_NEWDICT_OK
	{
		Pos = MAP_APPFONT ( 157 , 6 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		Disable = TRUE ;
		DefButton = TRUE ;
	};
	CancelButton PB_NEWDICT_ESC
	{
		Pos = MAP_APPFONT ( 157 , 23 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
	};
	HelpButton PB_NEWDICT_HLP
	{
		Pos = MAP_APPFONT ( 157 , 43 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
	};
};


ModalDialog RID_SVX_MDLG_HANGULHANJA_EDIT
{
	OutputSize = TRUE ;
	Hide = TRUE ;
	SVLook = TRUE ;
	HelpId = HID_HANGULHANJA_EDIT_DLG;
	Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( HHE_DLGWIDTH , HHx_DLGHIGHT ) ;
	Text [ en-US ] = "Edit Custom Dictionary" ;
	Moveable = TRUE ;
	Closeable = TRUE ;
	
	String STR_EDITHINT
	{
		Text [ en-US ] = "[Enter text here]";
	};
    FixedText FT_BOOK
	{
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_2 ) ;
        Size = MAP_APPFONT ( HHE_COL_2 - HHE_COL_1, 8 ) ;
		Text [ en-US ] = "Book";
	};
	ListBox LB_BOOK
	{
	    HelpID = "cui:ListBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_BOOK";
		Pos = MAP_APPFONT ( HHE_COL_3 , HHE_ROW_1 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_3 , 60 ) ;
		DropDown = TRUE;
		Border = TRUE;
	};
    FixedText FT_ORIGINAL
	{
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_4 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
		Text [ en-US ] = "Original";
	};
	ComboBox LB_ORIGINAL
	{
	    HelpID = "cui:ComboBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_ORIGINAL";
		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_5 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1 , 60 ) ;
		DropDown = TRUE;
		Border = TRUE;
	};
    FixedText FT_SUGGESTIONS
	{
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_10 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
		Text [ en-US ] = "Suggestions (max. 8)";
	};
    Edit ED_1
	{
        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_1";
		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
		Hide = False;
		Border = TRUE;
	};
    Edit ED_2
	{
        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_2";
		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 12 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
		Hide = False;
		Border = TRUE;
	};
    Edit ED_3
	{
        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_3";
		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 24 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
		Hide = False;
		Border = TRUE;
	};
    Edit ED_4
	{
        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_4";
		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 36 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
		Hide = False;
		Border = TRUE;
	};
	ScrollBar SB_SCROLL
	{
        Pos = MAP_APPFONT ( HHE_COL_3_2 , HHE_ROW_11 ) ;
		Size = MAP_APPFONT ( RSC_CD_VSCRLWIDTH , HHE_ROW_12 - HHE_ROW_11 ) ;	// height = 48
		VScroll = TRUE ;
		Drag = TRUE ;
	};
	PushButton PB_HHE_NEW
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_EDIT:PB_HHE_NEW";
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a1 ) ;
		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
		Text [ en-US ] = "New";
	};
	PushButton PB_HHE_DELETE
	{
	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_EDIT:PB_HHE_DELETE";
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a3 ) ;
		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
		Text [ en-US ] = "Delete";
	};
	HelpButton PB_HHE_HELP
	{
        Pos = MAP_APPFONT ( HHE_COL_3_0 , HHE_ROW_13 ) ;
		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
	};
	CancelButton PB_HHE_CLOSE
	{
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_13 ) ;
		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
		Text [ en-US ] = "Close";
	};
};



