DjVu

for Java,
Created By
Foxtrot
Technologies
Inc.


Home
License
Downloads
Examples


Release Notes
Deployment
Properties
API
Introduction


DjVuLibre
DjVuZone
Any2DjVu
LizardTech
PlanetDjVu


Sponsors
LizardTech Inc.
Internet Archive

 
SourceForge.net

Project Page |  Home |  Forums |  Tracker |  Bugs |  News |  Files |  Cvs


Properties

The Java DjVu Applet exposes the Properties listed below. These allow web-page authors and developers to control the behavior of the applet. Typically these values are set as parameters to <APPLET>, <OBJECT>, or <EMBED> tags.

 

Name, Values, Default

Description

AboutURL, <url>, ReleaseNotes....html

A URL that points to the About Information for this Applet.

Examples:

  • <param name="abouturl" value="about.html" />
  • <param name="abouturl" value="http://www.foo.com" />

Cache, [yes|no], depends

Enables or disables predecoding and caching.

Examples:

  • <param name="cache" value="no" />
  • <param name="cache" value="yes" />

Cache_archive, <url>

Sun Java tag to enable caching of the jar file across sessions.

Example:

  • <param name="cache_archive" value="javadjvu.jar" />

Data, <url>, <<<<required>>>>

Specifies location and access method for the DjVu document.   This URL must be on the same site as the codebase. Java will not allow an unsigned applet to open documents on a separate website.

Examples:

  • <param name="data" value="../sampleimages/inhocannodomini.djvu" />
  • <param name="data" value="/solutions/document/samples/brattain/directory.djvu" />

HelpURL, <url>, http://javadjvu.sourceforge.net

A URL that points to the Help File.

Examples:

  • <param name="helpurl" value="help.html" />
  • <param name="helpurl" value="http://www.foo.com" />

Image, <url>

Sun Java tag pointing to the image to display while loading.

Example:

  • <param name="image" value="http://javadjvu.sourceforge.net/djvu_badge-140x49.gif" />

Keys, [yes|no], yes

Enables or disables keyboard shortcuts.

Examples:

  • <param name="keys" value="no" />
  • <param name="keys" value="yes" />

LogoURL, <url>, http://www.lizardtech.com

A URL that points to location selected by clicking on the logo.

Examples:

  • <param name="logourl" value="lizardtech.html" />
  • <param name="logourl" value="http://www.lizardtech.com" />

Menu, [yes|no], yes

Enables or disables the pop-up menu.

Examples:

  • <param name="menu" value="no" />
  • <param name="menu" value="yes" />

MouseMode, [pan|zoom|text], pan

Determines behavior of dragging mouse:  panning the image, select zoom or display hidden text.

Examples:

  • <param name="mousemode" value="pan" />
  • <param name="mousemode" value="zoom" />
  • <param name="mousemode" value="text" />

NavPane, [outline|none], none

Enables and sets the type of the navigation pane.

Examples:

  • <param name="navpane" value="outline" />
  • <param name="navpane" value="none" />

Page, [<number>], 1

Sets page to display, by number (1 ... number of pages). A large value may be used to indicate the last page.

Examples:

  • <param name="page" value="5" />
  • <param name="page" value="10" />
  • <param name="page" value="1000000" />

PageLayout, [single|book|cover],single

Specifies a page display layout of "single" page, "book", or book with a front "cover" page.

Examples:

  • <param name="pagelayout" value="single" />
  • <param name="pagelayout" value="book" />
  • <param name="pagelayout" value="cover" />

Prefetch, [yes|no], no

Enables or disables prefetching of pages in indirect documents.

Examples:

  • <param name="prefetch" value="no" />
  • <param name="prefetch" value="yes" />

SearchText, <string>, none

Seeds the initial search string.

Examples:

  • <param name="searchtext" value="author" />
  • <param name="searchtext" value="insects" />

Toolbar, [yes|no], yes

Enables or disables the toolbar.

Examples:

  • <param name="toolbar" value="no" />
  • <param name="toolbar" value="yes" />

Zoom, [<number>|width|page], 100

Specifies initial zoom level as a (number)% of original size, fit-width, or fit-page.

Examples:

  • <param name="zoom" value="300%" />
  • <param name="zoom" value="150" />
  • <param name="zoom" value="page" />
  • <param name="zoom" value="width" />

ZoomFast, [yes|no], no

If enabled, fit page and fit width zoom will reduce to an integer subsample rate for faster rendering.

Examples:

  • <param name="zoomfast" value="no" />
  • <param name="zoomfast" value="yes" />