Apps脚本listitem-用项目符号代替编号?

Mic*_*lor 4 listitem google-apps-script

我可以在应用程序脚本中使用appendListItem将一堆项目作为编号列表添加到google文档中。有什么方法可以将其从编号更改为项目符号?

小智 5

您应该能够使用ListItem.setGlyphType选择项目符号列表。

  • 效果很好。看起来像这样:var doc.appendListItem(whatever).setGlyphType(DocumentApp.GlyphType.BULLET); (2认同)