Namespace: vvDefines

vvDefines

It is recommended that customers do not edit the values in the vvDefines.js file. Customer configurable fields are found in config.js and described in vvConfig . This file defines various constant variables for use in the VirtualViewer Client. These constants are not to be used for configuration purposes and should only be modified by Snowbound Software.

Members

(static) multipleDocModes :number

Define different methods for how the viewer will retrieve its document list.
Type:
  • number
Properties:
Name Type Description
viewedDocuments number The viewedDocuments option will pull available documents from a cookie holding document IDs that have been opened.
specifiedDocuments number The specifiedDocuments option will pull available documents an array passed into initialization.
availableDocuments number The availableDocuments option will request a list of available documents from the content handler.

(static) thumbnailTabs :number

Define the tabs controlling the thumbnail pane.
Type:
  • number
Properties:
Name Type Description
page number The tab showing page thumbnails.
document number The tab showing document thumbnails.
search number The UI for searching in a document or annotations.
note number The UI for document notes.
bookmark number The tab for managing bookmarks.
docCompare number The document compare tab displays text differences and comparison controls.
annList number The tab to list annotations and metadata about their creation.

(static) zoomModes :number

Define how the viewer zooms the current page.
Type:
  • number
Properties:
Name Type Description
fitWindow number Fit the current page so it is completely visible in the window.
fitWidth number Fit the current page so it is as wide as the window.
fitHeight number Fit the current page so it is as tall as the window.
fitImage number Not used.
fitCustom number Refer to a percentage zoom value rather than automatically calculating a fit.