Office PowerPoint Macro
Macros
- Activity Stream 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
- Gadget 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
- JUnit Report 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
- Space Jump Macro
- Spaces List Macro
- Status Macro
- Table of Contents Macro
- Table of Content Zone Macro
- Task Report Macro
- User List Macro
- User Profile Macro
- View File Macro
- Widget Connector Macro
On this page
Related content
- No related content found
The Office PowerPoint macro displays the content of a PowerPoint presentation on a wiki page. First attach the presentation to a Confluence page, then use the macro to display the content. When viewing the page, people will see the content of the presentation, without needing to have Office installed.
For details, see the View File Macro.
Code examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: viewppt
Macro body: None.
Parameter name | Required | Default | Parameter description and accepted values |
---|---|---|---|
name | Yes | (None.) | The file name of the PowerPoint presentation to be displayed. The document must be attached to a page on your Confluence site. |
page | No | The page containing the macro | The name of a Confluence page to which the PowerPoint presentation is attached. |
height | No | The height of the macro display, specified in pixels (for example: 10px , or just 10 ) or as a percentage (for example: 20% ) of the window's height. | |
width | No | The width of the macro display, specified in pixels (for example: 10px , or just 10 ) or as a percentage (for example: 20% ) of the window's height. | |
slide | No | All slides, starting with the first, as a slide show | The number of the slide that you want displayed on the Confluence page, where the first slide is numbered zero. Instead of a slide show, the page will display just the single slide, represented as a JPEG image. |
Storage format example
<ac:structured-macro ac:name="viewppt">
<ac:parameter ac:name="height">250</ac:parameter>
<ac:parameter ac:name="width">250</ac:parameter>
<ac:parameter ac:name="name">
<ri:attachment ri:filename="101_samplepresentation.pptx"/>
</ac:parameter>
</ac:structured-macro>
Wiki markup example
{viewppt:height=20%|page=Docs|width=20%|name=My document.ppt|slide=4}
Last modified on Mar 13, 2019
Related content
- No related content found
Powered by Confluence and Scroll Viewport.