---
title: "Exporting pages with Visibility macros"
canonical: "https://support.appfire.com/space/VISC/478642951/Exporting%20pages%20with%20Visibility%20macros"
format: markdown
---
> Macro (aura-html)

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](https://appfire.atlassian.net/wiki/x/j4OHH) or [Show If](https://appfire.atlassian.net/wiki/x/4oOHH) 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.

## Screenshot of the editor's view

![image](media://49f1d4d2-5512-4ed3-8e46-43b1f7f3c347)

## Page output for "Hide If" and "Show if" macro

![image](media://6abead64-cf06-4a7c-98de-e6eb127e8153)

## Pdf output for "Hide If" and "Show if" macro

![image](media://2bc4ad7f-4141-4845-ac22-38b3f493ca4e)