View File Macro
Macros
- Advanced Roadmaps Macro
- Anchor Macro
- Attachments Macro
- Blog Posts Macro
- Change History Macro
- Chart Macro
- Cheese Macro
- Children Display Macro
- Code Block Macro
- Column Macro
- Content by Label Macro
- Content by User Macro
- Content Report Table Macro
- Contributors Macro
- Contributors Summary Macro
- Create from Template Macro
- Create Space Button Macro
- Excerpt Include Macro
- Excerpt Macro
- Expand Macro
- Favorite Pages Macro
- Gallery Macro
- Global Reports Macro
- HTML Include Macro
- HTML Macro
- IM Presence Macro
- Include Page Macro
- Info, Tip, Note, and Warning Macros
- Jira Chart Macro
- Jira Issues Macro
- Labels List Macro
- Livesearch Macro
- Loremipsum Macro
- Multimedia Macro
- Navigation Map Macro
- Network Macro
- Noformat Macro
- Office Excel Macro
- Office PowerPoint Macro
- Office Word Macro
- Page Index Macro
- Page Properties Macro
- Page Properties Report Macro
- Page Tree Macro
- Page Tree Search Macro
- Panel Macro
- PDF Macro
- Popular Labels Macro
- Profile Picture Macro
- Recently Updated Dashboard Macro
- Recently Updated Macro
- Recently Used Labels Macro
- Related Labels Macro
- Roadmap Planner Macro
- RSS Feed Macro
- Search Results Macro
- Section Macro
- Space Attachments Macro
- Space Details Macro
- Spaces List Macro
- Status Macro
- Table of Contents Macro
- Table of Content Zone Macro
- Task Report Macro
- Team Calendar Macro
- User List Macro
- User Profile Macro
- View File Macro
- Widget Connector Macro
On this page
Related content
- No related content found
The View File macros allow you to embed an Office or PDF document on a page. First attach the document to a page and then use one of the View File macros to display the document's content.
When people view the page, they will see the content of the Office or PDF document. They do not need to have Office installed in order to see the content of the file.
For specific information about each macro, see:
On this page:
Add this macro to your page
To add a View File macro to a page:
- From the editor toolbar, choose Insert > Other Macros.
- Choose Office Excel, Office PowerPoint, Office Word, or PDF from the Confluence content category.
- Select the file you want to display and enter any additional parameters.
- Choose Insert.
You can then publish your page to see the macro in action.
Supported file types
To display an Office or PDF document in a page, use one of the following View File macros in the macro browser:
- Office Excel (.
xls
and .xlsx)
- Office PowerPoint (.
ppt
and .pptx)
- Office Word (.
doc
and .docx)
- PDF (
.pdf
)
Editing files
You can edit files embedded with the View File macro using your preferred desktop application, then save the file back to Confluence automatically. Head to Edit files for instructions.
- Word and Excel – choose the Edit button above the content.
- PowerPoint and PDF – choose the edit icon on the viewer.
Importing content from Word documents
If you want to use the contents of your Word document to create a Confluence page, see Import a Word Document into Confluence.
Related content
- No related content found