hwp_file_param_action
Perform file operations on HWP documents by executing actions with file-related parameter sets, covering open, save, convert, secure, email, and inspect tasks.
Instructions
Execute HWP action with file-related HParameterSet.
Supported param_set_name values and their key properties:
HFileOpen: filename, Format (HWP|HWPX|HTML|TEXT|DOCX), ArgStr, ReadOnly (bool), VersionBackup
HFileSaveAs: filename, Format, ArgStr, Encrypt (bool), SetPassword, CompatSave, Author
HFileInfo: FileName, Format, FileSize, CreateDate, ModifyDate, Author, Title, Subject
HFileConvert: SrcFormat, DstFormat, SrcFile, DstFile, Overwrite (bool)
HFileSaveBlock: filename, Format, Argument
HFileSaveDaisy: filename, DaisyVersion, DTBookTitle, DTBookAuthor, Language, Publisher
HFileSecurity: Password, ReadPassword, PermitRead, PermitCopy, PermitPrint, CertificatePath
HFileSendMail: To, Cc, Subject, Body, AttachFile
HFileSetSecurity: SecurityLevel, CertPath, SignPassword
HFileXMLSchema: SchemaPath, Namespace, ValidateOnSave
HFileOpenSave: filename, Format, ArgStr (common open/save parameters)
Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the file 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 | |||