hwp_shape_param_action
Execute HWP shape actions to manipulate objects: copy/paste, set geometry, add comments, configure guides, and export shapes as images.
Instructions
Execute HWP action with shape object HParameterSet.
Supported param_set_name values and their key properties:
HShapeCopyPaste: Direction (0=copy, 1=paste), OffsetX, OffsetY, KeepOriginal (bool), PasteSpecial
HShapeGuideLine: ShowGuideLine (bool), GuideLineColor, SnapDistance, HorizontalGuides (list), VerticalGuides (list)
HShapeObjComment: Comment, Author, Date, Visible (bool)
HShapeObject: Width, Height, Left, Top, Angle, HorzRelTo, VertRelTo, TreatAsChar (bool), TextWrap, ZOrder, Name, AltText
HShapeObjectCopyPaste: SrcObjID, DstPage, DstX, DstY, Scale (float), KeepOriginal (bool)
HShapeObjSaveAsPicture: ObjID, filename, Format (BMP|JPG|PNG|GIF|EMF), DPI, Quality
Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the shape 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 | |||