Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google apps script 如何在Google文档中设置行/单元格的段落属性?_Google Apps Script_Google Docs - Fatal编程技术网

Google apps script 如何在Google文档中设置行/单元格的段落属性?

Google apps script 如何在Google文档中设置行/单元格的段落属性?,google-apps-script,google-docs,Google Apps Script,Google Docs,我可以在Google文档中插入一个表。我设法更改每行的一些属性(如字体大小、粗体、填充) 然而,段落属性让我陷入了困境。就像行距,后面的行距,前面的行距 如何设置表格行和表格单元格的属性 当我这样做的时候:-),如何把子弹清单放进牢房 非常感谢。==更新==== 找到了答案 tabel.getRow(0).getCell(1).getChild(0).asParagraph().setAttributes(something) ==更新==== 找到了答案 tabel.getRow(0).ge

我可以在Google文档中插入一个表。我设法更改每行的一些属性(如字体大小、粗体、填充)

然而,段落属性让我陷入了困境。就像行距,后面的行距,前面的行距

如何设置表格行和表格单元格的属性

当我这样做的时候:-),如何把子弹清单放进牢房

非常感谢。

==更新====

找到了答案

tabel.getRow(0).getCell(1).getChild(0).asParagraph().setAttributes(something)
==更新====

找到了答案

tabel.getRow(0).getCell(1).getChild(0).asParagraph().setAttributes(something)
==更新====

找到了答案

tabel.getRow(0).getCell(1).getChild(0).asParagraph().setAttributes(something)
==更新====

找到了答案

tabel.getRow(0).getCell(1).getChild(0).asParagraph().setAttributes(something)