Exporting Pages with Visibility Macros
Confluence allows the ability to export a page to PDF and Word formats. This option is available to users who have permission to view the page.
When a Visibility macro such as Hide If or Show If is used on the page, the output of the export will differ based on which users are restricted or unrestricted to view the content of the page.
Output of Export when Hide If or Show If Macro is Enforced
In this example, we will be exporting the page into PDF format.