How do I ensure excel file with wide columns does not get truncated in Confluence File Previews

お困りですか?

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

コミュニティに質問

目的

This article contain instructions on how to change the display of excel files in Confluence File Preview / light box, mainly because by default, Confluence file preview will truncate excel files with wide columns/ excel files with huge number of columns.

For example, below is a sample Excel file with a huge number of columns:

Upon uploading to confluence, the columns will be truncated and will be displayed as below:

ソリューション

The preview in the "file-preview" macro depends on the width of the document itself. The Confluence File Preview macro will display the Excel document as it is suppose to look like, if we were to print the file.

In order to fit the width of the document, we can modify the layout of the Excel page by:

  1. Go to Page Tools > Attachments > "Edit in Office" for the excel file that we'd like to fix ( We need to go to   > Attachments , In case Page Tools option is not visible in the excel version)
  2.  Go to Page Layout > Width > 1 Page :
  3. 保存します。
  4. Reload the confluence page
  5. Confluence File Preview is displaying excel file as per desired:

その他

The other layout setting seem to respond well to Confluence file preview, such as:

  • Orientation" setting to "Landscape" changes the orientation of the file preview in Confluence respectively
  • Setting the "Page Margins" will also change the previews in respectively

Please note that the "Page Layout" settings location varies in different version of Ms Excel.


最終更新日 2022 年 8 月 9 日

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

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