工具 API

sheet.set_cell_style

设置在线表格指定范围单元格的样式,包括字体、颜色、对齐等(SHEET) 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 积分

调用信息

工具标识
tencent-docs.sheet.set_cell_style
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

bg_color

背景色,ARGB hex,如 "FFFFFFFF"

bold

粗体

end_col

结束列索引

end_row

结束行索引

file_id必填

在线表格的唯一标识符

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_id必填

子表 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

自动换行