DOCUMENTVIEWER -- Embed a presentation, spreadsheet, PDF or other document in a viewer

28 April 2022 - 07:54 | Version 1 |
The %DOCUMENTVIEWER% variable is handled by the DocumentViewerPlugin

Parameters

Parameter DescriptionSorted descending Default
width width of the embedded viewer 724
web Web the current web
topic Topic, or Web.Topic the current topic
format predefined height and width  
"attachment" Name of attachment to embed  
height height of the embedded viewer 1024

You can either specify the parameters height and width, or alternatively choose one of the predefined formats portrait, landscape or screen (4:3).

Examples

  • %DOCUMENTVIEWER{"presentation.odp"}%

  • %DOCUMENTVIEWER{"presentation.odp" height="600" width="800"}%

  • %DOCUMENTVIEWER{"specification.pdf" web="Projects" topic="SomeProduct" format="portrait"}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
Syndicate this site RSS