hwp_doc_info_param_action
Execute HWP actions by configuring document info parameter sets to modify or retrieve metadata, find/replace settings, DRM, and more in HWP documents.
Instructions
Execute HWP action with document info HParameterSet.
Supported param_set_name values and their key properties:
HDocData: DataName, DataType, DataValue, Persistent (bool)
HDocDRM: DRMType, Authority, License, Expiration, AllowPrint (bool), AllowCopy (bool), AllowEdit (bool)
HDocFilters: FilterName, FilterIndex, Description, Extensions
HDocFindInfo: FindString, ReplaceString, MatchCase (bool), WholeWord (bool), UseRegex (bool), Direction (0=forward, 1=backward), Scope (0=all, 1=selection)
HDocumentFilterDialog: FilterType, ShowPreview (bool), InitialDir
HDocumentInfo: PageCount, CharCount, WordCount, LineCount, ParaCount, TableCount, ImageCount, ModifiedDate
HSummaryInfo: Title, Subject, Author, Keywords, Comments, Category, Manager, Company, Version
HVersionInfo: Version, Description, Author, Date, AutoSave (bool)
HAppState: ViewMode (0=edit, 1=read), ZoomLevel, ShowRuler (bool), ShowGrid (bool), ShowParaMark (bool), ShowFieldCode (bool)
Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the doc info 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 | |||