Exporting Pages with Visibility Macros

Confluence allows users with View permission to export a page to PDF and Word formats.

If you do not use the ‘Display Types’ parameter to restrict the content to either ‘default’ or ‘printable,’ then the macros affect the visibility in BOTH the Confluence default view and exported PDF or Word documents.

Output of Export when Hide If or Show If Macro is Enforced

In this example, we will be exporting the page into PDF format.

Editor's view

Page output for ‘Hide If’ macro for user 1

PDF output for ‘Hide If’ macro for user 1

Page output for ‘Show If’ macro for user1

PDF output for ‘Show If’ macro for user1

Â