メインコンテンツへスキップ

Word の目次を更新するには、 Zapier

目次を更新 は Zapier アクション PDF4me リフレッシュまたは作成する TOC Word 文書内のフィールドで、既存の TOC 見つからない場合は新しいものを生成します。レポートの編集後、手動での公開後、またはドキュメントの組み立て後にこれを実行することで、ファイルを送信する前に見出しレベル、ハイパーリンク、ページ番号の正確性を維持できます。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証方法 API リクエスト?​

アクセスするには PDF4me ウェブ API を通して Zapierすべてのリクエストには適切な認証情報を含める必要があります。認証により安全な通信が保証され、承認されたユーザーとしての身元が検証され、シームレスな統合が可能になります。 Zapier ワークフローと PDF4meの力強い言葉 TOC 経営管理サービス。

PDF4me 更新目次 Word Zapier 設定 - ファイル、ファイル名 abc.docx、見出しレベル 1-3、ハイパーリンクの使用 False、タブリーダーの非表示 False、大文字の使用 True、カルチャ名 en-Us
目次更新の設定:ファイルとファイル名のマッピング、見出しレベルの設定、ハイパーリンクの使用、タブリーダーの非表示、大文字の使用、カルチャ名。

見逃してはならない重要な事実​

必要なのはファイルのみです
スクリーンショットは、File がアスタリスクを持つ唯一のフィールドであることを示しています。 Zapier UIファイル名、見出しレベル、ハイパーリンクの使用、タブリーダーの非表示、大文字の使用、およびカルチャ名はすべてオプションです。
検出して更新するか、新しいものを作成します TOC
ドキュメントに既に TOC フィールドが存在する場合、アクションはその場でフィールドを更新します。存在しない場合は、見出しレベルと書式設定を使用して新しいフィールドを生成します。
見出しレベルのコントロール TOC 深さ
「1-3」のような範囲指定文字列は、Wordの見出し1から見出し6までの範囲全体において、その深さ内の見出しのみを含みます。

設定概要​

設定例 Zapier インターフェース

スクリーンショットには、前の手順でマッピングされたファイルが表示されています。ファイル名は「abc.docx」、見出しレベルは「1-3」、ハイパーリンクの使用とタブリーダーの非表示は「False」、大文字の使用は「True」、カルチャ名は「en-Us」に設定されています。

ファイル

ステップからのマップ

見出しレベル

1-3

ハイパーリンクを使用する

間違い

タブリーダーを非表示にする

間違い

大文字を使用してください

真実

:::ヒント 前の手順のマップファイルを使用します + 隣のボタン ファイル そして ファイル名以前のZapステップ(例:Googleドライブ、Dropbox、またはトリガー)からマッピングします。Wordファイルには完全なコンテンツが含まれている必要があり、「存在するが表示されない」参照は認められません。 :::

:::警告 ファイル: (存在しますが表示されません) ファイルフィールドに「ファイル: (存在しますが表示されません)」と表示され、エラーが発生した場合は、 ファイルの内容全体 代わりに。参照 Zapier & Power Automate ヒント詳細は :::

パラメータ​

目次更新アクションのパラメーターの完全なリスト。パラメーター名は、 Zapier 構成 UI。

必須 Zapier UI: ファイルのみ。ファイル名、見出しレベル、ハイパーリンクの使用、タブリーダーの非表示、大文字の使用、カルチャ名はすべてオプションです。

パラメータ必須その機能例
FileRequiredWord document content, mapped from a previous step using full file content.[4. File from Step 4]
File NameOptionalFilename with .docx or .doc extension, used for output naming.abc.docx
HeadingLevelsOptionalRange of heading levels to include in the TOC, from 1 through 6. Defaults to 1-3.1-3
Use HyperlinksOptionalBoolean toggle for clickable TOC entries that jump to each heading.False
Hide Tab LeaderOptionalBoolean toggle to hide the dot leaders between TOC text and page numbers.False
Use Upper caseOptionalBoolean toggle to render TOC entry text in uppercase.True
Culture NameOptionalCulture or locale code affecting language and formatting conventions. Defaults to en-Us.en-Us
File NameOptionalName of the Word document, including its extension (for example `report.docx`).

出力にはどのようなフィールドが含まれますか?​

このアクションは、変更された Word 文書と追跡メタデータを返します。この出力形式は、 PDF4me 言葉の動作 Zapier ファイルを返すもの。

