hwp_table_param_action
Execute table operations in HWP documents by applying table-specific parameter sets to create, format, split, or modify tables with precise control over rows, columns, borders, and properties.
Instructions
Execute HWP action with table-related HParameterSet.
Supported param_set_name values and their key properties:
HTableCreation: Cols, Rows, WidthType (0=auto, 1=fix, 2=relative), WidthValue, HeightType, HeightValue, CreateItemArray (cell definitions), TableProperties (sub-set), HeaderRow, ResizeUnit
HTable: Width, Height, CellMarginLeft, CellMarginRight, CellMarginTop, CellMarginBottom, BorderFill, CellSpacing, PageBreak, RepeatHeader
HCell: Width, Height, LeftMargin, RightMargin, TopMargin, BottomMargin, BorderFill, Editable, VertAlign (0=top, 1=center, 2=bottom), HasMargin
HCellBorderFill: CellIndex, BorderType, FillColor, FillType, HatchStyle, GradType, StartColor, EndColor, ImagePath, ImageMode
HTableBorderFill: BorderType, FillColor, FillType, ApplyTo
HTableChartInfo: ChartType, XAxisTitle, YAxisTitle, DataRange, LegendPosition, Is3D, ShowDataLabel
HTableDeleteLine: LineIndex, Direction (0=row, 1=col)
HTableDrawPen: PenType, PenWidth, PenColor
HTableInsertLine: LineIndex, Direction (0=row, 1=col)
HTableSplitCell: Rows, Cols, SplitMethod (0=equal, 1=proportional)
HTableStrToTbl: Delimiter, Rows, Cols, TableProperties
HTableSwap: Direction (0=row, 1=col)
HTableTblToStr: Delimiter, UseFirstRowAsHeader
HTableTemplate: TemplateName, AutoFit, HeaderRow
Args: doc_id: Document ID from open_document action_name: HWP action to execute param_set_name: Must be one of the table 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 | |||