---
title: "Exporting Pages with Visibility Macros"
canonical: "https://support.appfire.com/space/VISS/478773851/Exporting%20Pages%20with%20Visibility%20Macros"
format: markdown
---
> Macro (aura-html)

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

![image](media://1ede66b8-a875-4697-b011-0f083b3bf24a)

### Page output for ‘Hide If’ macro for user 1

![image](media://0a2b5bb1-8f7c-47d5-a08e-767c8a50ec4a)

### PDF output for ‘Hide If’ macro for user 1

![image](media://26d4e1de-0f63-42a5-a934-1a149d54f197)

### Page output for ‘Show If’ macro for user1

![image](media://e28031f9-4067-41be-99fb-b64d80d81491)

### PDF output for ‘Show If’ macro for user1

![image](media://e28031f9-4067-41be-99fb-b64d80d81491)