Viewone Javascript API Manual

Viewone Javascript API Manual

ViewONE JavaScript API Manual Version 3.0 Last Updated: 04th May 2005 Copyright Daeja Image Systems. All Rights Reserved. Email: [email protected] Web site: http://www.daeja.com DAEJA IMAGE SYSTEMS Contents Introduction................................................................................................................................................ 7 The Applet user interface........................................................................................................................... 8 ViewONE Standard...............................................................................................................................................................9 ViewONE Pro .....................................................................................................................................................................10 Mayscript parameter............................................................................................................................................................10 Apple Macintosh users (JavaScript)....................................................................................................................................10 Apple Macintosh users (HTML) .........................................................................................................................................11 Setting up Windows 2003 server.............................................................................................................. 12 ViewONE JavaScript Overview ............................................................................................................... 15 JavaScript Reference................................................................................................................................ 16 Security note: Change since ViewONE 3.0.99 Standard and 1.0.99 Pro ............................................................................16 General Applet Control...................................................................................................................................... 17 isReady() .............................................................................................................................................................................17 getVersion().........................................................................................................................................................................18 Opening documents and images........................................................................................................................ 19 openFile(filename, page).....................................................................................................................................................19 closeDocument() .................................................................................................................................................................19 initializePageArray(numPages)...........................................................................................................................................19 setPageArray(filename, page) .............................................................................................................................................19 openPageArray(page)..........................................................................................................................................................19 initializePageAndThumbsArray(numPages).......................................................................................................................21 setPageArray(filename, page) .............................................................................................................................................21 setThumbsArray(filename, page)........................................................................................................................................21 openPageArray(page)..........................................................................................................................................................21 initializeDocumentArray(numDocs) ...................................................................................................................................22 setDocumentArray(filename, index) ...................................................................................................................................22 openDocumentArray() ........................................................................................................................................................22 openList(listFile, page)........................................................................................................................................................22 reloadList()..........................................................................................................................................................................23 openDoc(index)...................................................................................................................................................................23 nextDoc() prevDoc() ...........................................................................................................................................................23 firstDoc().............................................................................................................................................................................23 lastDoc()..............................................................................................................................................................................23 getDocIndex() .....................................................................................................................................................................23 getNumDocs().....................................................................................................................................................................23 getNumPages()....................................................................................................................................................................23 setPage(page) ......................................................................................................................................................................24 getPage() .............................................................................................................................................................................24 nextPage() ...........................................................................................................................................................................24 previousPage().....................................................................................................................................................................24 setDescription(description) .................................................................................................................................................24 getDescription()...................................................................................................................................................................24 getDocReference() ..............................................................................................................................................................25 getCacheFile().....................................................................................................................................................................25 isCacheAccessFailed () .......................................................................................................................................................25 DAEJA IMAGE SYSTEMS Specifying an Annotations File.......................................................................................................................... 26 setAnnotationFile(filename)................................................................................................................................................26 Saving documents and images ........................................................................................................................... 27 save(filename) .....................................................................................................................................................................27 savePage(filename) .............................................................................................................................................................27 saveSelected(filename)........................................................................................................................................................27 isMultipageTif() ..................................................................................................................................................................28 Document hyperlinks ......................................................................................................................................... 29 setHyperlink(url, dblClick) .................................................................................................................................................29 clearHyperlink() ..................................................................................................................................................................29

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    88 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us