Method:getDocReference()
E.g.
Var ref = ViewONE.getDocReference();
Gets the document reference for the document.
Method: getCacheFile()
E.g. var file = ViewONE.getGetCacheFile();
Returns a String value representing the local filename of the displayed image.
If the file was loaded locally then this value will be the actual local image file. If the file was loaded from a web server then this value will be the local ‘cached’ version of the image file.
*Important: This file must not be locked during read operations (or deleted, renamed. moved etc), as the applet will not be able to continue to use it and unpredictable results may occur.
isCacheAccessFailed ()
Returns true if access to the ViewONE cache fails. ViewONE may attempt to write to more than one location before and will only return true from this call if all attempts to write have failed.
25