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

The %DOCUMENTVIEWER% variable is handled by the DocumentViewerPlugin

Parameters

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

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"}%
Kontakt
Pädagogische Hochschule Schwyz
Zaystrasse 42
CH-6410 Goldau
T +41 41 859 05 90
info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
This page was cached on 31 Jan 2025 - 15:01.
This website is using cookies. More info. That's Fine