The PDF macro displays the content of a PDF document on a page. First attach the document to a Confluence page, then use the macro to display the document.

For details, see the View File Macro.

 

コー​​ドの例

次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。 

マクロ名: viewpdf

マクロ本文: なし。

パラメーター名必須既定パラメーターの説明と指定可能な値
nameはい(なし)

表示するPDF ドキュメントのファイル名。ドキュメントは、Confluence サイトのページに添付する必要があります。

pageいいえマクロを含むページPDF ドキュメントが添付されている Confuence ページの名前。

保存形式の例

  <ac:structured-macro ac:name="viewpdf">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="My_document.pdf"/>
    </ac:parameter>
  </ac:structured-macro>

Wiki マークアップの例

{viewpdf:page=Docs|name=My document.pdf}
  • ラベルなし