Docview Applet SpecificationNetBrand
 imaging » support » specs » docview applet   company | products | support | order | demo | home 


Overview
User Interface
Documents
Display
Printing
Annotation
Notes
Compound Docs
MODCA Annots
Text Notes
Resources
Searching
Index
 2006B

Welcome to the Docview Applet Specification Pages!

Your custom Docview Applet is built with features for Document Display, Printing, and optionally Annotation, Notes, and Advanced Manipulation. Every tool is configurable and positionable by the developer, providing end-users with the application-specific viewer they require. There are two ways to program your custom Docview Applet:
  1. Using Applet Parameters to configure the applet and specify initial documents to view.
  2. Using JavaScript to add and remove documents and perform other functions.
Specifying URLs

Applet parameters and commands take URLs in standard form: "http://website/dir/file.ext".  For convenience, the URLs fed to the applet may be specified as relative to the applet.  For example, the following forms may be used:
  • <PARAM NAME="doc2_url" VALUE="doc.tif"> - loads the doc from the same directory as the applet.
  • <PARAM NAME="doc3_url" VALUE="/banking/docs/chq55904663.tif"> - loads the doc from the same server as the applet in the given directory.

Specifying the UI

All buttons, scrollbars and menus are positioned in the viewer using special applet parameters.


Please see the User Interface page for details.


Specifying Docview Applet Parameters

Parameters are read by an applet upon startup.  They are of the form:
    <PARAM NAME="param_name" VALUE="param_value">



Specifying Docview Applet JavaScript Commands and Queries

The Docview applet implements methods which perform commands.
    viewer.ExtCmd('[viewer_cmd]');
    viewer.ExtCmd('[viewer_cmd][cmd_arg]');

The Docview applet also implements methods which return string variables.
    var_str = viewer.ExtQuery('[viewer_query]');
    var_str = viewer.ExtQuery('[viewer_query][query_arg]');




For further information please register or e-mail info@netbrand.com.

  company  |  products  |  support  |  order  |  demo  |  home  
COPYRIGHT © 1997-2007. ALL RIGHTS RESERVED.