hwp_hanja_param_action
Convert Hangul to Hanja or vice versa in HWP documents, replace Hanja text, get suggestions, and manage dictionary settings via configurable parameter sets.
Instructions
Execute HWP action with hanja/conversion HParameterSet.
Supported param_set_name values and their key properties:
HHanjaConversion: ConvertType (0=hanja, 1=hangul), Range (0=all, 1=selection), ShowDialog (bool), ConvertUnit (0=word, 1=char)
HHanjaInfo: OriginalText, ConvertedText, DictionaryType, UserDict
HHanjaReplace: FindText, ReplaceText, Scope, MatchCase (bool)
HHanjaSuggestion: InputText, Suggestions (list), SelectedIndex
HHanjaDict: DictPath, DictType (0=system, 1=user), Editable (bool)
HConvertHangulHanja: Direction (0=toHanja, 1=toHangul), Scope, ShowUI (bool)
HConvertHanjaToHangul: Scope, ShowUI (bool)
HConvertHangulToHanja: Scope, ShowUI (bool), DictPriority
HConvertAll: ConvertType, Scope, ShowUI (bool), ApplyAll (bool)
HConvertSpecial: SpecialType, ConvertMap, Scope
HConvertCharShape: SrcCharShape, DstCharShape, Scope, IncludeFont (bool), IncludeSize (bool), IncludeColor (bool)
Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the hanja/conversion param sets listed above params: Properties to set on the param set
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| params | No | ||
| action_name | Yes | ||
| param_set_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||