工具 API

doc.set_page_number

设置页码(在页脚中插入 PAGE 字段)(DOC)。默认参数组合:页面底部居中 + 1,2,3 格式 + 续前节 + 应用于整篇文档。调用前会自动切换为分页模式,注意:本工具和set_footnote冲突,会清空页脚内容再写入。 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.doc.set_page_number
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

continue_from_prev

续前节

file_id

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

file_url

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

format

页码格式

position

页码位置:center/left/right

scope

应用范围

section_index

节索引

start

起始编号

version_info

版本参数