TOOL API

doc.set_table_properties

Updates table properties in a Tencent Docs document, including borders, alignment, width, cell padding, and conditional cell fills for nine region types (whole_table, first_row, last_row, first_col, last_col, band_row_odd, band_row_even, band_col_odd, band_col_even); the table is located by the GCP position idx of any cell inside it, and any property you omit keeps its existing setting. Call resolve_document_structure first to get the correct position index. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user choose the target account before invoking this tool.

productivityOAuth1 credits

Call information

Tool slug
tencent-docs.doc.set_table_properties
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

alignment

对齐方式

borders

边框

cell_fills

单元格填充

cell_margin

单元格内边距

file_id

在线文档DOC的文档唯一标识符(与file_url二选一)

file_url

腾讯文档的URL链接(推荐),与file_id二选一

header_rows

跨页重复标题行数(w:tblHeader):n>0 时表格最上面 n 行在每页顶部重复,表格不用拆开、分页点随正文自动变化;0 表示取消重复表头;不传表示不修改。表头含纵向合并延伸到下面几行时,n 要包含这些行

idxrequired

表格内任意cell的GCP位置

version_info

版本参数

width

表格宽度