ページを PDF にエクスポートする際にスタイルシートが適用されない

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Editing the PDF Stylesheet and trying to export a single page  via Tools > Export to PDF does not apply the stylesheet settings. This issue may not be noted after 6.13.x versions.

As an example, noted in this BUG:   CONF-26230 - Getting issue details... STATUS

The Workaround notes adding the following CSS in Confluence Admin > PDF Stylesheet to edit the vertical vs horizontal.

body, p, li, td, table, tr, .bodytext, .stepfield {
    word-wrap: normal;
}

.wiki-content p {
    word-wrap: normal;
}

原因

The main issue is that you can customize the Stylesheet but even so that PDF customization only applies to space exports not single page exports via Tools > Export to PDF.

回避策

For the workaround, export a single page:

  • Edit your stylesheet
  • 次のように移動します。
    • Space Tools
    • コンテンツ ツール
    • エクスポート
  • Select 
    • PDF
    • Custom Export
  • Choose only the single page you want exported
  • エクスポート


最終更新日: 2022 年 12 月 28 日

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

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