コンテンツを Word、PDF、HTML、XML にエクスポートする

Confluence スペースの全体または一部分を、Microsoft Word、HTML、PDF、XML などのさまざまなフォーマットにエクスポートできます。

スペースのエクスポート機能を使用するには、"スペースのエクスポート" 権限が必要です。説明については「スペース権限」を参照してください。

1 つのページを PDF にエクスポートする

Confluence へのアクセス権限を持たない人物にコンテンツを送信する必要がある場合、1 つのページやブログ投稿を PDF にエクスポートできます。 

Confluence ページの閲覧権限がある場合は、次の方法でエクスポートできます。該当のページに移動し、(ツール) > [PDF へエクスポート] を選択します。

公開されたコンテンツのみをエクスポートできます。つまり、他の人物がページ上で作業している間でも PDF エクスポートを作成できます。 

1 つのページを PDF にエクスポートする際、PDF スタイルシートのカスタマイズは適用されますが、PDF のレイアウトのカスタマイズは適用されません。PDF にエクスポートされる 1 ページに PDF のレイアウトのカスタマイズを適用するには、以降の複数ページ用の方法を使用してその 1 ページをエクスポートする必要があります。「PDF へのエクスポートをカスタマイズする」を参照してください。

1 つのページを Word にエクスポートする

1 つのページを Microsoft Word で開ける .doc ファイルにエクスポートすることもできます。

Confluence ページの閲覧権限がある場合は、次の方法でエクスポートできます。該当のページに移動し、[ツール] > [Word へエクスポート] を選択します。

公開されたコンテンツのみをエクスポートできます。つまり、他の人物がページで作業している間でも Word エクスポートを作成できます。また、エクスポートには最初の 50 件の添付画像のみが含まれます。詳細については、下記の情報を参照してください。 

このファイル形式のため、このファイルは Microsoft Wordでのみ開くことができ、Open Office、Libre Office、Google Docs などの他のアプリケーションとの互換性はありません。 

Export multiple pages to HTML or PDF

If you want to export a space – or selected pages in a space – to HTML or PDF, Confluence can create a zipped archive of the HTML, or a single, downloadable PDF file.

PDF export is useful you're producing a printable user manual from your documentation space for example. The HTML export can be used to convert your site content to a static website.

To export pages to HTML or PDF:

  1. スペースに移動して、サイドバーの下部から、スペース ツール > コンテンツ ツールを選択します。
  2. Select Export
  3. 次の形式のいずれかを選択します。
    1. HTML – export an HTML file containing only the pages you have permission to view. With this format, you have two options:
      • Normal Export – generate an HTML file for each page in the space, except for blogs, comments, and attachments.
      • Custom Export – generate an HTML file of only the pages you've selected.
    2. PDF – export a PDF file containing only the pages you have permission to view. With this format, you have two options:
      • Normal export – generate a PDF file for each page in the space, except for blogs, comments, and non-image attachments.
      • Custom export – generate a PDF file of selected pages excluding any comments.

For normal export and custom export, you can also choose to Include Pages Numbers at the bottom of every page in your PDF.

4. Review your selection, and select Export.

You can download the zipped archive or PDF when the export process has finished.

Export (back up) multiple pages to XML

If you want to export a space as an XML, Confluence can create a zipped archive of the XML.

XML space exports can be used to import your space content into another Confluence space running the same or newer version of Confluence.

To export pages to XML:

  1. スペースに移動して、サイドバーの下部から、スペース ツール > コンテンツ ツールを選択します。
  2. Select Back up – an XML export contains every page, blog posts, comment, and attachment in the space, but excludes blog posts.
  3. Under Save to restore directory, you can:
    1. Give your XML export a file name (optional)
    2. Select Save permanently if you want to keep your file on the server, otherwise, all space backups are only temporarily saved to your <home-directory>/restore/space, where <home-directory> is shared-home-directory for Confluence Data Center, or home-directory for Confluence Server. You'll need access to the server to retrieve the file this way.
  4. Select Back up

