問題タブ [google-workspace]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
google-apps-script - Apps Script を使用して、テンプレートの後に Google ドキュメントをフォーマットする
背景: 会社がスタイルを更新していて、既存のドキュメントを現在のスタイル プロファイルに更新するアドオンを作成しました。
解決策: Google App Script [アドオン] は、テンプレート ドキュメントから適切な書式を読み取り、アクティブなドキュメントを更新してそれを反映します。
スニペット:これは正しく動作しません
問題: 私が取得するほとんどすべての属性 (見出し1.getAttributes()) は null です。
私はこれを間違っていますか、それとも App Script を使用する対象外ですか?
私は最初、デフォルト値が設定されていると思いました。その場合、デフォルトにアクセス/変更できますか?