| TWiki . Javadesktop . ProjectWonderlandPDFViewerAdmin |
<void property="document">
<string>http://research.sun.com/projects/mc/OH07MPK20-revised.pdf</string>
</void>
Note: The URL must be accessible to all clients, so file:// URLs will not generally work.
The size of the application is specified by the following properties:
<void property="preferredWidth">
<int>1024</int>
</void>
<void property="preferredHeight">
<int>768</int>
</void>
These are preferred values; the PDF Viewer will stretch the document to fit the specified width. If preferredHeight is too small to display the entire page, the document can be scrolled by click-dragging.
Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.
| Property | Type | Description | Default | Required? |
|---|---|---|---|---|
| document | string | the URL of the PDF document | http://research.sun.com/projects/mc/OH07MPK20-revised.pdf | Y |
| slideShow | boolean | whether to run in slide show mode | false | N |
| startPage | int | the first page of the slide show | 1 | N |
| endPage | int | the last page of the slide show | 0 == last page of document | N |
| showDuration | int | how long to show a page in slide show mode (milliseconds) | 5000 | N |
| showCount | int | number of times to loop the slide show | infinite | N |
| synced | boolean | whether to sync with other clients | true | N |
| preferredWidth | double | the preferred width in pixels | 1024 | N |
| preferredHeight | double | the preferred height in pixels | 768 | N |
| decorated | boolean | whether to display a border around the application | true | N |
----- Revision r1 - 03 Jul 2008 - 19:06:23 - Main.nsimpson
|