You can download the exported XML backup by selecting the file name when the export process has finished.

エクスポートに含まれるもの

次のコンテンツがスペース エクスポートに含まれます。


PDF エクスポートHTML エクスポートXML export (backup)
ページはいはいはい
ブログいいえいいえはい
コメントいいえ任意はい
添付ファイル画像のみはいはい
未公開の変更いいえいいえはい
ページ番号任意N/AN/A
制限されているページとブログ投稿自身が表示できるもののみ自身が表示できるもののみあり。
引き続き制限される

PDF エクスポートの表示をカスタマイズする

出力する PDF に、タイトル ページ、目次、カスタマイズしたヘッダーとフッターを追加できます。高度なカスタマイズとして、カスケーディング スタイルシート (CSS) の変更を適用できます。これらのカスタマイズは各スペースに固有であるため、適用するには "スペース管理者" 権限が必要です。詳細は、「PDF へのエクスポートをカスタマイズする」を参照してください。

PDF エクスポートについての注意

  • 多言語テキストを含む PDF のエクスポートについては、「別の言語での PDF の作成」を参照してください。
  • Confluence の PDF エクスポート機能はさまざまなコンテンツを処理できるよう設定されていますが、稀に、カスタマイズを認識できずに PDF のエクスポートに失敗することがあります。失敗した場合、PDF エクスポート画面に問題が発生したページのタイトルが表示されます。失敗の原因を診断する参考にしてください。
  • ページの幅を超えた表 (特に画像が含まれているもの) は、PDF で切れて表示されることがあります。推奨される回避策については、「幅の広いテーブルが PDF エクスポートで切り捨てられる」を参照してください。 

  • Confluence Data Center では、PDF エクスポートは外部プロセス プールで処理されます。 

Word のエクスポートについての注意

  • ページに添付されている最初の 50 枚の画像のみが Word ドキュメントにエクスポートされます。これにより、Confluence サイト全体に影響するメモリ不足エラーの発生を防ぎます。詳細や、システム プロパティを使用してこの制限を一時的に増やす方法について、CONFSERVER-34211 - 課題詳細を取得中... ステータス をご参照ください。 

HTML エクスポートについての注意

  • zip ファイルでは、ページの添付ファイルは以下の形式の名前を持つ個別のフォルダに振り分けられます。
    ...\download\attachments\xxxxxx
    ここでの 2xxxxxx''"は、添付ファイルを含むページのページ ID です。
  • HTML アウトプットをカスタマイズするには、confluence-x.y.z-jar/com/atlassian/confluence/pages/Page.htmlexport.vm ファイルを編集する必要があります。このファイルを再度パッケージ化する方法については、「Confluence JAR ファイル内のファイルの編集方法」を参照してください。

Notes on XML exporting (backup)

  • When you create a space backup, it does't mean it will start immediately. If someone has created another backup task on your Confluence site, your job will be added to a "queue". This will be reflected in your task status. Only one backup is processed at a time; we do this to provide a stable, fast, and reliable backup experience.
  • If your task was "queued" and someone restarts Confluence, your task won't lose its place in the queue.
  • If your task was "in progress" and someone restarts Confluence, it will fail and you will need to run the backup again.
  • The Space backup recent activity table lists XML exports of that space only over a two-week period.
  • スペースは、同じまたは以降の Confluence バージョンにのみインポートできます。以前のバージョンにスペースをインポートすることはできません
  • Team Calendars は XML エクスポートには含まれません。 
  • バックアップの目的でエクスポートを行おうとしている場合は、他の方法によるバックアップも検討してください。「本番環境のバックアップ戦略」を参照してください。
  • See Restore a Space or multiple Spaces for notes on restrictions when importing a space into Confluence Server.

コンテンツを Confluence Cloud に移行する

Confluence Server から Confluence Cloud に移行する場合、Confluence Cloud Migration Assistant を使用してコンテンツとスペースを移行できます。 

最終更新日 2023 年 5 月 22 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.