Child pages
  • View File Macro

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

On this page:

Table of Contents
maxLevel
maxLevel4
minLevel24

Basic Usage without the Macro Browser

...

Include Page
_Office Connector Prerequisites for Displaynopaneltrue
_Office Connector Prerequisites for Display
nopaneltrue

Above are the prerequisites for viewing or displaying Office documents in Confluence. For a full list of Office Connector prerequisites and limitations, please refer to:

...

Panel
borderColor#ccc
bgColor#D5EFFF
titleBGColor#F7D6C1
borderStyledashed
Excerpt Include
Navigating to the Macro Browsernopaneltrue
Navigating to the Macro Browser
nopaneltrue

Once you have found the Office Word macro and have added the required parameter values, click 'insert' to add it to your page.

...

Excerpt Include
nopanel
_Details_about_macro_parameterstrue
_Details_about_macro_parameters
nopaneltrue

Parameter

Required?

Default

Description

File Name
(name)

yes

none

The file name of the Office Word document to be displayed. The document must be attached to a wiki page on your Confluence site.

Page Name
(page)

no

The page which contains the {viewdoc} macro

Enter a page name, if you wish to display a document which is attached to another Confluence page. For example:

Code Block
xml
xml
{viewdoc:name=my document.doc|page=Sample Page}

Space Key
(space)

no

The space of the page which contains the {viewdoc} macro

Enter a space key, if you wish to display a document which is attached to a page in another Confluence space. For example:

Code Block
xml
xml
{viewdoc:name=my document.doc|space=DOC|page=Sample Page}

Date
(date)

no

none

If the Page Name refers to a blog post instead of a conventional page, enter the date of the post in the form mm/dd/yyyy.

...

Panel
borderColor#ccc
bgColor#D5EFFF
titleBGColor#F7D6C1
borderStyledashed
Excerpt Include
Navigating to the Macro Browsernopaneltrue
Navigating to the Macro Browser
nopaneltrue

Once you have found the Office Powerpoint macro and have added the required parameter values, click 'insert' to add it to your page.

...

Excerpt Include
nopanel
_Details_about_macro_parameterstrue
_Details_about_macro_parameters
nopaneltrue

Parameter

Required?

Default

Description

File Name
(name)

yes

none

This file name of the PowerPoint presentation to be displayed. The document must be attached to a wiki page on your Confluence site.

Height
(height)

no

 

Specify the height of the display, in pixels (default) or as a percentage of the window's height. For example, to specify a height of 200 pixels:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|height=200}

This code also specifies a height of 200 pixels:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|height=200px}

This code specifies a height of 10 percent of the window's height:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|height=10%}

Page Name
(page)

no

The page which contains the {viewppt} macro

Enter a page name, if you wish to display a document which is attached to another Confluence page. For example:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|page=Sample Page}

Slide Number
(slide)

no

none

Specify the number of the slide which you want displayed on the Confluence page, starting with '0' for the first slide. Instead of a slide show, the page will display just the single slide represented as a JPEG image.

Space Key
(space)

no

The space of the page which contains the {viewppt} macro

Enter a space key, if you wish to display a document which is attached to a page in another Confluence space. For example:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|space=DOC|page=Sample Page}

Width
(width)

no

 

Specify the width of the display, in pixels (default) or as a percentage of the window's width. For example, to specify a width and height of 200 pixels:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|width=200|height=200}

This code also specifies a width and height of 200 pixels:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|width=200px|height=200px}

This code specifies a width of 10 percent of the window's width:

Code Block
xml
xml
{viewppt:name=my presentation.ppt|width=10%}

Date
(date)

no

none

If the Page Name refers to a blog post instead of a conventional page, enter the date of the post in the form mm/dd/yyyy.

...

Panel
borderColor#ccc
bgColor#D5EFFF
titleBGColor#F7D6C1
borderStyledashed
Excerpt Include
Navigating to the Macro Browsernopaneltrue
Navigating to the Macro Browser
nopaneltrue

Once you have found the Office Excel macro and have added the required parameter values, click 'insert' to add it to your page.

...

Excerpt Include
_Details_about_macro_parametersnopaneltrue
_Details_about_macro_parameters
nopaneltrue
Tip
titleReducing the size of the spreadsheet

Use the 'Last Column' and 'Last Row' parameters to reduce the size of the spreadsheet displayed on the wiki page. This is especially useful to prevent the display from showing empty cells. This will also help to prevent 'out of memory' errors.

...

Panel
borderColor#ccc
bgColor#D5EFFF
titleBGColor#F7D6C1
borderStyledashed
Excerpt Include
nopanel
Navigating to the Macro Browsertrue
Navigating to the Macro Browser
nopaneltrue

Once you have found the View PDF macro and have added the required parameter values, click 'insert' to add it to your page.

...

Excerpt Include
_Details_about_macro_parametersnopaneltrue
_Details_about_macro_parameters
nopaneltrue

Parameter

Required?

Default

Description

File Name
(name)

yes

none

This is the file name of the document to be displayed. The document must be attached to a wiki page on your Confluence site.

Page Name
(page)

no

The page which contains the {viewpdf} macro

Enter a page name, if you wish to display a document which is attached to another Confluence page. For example:

Code Block
xml
xml
{viewpdf:name=my document.pdf|page=Sample Page}

Space Key
(space)

no

The space of the page which contains the {viewpdf} macro

Enter a space key, if you wish to display a document which is attached to a page in another Confluence space. For example:

Code Block
xml
xml
{viewpdf:name=my document.pdf|space=DOC|page=Sample Page}

Date
(date)

no

none

If the Page Name refers to a blog post instead of a conventional page, enter the date of the post in the form mm/dd/yyyy.

...