TOOL API

doc.copy_format

Copies paragraph and text formatting from a source range to one or more target ranges in a Tencent Docs document, for quickly making multiple paragraphs or text runs match. Call resolve_document_structure first to get the document structure and determine the correct position indexes. 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.doc.copy_format
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

copy_paragraph_format

是否复制段落格式

copy_text_format

是否复制文本格式

file_id

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

file_url

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

source_rangerequired

格式来源范围

target_rangesrequired

目标范围列表

version_info

版本参数