TOOL API

sheet.set_cell_style

Applies formatting to a range of cells in a Tencent Docs online spreadsheet, such as font, colors, alignment, number format, and text wrapping. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.

productivityOAuth1 credits

Call information

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

Input parameters

bg_color

背景色,ARGB hex,如 "FFFFFFFF"

bold

粗体

end_col

结束列索引

end_row

结束行索引

file_idrequired

在线表格的唯一标识符

font_color

字体颜色,ARGB hex,如 "FF000000"

font_family

字体名称

font_size

字号(pt)

horizontal_align

水平对齐:general/left/center/right/fill/justify

is_clear

若为 true,则清除格式

italic

斜体

number_format_pattern

数字格式,如 "0.00%"

sheet_idrequired

子表 ID(必填)

start_col

起始列索引(0-based)

start_row

起始行索引(0-based)

strike_through

删除线

underline

下划线:none/single/double/single_accounting/double_accounting

vertical_align

垂直对齐:top/center/bottom/justify

wrap_text

自动换行