【发布时间】:2022-10-20 17:39:35
【问题描述】:
是否可以使用 API 直接在 Google Docs 的单元格中插入图像?我只想将图像放在 1x2 表格单元格的第一列。我看过documentation,**insertInlineImage** 说:The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation.
如何在 Google Docs python 中执行此操作?
【问题讨论】:
-
在您的情况下,这些信息有用吗? github.com/tanaikech/gdoctableapppy
-
谢谢!我不知道这个,我会检查一下。我还发现 GDoc 的 API 太难消化了。
-
谢谢你的回复。是的。另外,我认为使用 Docs API 创建表格的文档可能有点复杂。因此,我创建了一个库,以便使用 Docs API 轻松创建表。如果这对您的情况没有用,我深表歉意。