分野タイプ内容物
jobIdTextID of the PDF4me job that processed the request.
traceIdTextTrace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem.
documentIdTextID PDF4me gives the resulting document.
File NameTextName of the resulting file, without extension.
File ExtensionTextExtension of the resulting file, for example `.pdf`.
Full File NameTextName of the resulting file, with extension.
File UrlTextDownload link of the resulting file. Map it into any later step that needs the file, for example an upload to Google Drive, Dropbox or OneDrive.
Alternate File UrlTextAlternative download link of the resulting file, with the file name at the end of the URL.
File SizeNumberSize of the resulting file, as reported by PDF4me.

典型的な構成​

ワークフローの例Common Zapier workflow patterns using Update Table of Contents.
更新 TOC レポート編集後
  1. 生成されたレポート文書がGoogleドライブまたはDropboxフォルダに保存されると、トリガーが作動します。
  2. 目次の更新は、見出しレベルが「1-3」に設定され、ハイパーリンクの使用がTrueに設定されている状態で実行されるため、 TOC ページ番号とリンクは最終的なコンテンツを反映しています。
  3. 更新されたレポートは、配布のために共有レポートフォルダにアップロードされます。
生成する TOC 手動出版前
  1. 技術マニュアルが出版準備完了とマークされ、ザップが作動する。
  2. 目次を更新するには、見出しレベルを「1-4」に設定して詳細なナビゲーションを行い、大文字を使用する設定を「True」にして正式な印刷物のような外観にします。
  3. 出版準備が整ったマニュアルは、出版チームにメールで送信されます。
更新 TOC ドキュメントをマージした後
  1. 複数の Word 文書は、Zap の早い段階で結合されます。 PDF4me マージアクション。
  2. 目次更新機能は、結合されたファイルに対して実行され、見出しレベルが「1-2」に設定されているため、結合されたセクションの概要を大まかに把握できます。
  3. 正確な統合文書 TOC ストレージフォルダにアーカイブされます。

実践的なヒント​

Map full file content, not a reference
If File shows "Exists but not shown", pick the mapping option that provides full file content, or the action can fail to process the document.
HeadingLevels uses a simple range string
Set HeadingLevels to a value such as "1-3" to include Heading 1 through Heading 3 styles. Word supports heading levels 1 through 6.
Hide Tab Leader only removes the dot leaders
Hide Tab Leader controls the dots between TOC text and page numbers. It does not remove page numbers themselves.
Use Upper case affects TOC text only
Use Upper case renders the TOC entry text in capitals. It does not change the case of the actual heading text in the document body.
Existing TOC fields are refreshed, not duplicated
If the document already contains a TOC field, this action updates it in place instead of inserting a second, duplicate table.

チートシート​

分野価値
ActionUpdate Table of Contents
File[mapped from previous step, full content]
File Nameabc.docx
HeadingLevels1-3
Use HyperlinksFalse
Hide Tab LeaderFalse
Use Upper caseTrue
Culture Nameen-Us

よくある質問​

How do I update a table of contents in a Word document using Zapier?+
Add the PDF4me Update Table of Contents action to a Zap, map File with full file content, set HeadingLevels and the formatting toggles, and run the Zap. See Microsoft's guide to updating a table of contents for how the same refresh works manually inside Word.
What happens if the Word document has no existing table of contents?+
The action detects whether a TOC field already exists. If one is found, it refreshes that field in place; if none exists, it generates a new TOC field using your HeadingLevels and formatting settings. See Microsoft's guide to inserting a table of contents for how a first-time TOC is normally created.
Why isn't my table of contents showing hyperlinks?+
Use Hyperlinks controls this and defaults to False in the example configuration. Set Use Hyperlinks to True in the Zapier field to make TOC entries clickable links that jump to each heading.
Can I control which heading levels appear in the table of contents?+
Yes. HeadingLevels accepts a range string such as "1-3" to include only Heading 1 through Heading 3 styles, across the full 1-6 heading level range Word supports.
Does Culture Name affect the table of contents formatting?+
Culture Name sets the locale used for document processing, such as en-US or de-DE, which can affect language and number formatting conventions in the output. It is optional and can be left blank for default handling.

関連アクション​

他のプラットフォームでの同じタスク​

業界におけるユースケースとアプリケーション​

  • 技術マニュアル出版: アップデート TOC 出版前に4段階ナビゲーションを備えた技術マニュアルにおいて
  • 書籍出版更新 TOC 最終編集後の原稿にはハイパーリンクが含まれる
  • ユーザーガイドの更新: アップデート TOC コンテンツ改訂後のユーザーガイドにおいて
  • カタログ制作更新 TOC 更新後のタブリーダー付き製品カタログ
  • レポートの公開: アップデート TOC 配布前の年次報告書において

ヘルプが必要な場合​