Home

JAVA Tech nologies Co. Ltd. Marine Radio VERSION 3.0 User's Manual

image

Contents

1. Method getBrightness E g var percent ViewONE getBrighness Returns the current brightness percentage setting 0 100 setContrast percent E g ViewONE setContrast 40 This method sets the contrast of the image displayed The value represents a percentage from 0 100 with 50 being the default value O minimum contrast flat and 100 maximum brightness not flat If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only resetContrast E g ViewONE resetContrast This method resets the contrast level to 50 the default value If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only getContrast E g var percent ViewONE getContrast Returns the current contrast percentage setting 0 100 45 Method Method Method Method Method setLuminance percent E g ViewONE setLuminance 70 This method sets the luminance of the image displayed The value represents a percentage from 0 100 with 50 being the default value 0 minimum luminance dull and 100 maximum brightness bright If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the indi
2. Produces a print dialog to allow the user to print the current page Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true printDocument E g ViewONE printDocument Produces a print dialog to allow the user to print the current document available for multi page documents only Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true printRange E g ViewONE printRange Produces a range dialog followed by a print dialog to allow the user to print a range of pages in a document available for multi page documents only Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true 56 Method Method Method printSelected E g ViewONE printSelected Produces a print dialog to print pages selected using the page select menu available for multi page documents only Can be used with the selectPage pageNumber and clearSelections methods to print any page or group of pages within a document Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true printVisible E g ViewONE printVisible Produces a print dialog to print the image display visible Security note This method is disabled by default unless the JavascriptExtensions
3. indicates that it is not isStatusBar E g var statusBarVisible ViewONE isStatusBar Returns a Boolean value of true if the statusbar is visible else a value false is returned 61 Method Method setFileButtons true false E g ViewONE setFileButtons true Specifies whether the toolbar includes file buttons A value of true default indicates the buttons are visible and false indicates they are not The file buttons are Open Close Save Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isFileButtons E g var buttonsVisible ViewONE isFileButtons Returns a Boolean value of true if the file buttons are visible else a value false is returned 62 Method Method Method setimageButtons true false E g ViewONE setlmageButtons true Specifies whether the toolbar includes image buttons A value of true default indicates the buttons are visible and false indicates they are not The image buttons are Zoom area Zoom in Zoom out Fit to width Fit to height Best fit Rotate clockwise Rotate counterclockwise Rotate 180 Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true islmageButtons E g var buttonsVisible ViewONE islmageButtons Returns a Boolean value of true if the image b
4. method Label colors are specified using the standard RGB values and where no color is specified i e null then the default color is white Notes The label array begins at array element zero Labels will remain visible until the document is closed or the clearLabels method is called If you do not want to define a label for either the full page area or a thumbnail then specify the label as a null string e g ViewONE setLabel null null thumb 1 null 0 This example sets up a label for the thumbnail for the first page 54 Method Method Method Method Selection and clipboard selectPage int pageNumber E g ViewONE selectPage 4 Toggles the select property on the page in a document indicated by the pageNumber parameter available for multi page documents only clearSelections E g ViewONE clearSelections Clears all page selections in the document available for multi page documents only copyPageToClipboard E g ViewONE copyPageT oClipboard Produces a print dialog to allow the user to print the current page Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true getSelection E g selection ViewONE getSelection This method returns a comma delimited string containing any pages selected by the user 55 Method Method Method Method Printing printPage E g ViewONE printPage
5. parameter is set to true printTransformed E g ViewONE printTransformed Generates a print with rotate invert and flip modes applied to the image Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true setPrintDialog true false E g ViewONE setPrintDialog false This method applies only when the print accelerator is used When this parameter is set to false printing will take place without showing the standard print dialog If the user has not printed using ViewONE with the accelerator previously then the users default printer will be used Otherwise the last printer used by the user with ViewONE print accelerator will be used 57 Method Method Method isPrintDialog E g var dialog ViewONE isPrintDialog Returns a Boolean True if the print dialog is enabled False if it is not setPrintCopies integer E g ViewONE setPrintCopies 2 This method is effective only when the print dialog is disabled by calling setPrintDialog false or using the equivalent HTML tag This method sets the number of copies that will be printed when printing a page pages or the document setPrinter string E g ViewONE setPrinter myprinter This method is effective only when the print dialog is disabled by calling setPrintDialog false or using the equivalent HTML tag This method sets the ViewONE default printer to
6. DAEJA image systems Applet JavaScript 3 Manual ViewONE JavaScript API Manual Version 3 0 Last Updated 04 May 2005 Copyright D aeja Image Systems All Rights Reserved Email info daeja com Web site http www daeja com DAEJA IMAGE SYSTEMS Contents O AA A AN 7 The Apple user INLET LACE svesscssdscscenscieasessivnceeindoussaivaunessinedesdaihaseiendedenstasvdansvekesbussesbivnnvadndbesduandvavenssdbetsaseas 8 VIEWONE S Catid ards siccictvetscicssevnensivubontens cis natevcbtvace E shesslcnepubecuavadeen ae dycudh lessveneattensebeusts 9 VIEWONE Pro tives 255 sies sed eta vie 10 Mayscript parameters piro in rc dia 10 Apple Macintosh users JavaScript sssrini aeres np crea sereni e oE e o eE EEEE NEA E SKEE SE enre SEE SE 10 Apple Macintosh users HTMD irene E A havin E a e aa coa 11 Setting up Windows 2003 Servet sui diia ci e RR dice ieee E AA AR radar 12 View ONE AVES CADENA da 15 Java CPE COR GE 16 Security note Change since ViewONE 3 0 99 Standard and 1 0 99 Pro ooooonoccoccnoccconccononononnnonnnonnnnnnnnncnnn cono co naco nooo nooo corno 16 Gencral Applet Controleren nsss serino a e oare a Erara anasa S oe Era p Eo EE Sora 17 IRC Oi eee eee E E E R R 17 BECV ETSIONCG A A e 18 Opening documents and IMages ssesssrcsscsssssccssssscssssssseccsssssssssssssssesssscssssssssssccsssssssssssssssscssssessesssssssssosssscs 19 openFile Hlename Pt saa eee dt 19 ClOSEDOCUMENT A A A aE S a n e 19 initializePage
7. E g ViewONE setPage 2 Sets the current page number an integer getPage E g var page ViewONE getPage Returns the current page number as an integer nextPage E g ViewONE nextPage Convenience method to view the next page current page 1 previousPage E g ViewONE previousPage Convenience method to view the previous page current page 1 setDescription description getDescription E g var desc ViewONE getDescription ViewONE setDescription myDoc Gets or sets the description for the document The description is used when opening the document in ViewONE Opening docXYZ or Opening docXYZ page 2 will be displayed in the status bar 24 Method Method getDocReference E g Var ref ViewONE getDocReference Gets the document reference for the document 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 f
8. 2 8c ole A skinte nende ee ias 73 setPreference Menus true false ii cio sheen users eieae eti erh teek ee renere sree tieer ernai oV E eere er tie 74 is Prefere e Mens inde a bitrere dnb A n a a E Eea 74 set AllMenusttrue f lse ii A colt aaie ae eh EE 75 ISATIMENUS Oi A AE AE es GENE 75 setFileKeys Uli A A Ad balder 75 DAEJA IMAGE SYSTEMS 11 sp 1 GE OR aaa ee a aaa Lah PD eS 75 setimapeKeys truellal ii pe da 76 isImage st Se eek ea eA i on Pe ee tee is A 76 setPrintKeys IU loci aia sudanesiske 71 SPORE SO as TT setViewKeys trueffals unssanssenstomsameskaanekesesaatngemi an pacas 71 1S VIEW KA E S 78 setPageKeys true false jrendi 78 isPageKeys nenien pta 78 SetSelectKeys true falSe csi cece 3605 bcs a idiota 78 isSelectKeys redrem nnne A ide di 79 s etAllKeys tr e falSe nien a dad cad A de 79 ISAT Oi A Ad A RE aid dia 79 Timeout User Idle Control seesessvnsnvennennenevsnnennennennneenevnennnnennennenensnnennensennneenennnnnnnennennenensnnennenneneneenennnnnnennennee 80 set Timeout seconds unnatdk keen 80 pet TIMEOUT E E E tatere 80 SLOP TIMEOUT ee mi ree a E E EATE E EE A E R E E E A E A A aditee 80 OO A PPP eee 80 aime lin as 81 WAK CWP ani is 81 The Event Handler and Event Handling sccsssccssssscsssccssssccssssssssscsssssssssscsssscsssssssssessssssscsssssssssssessssses 82 Events handler change in VieWONE Version 3 sernvrenvrrvvverrvernvernvvrnrnrernenvveevrnsnnervensvnenvennvennersnevsvsvevaveras
9. All full pages rendered event occurs only once per document 40 Reserved This event is generated at regular intervals specified by the KeepAliveTime 41 Keep Alive HTML paramater The text accompanying the event is specified by the KeepAlive HTML paramater 42 Save Complete Generated when a document is successfully saved 43 Catha Asses Denied This event is generated if all attempts to write to a ViewONE cache have failed 86 Event Handler example lt html gt lt head gt lt title gt ViewONE Event Handler Demo lt title gt lt head gt lt body bgcolor COCOCO text 000000 topmargin 0 leftmargin 0 gt lt script LANGUAGE JavaScript gt SUE function myhandler id text alert id text gt lt script gt lt applet CODEBASE vlfiles ARCHIVE 3ji jar CODE ji applet jiApplet class AME ViewONE D ViewONE IDTH 100 EIGHT 97 SPACE 0 SPACE 0 LIGN middle IAYSCRIPT true gt Z PEE S lt param name cabbase value 3Ji cab gt lt param name eventhandler value myhandler gt lt param name eventInterest value 9 37 39 gt lt param name backcolor value 192 192 192 gt lt param name filename value mydocument tif gt lt applet gt lt body gt lt html gt 87 Testing your Event Handler There may be cases where LiveConnect is n
10. NN 45 SEtTCOMUPASE PELCENL 1 ses Asda severe ch a A A a 45 A rio aent SEN 45 gentil a A a a iS 45 SEtLUMIMNANCE PELCEMLY ii dido 46 PESADA A A A as 46 getLuminaic id tas 46 getIm geWidth sesir enres aeo ea raa datter a E oa EE a suid Bea vob Ses Aue dens Gs guide disk GavGs co EEE EE Oe 46 setImageHeightO serrian a na cuts caesuach sabevocuasusvs NO 47 SetXResolutionNussiskasaaakdskdadalkagaastbea kat svake e aiii 47 get YR SOLUti0nNrssiskssearlea aallbesaasan kalkun side Aeneas 47 VEIA A A pe A 48 A O eee er 48 TES 48 setAreaZoomutrue false asked leo ed 49 LA e e er 49 e NN 49 setMagnifier true false miresi nin n E E O a 49 setMaenifierinternal true false s s n E EE T E E ET EE eE EEE EREE 50 IMA A RAGE ANA EG 51 togele Mat eksen 51 setMarFacir Di ada 51 peMagFactor a paa 51 setMagBounds int x int y int width int height oooncnnncnnnnnnnnnonnnonononcnoncnnnconoconoco non nono nono no on nono conocio non nnnn canon nn cane cn neon acen ncnos 51 setNew Window Visible true false marene e e a e a e a a ae ea Eee eE a EE aa nerea oeiee eonan 51 ISNEW WindowVisibleQ td a 52 setlmageForeColoH colina ii 52 showImageForeColorDialogO cccicconvccoiondeiosndas cs cubs aeea co eaae e lashes tveesecuetecuscp sede nou dohevseb inde sechsBereedsgebstenestests 52 setimaseBackColor colo iii A id 53 showImageBackColorDialog cerises iioii naea reies lasse ge Ee E ta sdhcusck codi custecus ch suds edu dghevees tuba se RE EE E 53 BAD A sedes
11. angle should be one of 0 90 180 or 270 The JavaScript method initializeRotationArray should be used to set the size of the rotation array before this method is called The method returns true if the page rotation was successfully set or false if the set failed for instance if the specified page is an invalid index in the rotation array initialized using initializeRotationArray applyRotationArray E g ViewONE applyRotationArray Applies the rotation array set up using the initializeRotationArray and setRotationArray methods to the current image getRotation E g var angle ViewONE getRotation Returns the angle of rotation as an integer 39 Method Method Method Method rotateClockwise E g ViewONE rotateClockwise Convenience method to increase the rotation by 90 degrees If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only rotateCounterclockwise E g ViewONE rotateCounterclockwise Convenience method to decrease the rotation by 90 degrees If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only rotate180 E g ViewONE rotate180 Convenience method to rotate the document to 180 degrees If the document is closed when this me
12. html 11 Setting up Windows 2003 server If your server is running Windows 2003 with IIS 6 you will have to add two file extensions to your web site MIME Types Unlike previous Windows servers Windows 2003 permits only a limited number of file extensions by default all others must be enabled manually using the IIS console The additional mime types required to operate ViewONE are v1 and ant Note if they are not added to IIS 6 then ViewONE will display messages during start up that files with these extensions could not be found Both file extensions should be set to the mime type application octet stream as follows Open up IIS 6 console then right click on the top web space entry to highlight Properties E micemet Indcemalion Services 115 Manager Eg pa pesen yem ecos ji e of Shi aj TE een Nene Stag EE al Connect Sen n E running E A Ser ca E Mai egu A a A fem 12 Click on the properties menu to display the properties dialog DATA BEA local computer Propertios Use the New button to add two new MIME types 13 Click OK until you return back to the main console dialog Right click once again on the main web space entry Click on the Restart IIS menu to activate the new MIME Types E Initemel Indormalion Services 115 Manager 14 ViewONE J avaScript Overview The ViewONE Javascript API offers an a
13. indicates they are not The menu is as follows Method isSelectMenus E g var menusEnabled ViewONE isSelectMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 73 Method setPreferenceMenus true false E g ViewONE setPreferenceMenus true Specifies whether the preference pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows pise Thunbreds langer ES Method isPreferenceMenus E g var menusEnabled ViewONE isPreferenceMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 74 Method Method Method Method setAllMenus true false E g ViewONE setAllMenus true Specifies whether the all pop up menus are available A value of true default indicates the menus are available and false indicates they are not Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isAllMenus E g var menusEnabled ViewONE isAllMenus Returns a Boolean value of true if the menus are enabled else a value false is returned menus are available and false indicates they are not setFileKeys true false E g ViewONE setFileKeys true Specifies whether the hot key
14. is released the area selected will be zoomed as large as possible whilst maintaining the image aspect within the available window area If the selected area is not greater than the zoom trigger size currently 20 20 pixels then zooming will not occur This allows the user to release the mouse if the mode was initiated accidentally If false mouse functionality returns to drag mode to pan the image isAreaZoom E g var areaZoom ViewONE isAreaZoom Returns a Boolean value indicating the zoom area status toggleAreaZoom E g ViewONE toggleAreaZoom This toggles ViewONE zoom area mode When in zoom area mode the cursor will change to a cross hair and the user can select an area to zoom using the cursor When not in zoom area mode the cursor can be used to drag scroll the image setMagnifier true false E g ViewONE setMagnifier true If true displays an external magnifier window A rectangle is visible around the mouse pointer which highlights the area being magnified If false the magnifier window is hidden 49 Method setMagnifierInternal true false E g ViewONE setMagnifierInternal true If true displays a magnifier window internal to the display area If false the magnifier window is hidden Internal rm 4 ney i i External a Magnifier al gt Magnification x 2 50 Method Method V3 Only Method Method Method Method isMagnif
15. seets Leransea andl E E E EE EE E E EE E EE EE kreert 63 s tPrintB ttons true false Janaren inre ee E E a dadas 63 DS O 64 setInvertButtons true false dale 64 isInvertButtons id 64 set NewWindowButtons true false cccccccecesssscecsecececseececeesececseaeececseececsessececseaaececeeeeecessaeeecseaaececseseecesaeeecseaaeeeseeeeeeess 64 isN wWindowButtons O kis e ek NRSR R seca ERSE EE cavsaccucapeecdd ces stivaceedtiedestaivedentteedesaees 65 s tViewButtons true fals Jnn enian e ie didas 65 is View Buttons RES 65 s tAllBu ttons tr e false ies 65 SAMBA lie 66 setPageButtons triie false iaa eten 66 PILES ee kasus eden eek 66 toggle Adj stl 00 iii unseen bh A tie ad Mba dito See casei oh kits it pi 67 SetAdjustTool VISIO AMO Da Ai 67 ISAdJUS LO VIS a io cecvoebotoets vee ETE A E E tonic abia 67 MANS ON 68 AY AAA A A O O O OO TA 68 TEM dios 68 set ViewMenus true false ii il dale iia 69 isViewMenus eee ae e a ads 69 setlmage Menus trute false s minie e e dunes E E ETE E KEN A ae ii EE a a ea ir xdas 70 islmageMenus Osen a a E kin E E A AEE A Ar E r EE a e aei 70 setPrintMenus true false iia ind 71 ISP Mens tia il lencia dd eat 71 setPageMenus tie fals otrora inten hee sapuesabecea bue itvencve op kdesapuessdecaubovddesguebovd sober bee dune A E E ea ia 72 1SPageMenusOanusesnekugsanrsdstkin ogsaa sebra bes A EE A E E supeceeyhcoudpianvicebentees 72 setSelectMenus true false A len aladdin 73 IsSelectMenus 0s
16. the default color used for the foreground text of monochrome images Change loregr sssd coir _ mi gunn ET E 0 OK Caneel 52 Method V3 Only Method V3 Only setlmageBackColor color E g ViewONE setlmageBackColor 255 255 255 This method sets the default color used for the background of monochrome images Colors are specified using the standard RGB values showlmageBackColorDialog E g ViewONE showlmageBackColorDialog This method will cause ViewONE to display a dialog to allow the user to change the default color used for the background of monochrome images 00 255 755 Samat 53 Method Group Labels initializeLabels numLabels setLabel pageLabel pageLabelColor thumbLabel thumbLabelColor labelNum useLabels clearLabels E g ViewONE initializeLabels 3 ViewONE setLabel Page label 1 null thumb 1 null 0 ViewONE setLabel Page label 2 null thumb 2 null 1 ViewONE setLabel Page label 3 223 223 255 thumb 3 255 223 223 2 ViewONE useLabels ViewONE openFile mydocument tif 1 This method group specifies the number files labels in a list then specifies each label Each one representing a successive page of the document and specifying the label to be displayed for the full page area and the corresponding thumbnail It then sets the labels in use by calling the useLabels
17. the one specified as the parameter The parameter must be the name or unique part thereof as seen by the users printer settings The printers default settings will be used for each print e g orientation resolution etc 58 Method setPrintHeader headerString E g ViewONE setPrintHeader page ft of HH Printouts can include custom text at the top of each page By default this text is set to the page number followed by the number of pages in the document The following options are available false This value will disable print headers any text This is the text that will appear at the top of each printed page For example it could be your own copyright for the documents being viewed or some other informational text formatted text The text can include some limited formatted elements as follows page This will print the word page in the appropriate translation of Similarly for the word of pages Similarly for the word pages This will print the page number of the page being printed HH This will print the number of pages in the document An example Spage of O Copyright blah 2000 Note 1 The default value is page Sof Note 2 Print headers are available for Internet Explorer 4 01 Netscape 4 06 and the Java Plugin 1 3 The Java Plugin 1 2 2 does not offer sufficient functionality to permit print headers and so they will not be seen if using
18. Array MUMP ages 2 c5 sseisepseessecesstpsnsesesessehsces sepussdveae esos E EE ES EEEE SE R TEEPE EESTE ES des E EE E Eor ESE EEr iS 19 setPageArray filen me AAPP O o ESEE Treast 19 OopenP geArray page NN 19 initializePage AndThumbsArray numPages roenn ar aE AEE EEE EET E T A E EE aE 21 setRaseArray filename Page lero ea E E AE E E E S E A A A A a a E S 21 set humbsArray filename page sss ireira am seter 21 OpenPaseArray Page rane E E A EA EE aE O E cade 21 initializeDocumentArray MUMIDOES ee senii era EEEE E E RE TAE E T A A eE iE 22 setDocumentArray filename Index orisni id A a E ie 22 openDOCUMEN ATTAYO sirere m resent E E E E EE EEEE ie kuk as 22 openList listElle page ccoo ni E E EE E EEEE I E AEE EEE AEE EEE E EE EE R e 22 reloadListQ unissarnasesnnde dansar dees endr a Ios 23 openDo c mdex ae II AIN sist kratere 23 nextDoc PrevDOCO s moen eirin les eck saechesaned dee E ET E AAE cdesacedaeeaetens Ta ceusntey grr eies 23 s Lo ol GE GE ia 23 A side e EEA Ee Gan Ai ee annan ORE E S AE asia eiet 23 geDocInde A rea gras vec ian 23 ANA katta ean deewennaes EE a ETER E S 23 seNumPares iria 23 SEtTPASE Par near arie 24 A kikket sk NN 24 NEXtPAGE ARAN 24 pievio sPaze O onene aE A biela 24 s tDescriptionideseription AN E ETA 24 LAIDA nA TOI o O P S E E E EE EE etade 24 getDocReterenco cia a E EE E O A 25 petCacheFle Ocaina a a E ee e aT A E S E S ease EEEN 25 is acheAcc ssFailed EEE E IE SR E E A A ee RR
19. E g ViewONE wakeUp This method will wake up the applet if it has timed out see setTimeout The user will then be able to use the applet as normal Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true 81 The Event Handler and Event Handling ViewONE introduces the concept of applet JavaScript event handling This is a mechanism by which it is possible to use JavaScript to monitor user activity and other selected actions performed by the ViewONE applet This can be a powerful facility for example it allows user activity and usage to be logged and or actions to be performed dependent on what the user is doing has done e g charge for specific services like printing perform actions on double clicks monitor documents opened etc The event handling is first enabled by the use of the HTML tag eventHandler and the MayScript tag see example below The eventHandler tag must be set to the name of a JavaScript function conforming to the following specification When the applet is initialized it will call this function passing it parameters relevant to the action performed as described below The JavaScript event handler must be specified with two parameters id integer and text String but can be any name of your choice as follows Function myEventHandler id text alert Event received id id text text In this example the
20. E setPageButtons true Specifies whether the toolbar includes page buttons A value of true default indicates the buttons are visible and false indicates they are not The page buttons are First page previous page next page last page and a drag bar for page selection ee isPageButtons E g var buttonsVisible ViewONE isPageButtons Returns a Boolean value of true if the page buttons are visible else a value false is returned 66 Method V3 Only Method V3 Only Method V3 Only toggleAdjustTool E g ViewONE toggleAdjustT ool This method toggles the visibility of the adjust tool brightness contrast luminance setAdjustToolVisible OnOff E g ViewONE setAdjustToolVisible True This method sets the visibility of the adjust tool brightness contrast luminance isAdjustToolVisible E g var onOff ViewONE isAdjustToolVisible This method returns the visibility of the adjust tool brightness contrast luminance 67 Method Method Menus and keys setFileMenus true false E g ViewONE setFileMenus true Specifies whether the file pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows peer Fike 0 pen WE EStdt Gloss ch Fer paradas MA Saree paga Security note This method is disabled by d
21. MN e E o e De IE e ee ae 37 SECO UU a aA Ara Rests PR ee A ERE 37 ISINVEFEM iss eRe SRA kennelen A 37 setEnhance true false 2 it eu Pah Se A a ee an A eh Oe 37 isEnhance true fals nn ssatiussfernL SOGN LRS AA AE A NERE 38 setEnh nceMode mode i unsibanfeaeuKTaan Sate A a ee i R e EERE 38 getEnhance Modena A ke ae etat 38 s Rot tion anglekuu gik naskakstdet ad as 38 initializeRotationArr yant SIZE cicatrices deis 39 SetRotationArray nt angle nt Page ii 39 applyRotationAtra YO cora 39 SEtRotat on ai a A a dodo AE 39 TAE Cd ede Meee Seis eer sis eR ae eens ee 40 fotateCounterclOCkWiseQ intense ies 40 FOLATE BOO AP eee ce lo Saat a he 40 SEEM Md A SA A A 40 oli ii S 41 SAS CAC ruslet See SER 41 A O NR 41 at see 41 SEtS tales SITING ta A 42 7061 EDIO ASEL EE ere A ak ena ee 42 DAEJA IMAGE SYSTEMS ZOOMOUL A ee A ces tts A eh E A ee 42 A010 110 00 eee eee ee eee 42 IL ee ee eee 43 setZ oomAndX Y Scroll ZOOM KP aars dekreter Setenta end 43 zoomArea x y width height highlight secomds essecssecsescecseeeesseecesceesseecuceesneecuceesaeecueecseeeesaeeseaeecsaeeseeeecseeeeenters 43 setXYScrol amp Pans ia ah ce eh a to 43 DAI 44 ISDragemebnabled reci ino e sperre legos bebcevadodeseavasepeunti veacyootepsaaevbondevns deira 44 setBriehtness percent one en a Saves sep echantes paa 44 resetBriehtness O carta an E E E eA sub oudia ooh cubed tues EEE E RAAE dead ci seats 44 PEtBrightness0 ua a scsc A
22. T gt ViewONE Pro If you have downloaded ViewONE Pro with or without the Print Accelerator Annotations DjVu PDF or other optional modules then to use ViewONE Pro on your web site setup a web page containing the following HTML lt APPLET CODEBASE ARCHIVE ViewONE jar CODE start jiViewONE class NAME ViewONE WIDTH 100 HEIGHT 97 HSPACE 0 VSPACE 0 ALIGN middle MAYSCRIPT true gt lt PARAM NAME cabbase VALUE ViewONE cab gt lt APPLET gt In each case you must change the codebase value to point to the location of the v1files directory that contains ViewONEs resource files i e ji jar ji cab and other v1 files The codebase parameter specifies the location of the ji jar ji cab and other files relative to the location of the HTML page So in this case it specifies the current directory which is 3 Note PARAM NAME cabbase is required for Microsoft Explorer users Our downloadable demos include examples to assist you Mayscript parameter When using JavaScript it is important to include the MAYSCRIPT parameter see both HTML samples above This parameter is an enabler for the JavaScript interface Without it calls to JavaScript will not work Apple Macintosh users JavaScript Depending on the version of the operating system used by Apple Macintosh computers JavaScript may or may not operate correctl
23. ailable window width in which case a horizontal scroll bar appears getScale E g var scale ViewONE getScale Returns the integer scale value getStates E g states ViewONE getStates Returns a coded string to be used with setStates When this method is called while a document it open it returns a string containing information about the current zoom scroll and other states 41 Method Method Method Method setStates string states E g ViewONE setStates states Sets the zoom scroll and other states to the values specified by the coded string This method should be called before opening a document The getStates and setStates methods together permit the viewing states to be restored when a document is closed and re opened zoomin E g ViewONE zoomIn Applies a 25 increase in zoom Note at first ViewONE will attempt to use the scale modes fit to width fit to height and best fit if they are more appropriate The zoomin function will increase the zoom factor only after the scale modes are no longer suitable zoomOut E g ViewONE zoomOut Reverses the effect of zoomin zoom100 E g ViewONE zoom100 Zooms image to 100 full resolution 42 Method Method Method Method setZoom zoom E g ViewONE setZoom 2 0 Zooms to the value specified The value is specified as a double value 1 0 100 or 1 image pixel 1 screen pixel 2 0 200 or 1 imag
24. ails 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 Method Specifying an Annotations File setAnnotationFile filename E g ViewONE setAnnotationFile http mysite myannotations ant This method sets the annotation file and must be called before any of the open methods described above If the current document is closed after this method has been called the annotation file will be reset To avoid this close the current document before setting the annotation file as closing of the current document can be a side effect of calling other JavaScript methods for example initializePageArray e g viewONE setAnnotationFile http annotations ant viewONE openFile http mydocument tif 1 or viewONE closeDocument viewONE setAnnotationFile http annotations ant viewONE initializePageArray 2 viewONE setPageArray http page1 tiff 0 viewONE setPageArray http page2 tif 1 viewONE openPageArray 1 26 Method Method Method Saving documents and images save filename E g ViewONE save c temp image tif Saves the current document multi page tiffs or current page multi file documents to the specified filename If filename is null either the save dialog is displayed or if a server side save component has been specified the image is sent to the s
25. code to do whatever you need to do then function errorHandler if we get here it is probably because a call has been made to the applet before the browser has had time to initialize it it can therefore be ignored getVersion E g var version ViewONE getVersion Returns a String value representing the product version 18 Method Method Method Group Opening documents and images openFile filename page E g ViewONE openFile myimages tif 1 Specifies the filename and initial page of the document to be viewed This filename can specify either the filename relative to the code base as above or the full URL The code base is specified in the HTML code for the applet see previous example An example of a full URL is as follows E g ViewONE openFile http mysite myimages tif 1 closeDocument E g ViewONE closeDocument Closes an open document NOTE Closing the open document also resets annotations annotation templates and background images initializePageArray numPages setPageArray filename page openPageArray page E g ViewONE initializePageArray 3 ViewONE setPageArray page1 tif 0 ViewONE setPageArray page2 tif 1 ViewONE setPageArray page3 tif 2 ViewONE openPageArray 1 This method group specifies the number files pages in a list then specifies each file each one representing a successive page of the document th
26. d on a page 8 dblclick page n of n User has double clicked on a page 9 page page nof n User has changed page 10 timeout page nof n lae E ae timed out See JavaScript method setTimeout 11 Reserved 12 select page page n of n User has selected a page 13 unselect page page n of n User has unselected a page 14 mouse down page n of n User has pressed a mouse button 15 mouse up page nof n User has released a mouse button 16 Reserved 17 Reserved 18 Reserved 19 Reserved 20 cordocumentedoanm t n User has selected the next document in the list this applies only when the doc lt N gt HTML tag is used see HTML manual 21 end tab The user has used the tab key to change focus while the last focusable component in ViewONE already had focus ViewONE will assign focus back to the first in its list however you may override ViewONE by using this 84 event to switch focus to any alternative component on your web page 22 ready The applet has just been started and is ready to accept JavaScript calls i The user has activated an annotation JavaScript hyperlink see rt dd annotations configuration manual 24 annotations save ok Annotations have just been saved 25 annotations save failed The annotations save operation has just failed 26 print cancelled A print dialog or print job has been cancelled 27 7 print ended A print job has been succe
27. e if not setAutoLimitPDFMemoryValue value E g ViewONE setAutoLimitPDFMemoryValue 10000000 This methods controls the way ViewONE limits resolution when using the limiter described above The parameter dictates the maximum amount of memory that is permitted for a decompressed PDF page If a page exceeds this amount e g when using high default PDF resolutions then ViewONE will use a resolution for that page that brings it under this memory limit The actual resolution used will depend on the page dimensions and color depth To discover the limited resolution a page must first be viewed then you can display the Image Information dialog see Image Information button The default value for this parameter is 5Mb 5 1024 1024 5242880 bytes If you find the limited resolution is resulting in degraded viewing quality but you also wish to keep using the auto limiter then try increasing the default value using this paramater 31 Method Pro Only The best value for you can only really be discovered by experimentation since it depends upon your documents PC and network performance and user preferences getAutoLimitPDFMemoryValue E g var limit ViewONE getAutoLimitPDFMemoryValue Returns the current limiting value used when viewing PDF documents 32 COLD Viewing Options Pro Only ViewONE Pro introduced an optional COLD module The COLD module is responsible for implementing image merging and text formattin
28. e no sense getYResolution E g var yRes ViewONE getYResolution Returns an integer value representing the y axis resolution of the currently displayed image in dots per image The value is obtained from the image s header information so if the information is missing or corrupt the returned value will make no sense 47 Method Method Viewing setView view E g ViewONE setView 0 Specifies the view mode used to display pages of a document This method is effective only while a document is open Acceptable integer values are 0 Fullpage default A single view of the current page is visible 1 Twopage Two pages are visible at the same time 2 Thumbsonly A view of the thumbnails only is visible 3 Thumbsleft A view of the current page with thumbnails on the left of the page 4 Thumbsright A view of the current page with thumbnails on the right of the page 5 Thumbstop A view of the current page with thumbnails at the top of the page 6 Thumbsbottom A view of the current page with thumbnails at the bottom of the page getView E g var scale ViewONE getView Returns the integer view mode value 48 Method Method Method V3 Only Method setAreaZoom true false E g ViewONE setAreaZoom true If true initiates the zoom area mode The mouse pointer changes to a cross and the user can drag the mouse using button one to select an area for zooming When the mouse button
29. e pixel 2 screen pixels If used in conjunction with setXY Scroll it is advisable to use setZoomAndXYScroll instead as problems may occur when both setZoom and setXYScroll are used together setZoomAndXYScroll zoom x y E g ViewONE setZoomAndXYScroll 2 0 100 100 Zooms to the value specified The value is specified as a double value 1 0 100 or 1 image pixel 1 screen pixel 2 0 200 or 1 image pixel 2 screen pixels zoomArea x y width height highlight seconds E g ViewONE zoomArea 400 500 100 150 true 2 Zooms to an area starting at x y which is width across and height high If highlight is set true then the area zoomed is also highlighted for a time specified by the seconds parameter If seconds is greater than 0 then the highlight is visible for that time If seconds is less than or equal to 0 then the highlight will remain visible until the user clicks or forces a refresh by scrolling rotating etc x y width height integers specifying image pixel values seconds integer specifying seconds highlight boolean If the area specified is a different aspect ratio from the display area then the viewer will attempt to fit the zoom as best it can setXYScroll x y E g ViewONE setXYScroll 20 20 Sets the scroll bar positions to the given values in screen pixels If used in conjunction with setXY Scroll it is advisable to use setZoomAndXYScroll in
30. ee es 25 DAEJA IMAGE SYSTEMS Specifying an Annotations Pile scc ccseccssessssesscssossessesesessesossessosestocesonsesscusoseooesesosessdesssosdesenessebeseoosissees sdesessseeess 26 setAnnot tionFile flename a as 5 28 6 s505 cccsceisihne esses ec 26 Saving documents and images AAA enesdkeesnnneenbsseensenssnneengueevsbgassnndenevseeseedendeneevneeseneee 27 SAVE ES sei 255555 ches ok foe A ce sted decd gea les ves opugdamesees A 27 SAVeEP O O OA 27 SaveS lected filename ci nen endene 27 ISMultipa ge TIO a dd tidad 28 A LN 29 setHyperlink url dblehek cocina 29 clearHyperinkO ree te il idos 29 setPDFPixelDepth pixeldepth oooonccnonnnonnncnnonnconcconccononononnnonnnonn conc E cnn one crec neon rn RD neon neon neon nn rn ER nano neon E 30 petPDEPIXel Depth A ES 30 setPDFResolution resolution isesi ieren eerie er S Ee aeee e Erer riere ereet peent hie nren Eie ot ieor itten eie 30 A A NN 31 setAutoLimitPDFResolution true false ccccccssccccsesseceessececeeececseceececseececsesaececsenaececeeeeecesaeeecseauececseeeeseesaeeecseaaeeesseeeeeess 31 isAutoLimitPDEResolution e a tees shes za 31 setAutoLimitPDFMemory Value value rrrnronnnrnnrnvenrnnnnrnvenrvernvennnnenrnsennnnenrnsennnnenrnsennnnsnrasennnnsnrnsennnssnrnsensnssnrnsennnssnresener 31 getAutoLimitPDFMemory Value oeonnornnnnvnnnnnnnvnvnnnvvnnnvernvrrnerenerenaverarerarvrnevresnnevnessnnnnvevnresvensnennvenevavsvaserasvrnsvresneesveesvesree 32 COLD Viewing Option
31. efault unless the JavascriptExtensions parameter is set to true IsFileMenus E g var menusEnabled ViewONE isFileMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 68 Method setViewMenus true false E g ViewONE setViewMenus true Specifies whether the view pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows Pia Fakch ho inges P29 Method isViewMenus E g var menusEnabled ViewONE isViewMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 69 Method setlmageMenus true false E g ViewONE setlmageMenus true Specifies whether the image pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows F E e o vot rr FE in yin iene FL Fit in nados FIL Fint b Imn in 4 t Zoom out po Boom bo DE voor dre Method islmageMenus E g var menusEnabled ViewONE islmageMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 70 Method Method setPrintMenus true false E g ViewONE setPrintMenus true Specifies whether the print pop up m
32. en opens the assembled document at page 1 Note the page array begins at array element zero 19 Initializing the page and thumb arrays causes a soft close to be performed i e the current document is closed and the annotation source templates and background images are reset if a document is currently open If no document is currently open then the close and reset is not performed 20 Method Group initializePage AndThumbsArray numPages setPageArray filename page setThumbsArray filename page openPageArray page E g ViewONE initializePageAndThumbsArray 3 ViewONE setPageArray page1 tif 0 ViewONE setThumbsArray page1 t tif 0 ViewONE setPageArray page2 tif 1 ViewONE setThumbsArray page2 t tif 1 ViewONE setPageArray page3 tif 2 ViewONE setThumbsArray page3 t tif 2 ViewONE openPageArray 1 These methods are similar to the previous They specify the number files pages in a list and then specify a separate file for each page and a thumbnail file for that page The final method then opens the assembled document at page 1 Note the page array begins at array element zero In some instances it may be advantageous to have separate files for the thumbnails to assist in browsing of thumbnails smaller files are quicker to download and view Initializing the page anf thumb arrays causes a soft close to be performed i e the current document is c
33. enus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows rh Wen k raa biha k ee Page Ko Print page range Canio Selection Ko Prii seiecbed pages Shft Conirol F Clpbaard b Print docunent Shitt F Preferences Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isPrintMenus E g var menusEnabled ViewONE isPrintMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 71 Method setPageMenus true false E g ViewONE setPageMenus true Specifies whether the page pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false indicates they are not The menu is as follows Fila b gt Erase b Adhat h few E KS AAA nre p Press page PAGE LP dg Preferences Tan page 0 Cate ze Method isPageMenus E g var menusEnabled ViewONE isPageMenus Returns a Boolean value of true if the menus are enabled else a value false is returned 72 Method setSelectMenus true false E g ViewONE setSelectMenus true Specifies whether the select pop up menus are available using mouse button 2 3 A value of true default indicates the menus are available and false
34. erasvrnenrenessneesvesnee 83 Events 1ds and descriptions ett e e ti 84 Event Handler example a 87 Testing your Event Handler ateo e A 88 The May Script ta gs tenor ab 88 Introduction ViewONE is a Java applet that extends your web browser so that you can view zoom magnify scroll pan rotate and print your images and image documents quickly and easily This document is the ViewONE JavaScript Manual and covers how to use and what options are available for the ViewONE JavaScript API This document is designed to be used in conjunction with the ViewONE HTML and Installation Manual Please note This manual does not cover the Javascript API for Annotations please see the Applet Annotations Configuration Manual For further information about ViewONE please consult the following documents e ViewONE User Manual e ViewONE HTML and Installation Manual e ViewONE Annotations User Manual e ViewONE Annotations Installation HTML and JavaScript Manual e Various White Papers for in depth analysis of specific areas e Latest ViewONE release notes found at http Awww daeja com pub start release html The Applet user interface File Open Close and Save Toolbar Toggle Scroll to First Previous Next and Last Page View Fullpage Thumbnails Two pages Thumbs left Thumbs bottom Thumbs right and Thumbs top ges g a g aG Haaa e OE a al Zoom Area Zoom In Zoom Out Magnify Zoom 100 Fit to Width Fit t
35. erver side component Note The save operation does not recreate the source file it merely copies the source file to the specified destination and renames it to the specified filename savePage filename E g ViewONE savePage c temp page tif Saves the current page to the specified filename If filename is null either the save dialog is displayed or if a server side save component has been specified the image is sent to the server side component If the document is a multi page tif then this method will extract the current page from the source tif file and create a new tif file containing only the current page saveSelected filename E g ViewONE saveSelected c temp selected tif Saves the current selected pages of a multi page tif document If filename is null either the save dialog is displayed or if a server side save component has been specified the image is sent to the server side component Note this method is for use only with multi page tif documents If you are viewing a multi file document then it is not possible to save selected pages from that document except by individually calling the savePage method for each page that you want to save You may find isMultipageTif and getSelected methods useful to call before calling this method 27 Method isMultipageTif E g vat ismulti ViewONE isMultipageTif This method is useful if you want to first check whether the current document is a
36. event handler just displays a notice to the user that an event had been received You are however free to do whatever you need for example testing the value of the id and text fields then taking further actions as necessary 82 Events handler change in ViewONE Version 3 Prior to ViewONE Version 3 all events were signaled irrespective of whether the event was required However Version 3 introduced an event filter so that only those events that are desired are signaled to the event handler Version 3 requires an additional HTML parameter which specifies the event ld s that are desired see below for full list of Id s Note Without this parameter no events will be signaled The parameter takes the form of a simple list e g lt param name eventinterest value 9 37 39 gt In this example events 9 37 and 39 are signaled 83 Events ids and descriptions ViewONE can signal many different events to the event handler The following list describes the events that will be received by this function over page and the next page after provides a full example ld Event Text Description 1 Reserved 2 Reserved 3 printpage page nof n User has printed a page 4 printvisible page n of n User has printed the visible part of a page 5 opened url User has opened a document 6 saved page nof n User has saved a page 7 click page nof n User has clicke
37. g processes A COLD document Computer Output to Laser Disk is traditionally a document that has both text and image content and is usually used with forms packages During COLD forms input the fields are separated from the actual form also known as the background or template and during viewing they need reconstituting so that the user sees the complete form with completed fields The ViewONE COLD module allows any of its support files formats to be used either as a background template or foreground content For example it is possible to have a TIFF or JPEG image as the background template and simple text as the foreground The COLD module is particularly effective when combined with the PDF module It then becomes possible to have PDF used as either or both background and foreground Although more commonly one would use an image typically TIFF based as the background thereby getting best performance and compression and utilize the advanced text PDF formatting to handle the foreground thereby able to create advanced forms for display Note There are many proprietary COLD document formats in circulation Daeja will look at any sample with specifications that you provide to assess the feasibility of adding specific format support to ViewONE Currently the COLD module supports simple ASCII text and PDF document types The module comes with various optional parameters as follows 33 Method Pro Only Method Grou
38. ge P Print document Shift P Print page range Ctrl P Print selected pages Ctrl Shift P Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isPrintKeys E g var keysEnabled ViewONE isPrintKeys Returns a Boolean value of true if the keys are enabled else a value false is returned setViewKeys true false E g ViewONE setViewKeys true Specifies whether the hot keys for view operations are enabled A value of true default indicates the keys are enabled and false indicates they are not The keys are as follows View page F2 View thumbnails F3 View two page F4 View thumbnails Left F5 View thumbnails Bottom F6 View thumbnails Right F7 View thumbnails Top F8 77 Method Method Method Method isViewKeys E g var keysEnabled ViewONE isViewKeys Returns a Boolean value of true if the keys are enabled else a value false is returned setPageKeys true false E g ViewONE setPageKeys true Specifies whether the hot keys for page operations are enabled A value of true default indicates the keys are enabled and false indicates they are not The keys are as follows Next page Page Down Previous page Page Up First page Home Last page End isPageKeys E g var keysEnabled ViewONE isPageKeys Returns a Boolean value of true if the keys are enabled else a value fa
39. hen this method is useful in determining when ViewONE has fully initialized prior to opening the document Browsers normally initialize Applets in parallel to HTML initialization and so it may be necessary to use this method to synchronize calls to ViewONE Also ViewONE itself runs thru an initialization phase in parallel to the loading of a web page Note on object not found message If you receive an object not found message while making this or any JavaScript calls then it is because the applet has not been started by the browser ViewONE has not even had a chance to perform it s own initialization This message is produced by the browser not the applet The solution is to add some JS code to the call of isReady which handles object not found or any use of JavaScript with ViewONE as follows 17 Method var appletReady false var doc parent frames main document or just document if it s not in a frame if doc ViewON Pl appletReady doc ViewONE isReady if appletReady do something The if doc ViewONl Gl line will result in false if the applet has yet to be started If you still have problems then you may want to make use of the OnError JavaScript statement that allows you to set up your own error handler Your error handler will then be called when a JavaScript problem is encountered such as above E g onerror errorHandler you
40. hod Method Method isNewWindowButtons E g var buttonVisible ViewONE isNewWindowButtons Returns a Boolean value of true if the new window button is visible else a value false is returned setViewButtons true false E g ViewONE setViewButtons true Specifies whether the toolbar includes view buttons A value of true default indicates the buttons are visible and false indicates they are not The view buttons are Fullpage Thumbnails Two page Thumbs left Thumbs bottom Thumbs right Thumbs top 0800 38 poe isViewButtons E g var buttonsVisible ViewONE isViewButtons Returns a Boolean value of true if the view buttons are visible else a value false is returned setAllButtons true false E g ViewONE setAllButtons true Specifies whether all buttons are visible or not these are file print image new window and view buttons A value of true default indicates the buttons are visible and false indicates they are not Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true 65 Method Method Method isAllButtons E g var buttonsVisible ViewONE isAllButtons Returns a Boolean value of true if the all buttons are visible else a value false is returned these are file print image new window and view buttons setPageButtons true false E g ViewON
41. ier E g var magVisible ViewONE isMagnifier Returns a Boolean value indicating the magnifier visibility status toggleMagnifier E g ViewONE toggleMagnifier Toggles the magnifier on off setMagFactor E g ViewONE setMagFactor int factor Sets the current integer magnification factor for magnifier window getMagFactor E g var factor ViewONE getMagFactor Returns the current integer magnification factor for magnifier window setMagBoundsiint x int y int width int height E g ViewONE setMagBounds 10 10 300 300 Sets the external magnifier s window position and size setNewWindowVisible true false E g ViewONE setNewWindowVisible true Specifies whether to make the ViewONE new window visible A value of true makes the window visible and false default makes it invisible 51 Method Method V3 Only Method V3 Only isNewWindowVisible E g ViewONE setNewWindowVisible ViewONE isNewWindowVisible Returns a Boolean value of true if the ViewONE new window is visible else a value false is returned setlmageForeColor color E g ViewONE setlmageForeColor 0 0 0 This method sets the default color used for the foreground text of monochrome images Colors are specified using the standard RGB values showlmageForeColorDialog E g ViewONE showlmageForeColorDialog This method will cause ViewONE to display a dialog to allow the user to change
42. iewONE isEnhance Returns a Boolean True if enhance is on False if it is off setEnhanceMode mode E g ViewONE setEnhanceMode 1 Specifies which anti aliasing algorithm to use 0 Off all image formats 1 Weighted averaging monochrome averaging 24 bit color 2 Averaging monochrome averaging 24 bit color 3 Scale to black monochrome averaging 24 bit color Note This method can be used to turn on off Anti Aliasing and so there is no need to use both this and setEnhance methods together getEnhanceMode E g var state ViewONE getEnhanceMode Returns the current enhance state setRotation angle E g ViewONE setRotation 90 Specifies the angle at which pages are displayed Values of 90 180 or 270 are accepted The default is 0 If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only 38 Method Method Method Method initializeRotationArray int size E g ViewONE initializeRotationArray 4 Initializes the rotation array used for setting the rotation of each page of the current image to the given size setRotationArray int angle int page E g var ok ViewONE setRotationArray 90 0 Sets the rotation for given page to the given angle The pages are indexed from 0 so the first page is zero the second is 1 etc The specified
43. losed and the annotation source templates and background images are reset if a document is currently open If no document is currently open then the close and reset is not performed 21 Method Group Method initializeDocumentArray numDocs setDocumentArray filename index openDocumentArray E g ViewONE initializeDocumentArray 3 ViewONE setDocumentArray doc1parameters txt 0 ViewONE setDocumentArray doc2parameters txt 1 ViewONE setDocumentArray doc3parameters txt 2 ViewONE openDocumentArray 1 This method group specifies the number documents to open in a multi document session then specifies the parameter file for each document each one representing a successive document then opens the assembled document list at document t1 Note the document array begins at array element zero For information about using document paramater files please refer to the ViewONE HTML Installation Manual look up the section on the Doc lt N gt HTML parameter Initializing the page anf thumb arrays causes a soft close to be performed i e the current document is closed and the annotation source templates and background images are reset if a document is currently open If no document is currently open then the close and reset is not performed openList listFile page E g ViewONE openList mylist list txt 1 This method offers and alternative option to the page array methods abo
44. lse is returned setSelectKeys true false E g ViewONE setSelectKeys true Specifies whether the hot keys for select operations are enabled A value of true default indicates the keys are enabled and false indicates they are not The keys are as follows Select page S Clear Selections Shift S 78 Method Method Method isSelectKeys E g var keysEnabled ViewONE isSelectKeys Returns a Boolean value of true if the keys are enabled else a value false is returned setAllKeys true false E g ViewONE setAllKeys true Specifies whether the all hot keys are enabled or not A value of true default indicates the keys are enabled and false indicates they are not Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isAllKeys E g var keysEnabled ViewONE isAllKeys Returns a Boolean value of true if the keys are enabled else a value false is returned 79 Method Method Method Method Timeout User Idle Control setTimeout seconds E g var ready ViewONE setTimeout 30 This method sets and starts a usage timer If the user does not use the applet for the number of seconds specified then the applet will automatically be disabled It can be re enabled by calling one of the timeout JavaScript methods see below opening a document using one of the JavaScript open method
45. lternative mechanism to configure and control the ViewONE applet In many cases the use of the Javascript API will not be required simply because most configuration parameters can be implemented using simple HTML see ViewONE HTML manual However where a more dynamic operation is required for example where it is desired to configuration parameters during the operation of ViewONE perhaps to change a document without reloading a web page rotate a page invert etc then the JavaScript API is ideal Additionally traditional web viewing applications habitually reload a web page in order to view or change the currently viewed image document But with ViewONE s extensive Image Document open close JavaScript API methods it is possible to avoid web page refreshing entirely This can result in significant performance improvements since all delays due to web page rehfreshing and therefore Java Engine reloading and applet restarting are avoided Daeja has produced white paper specifically addressing performance tuning which covers the area of web page refreshing and applet reloading Please visit Daeja s web site to download white papers www daeja com Browser Note Please note some browsers are case sensitive and so we advise the use of method names in exactly the same case as specified in this manual Failure to adhere to this may result in methods not being called correctly 15 J avaScript Reference The JavaScript examples in
46. multi page tif before using the above methods If it is then this method returns true else it returns false 28 Method Method Document hyperlinks setHyperlink url dbIClick E g ViewONE setHyperlink newpage html false or ViewONE setHyperlink http mysite newpage htm false Specifies a hyperlink that is activated when the user clicks on the image area If the dbIClick parameter is true then the hyperlink is activated only after the user double clicks on the image area otherwise it requires only a single click The hyperlink can specify either the filename relative to the code base or the full URL as illustrated clearHyperlink E g ViewONE clearHyperlink This method clears a hyperlink if one has previously been defined using the setHyperlink method 29 Method Pro Only Method Pro Only Method Pro Only PDF Viewing Options Pro Only ViewONE Pro introduced an optional PDF module The module comes with various optional methods as follows setPDFPixelDepth pixeldepth E g ViewONE setPDFPixelDepth 8 This method will change the default pixel depth when viewing PDF documents The pixel depth dictates the number of colors that are used for viewing as follows PixelDepth 1 View in Monochrome format black and white 8 View in Grayscale 256 grays 24 View in full color 4 2 million colors For higher performance but less colors choose 1 or 8 f
47. o Height Best Fit Rotate Clockwise Rotate Counterclockwise Rotate 180 Flip Horizontally Flip Vertically Invert Print Page Document and Help and Page Range N Vertical scrollbar Image Area Drag mouse to pan image Document Information e A Paget ofS gt utewonerro fee a z Horizontal scrollbar Help and progress Adjust Brightness captions appear here HTML Installing ViewONE To install ViewONE on your web site you must first download the Update zip file from the Daeja web site This can be found by visiting www daeja com pub start downloads html After unzipping the downloaded file you should have a directory named v1files This directory contains the essential files required to install and use ViewONE Copy all files found in the v1files directory to your web server preferably in a separate directory similarly named ViewONE Standard If you have downloaded ViewONE Standard with or without the Print Accelerator or Annotations optional modules then to use ViewONE on your web site setup a web page containing the following HTML lt APPLET CODEBASE ARCHIVE ji jar CODE ji applet jiApplet class NAME ViewONE WIDTH 100 HEIGHT 97 HSPACE 0 VSPACE 0 ALIGN middle MAYSCRIPT true gt lt PARAM NAME cabbase VALUE ji cab gt lt APPLE
48. or all colors but slower performance choose 24 The default value is 8 getPDFPixelDepth E g var depth ViewONE getPDFPixelDepth Returns the current pixel depth used when viewing PDF documents setPDFResolution resolution E g ViewONE setPDFResolution 200 This method will change the default resolution when viewing PDF documents The minimum value is 50 and maximum is 1200 For higher performance will result when using lower resolutions but less quality depending on the PDF document and lower performance but higher quality for higher resolutions 30 Method Pro Only Method Pro Only Method Pro Only Method Pro Only getPDFResolution E g var depth ViewONE getPDFResolution Returns the current resolution used when viewing PDF documents setAutoLimitPDFResolution true false E g ViewONE setAutoLimitPDFResolution true When the parameter is set to true ViewONE will dynamically limit the PDF resolution in order to obtain maximum performance when viewing PDF documents ViewONE will attempt to use the default PDF resolution see above but if that resolution is likely to result in slow performance ViewONE will reduce the resolution on a per document and page basis depending on the setAutoLimitPDFMemoryValue method described below isAutoLimitPDFResolution E g var limited ViewONE isAutoLimitPDFResolution Returns true to indicate limiting is switch on and fals
49. ot implemented older browsers or some browser implementations on non MS Windows platforms which will mean JavaScript cannot call applet methods and the event handler functionality will not work In all other cases the following methods may help in debugging potential event handler problems You need to make sure the MayScript and eventHandler tags are specified If you have made a mistake with either then the following methods will help indicate where the problem lies isEventHandlerOK getEventHandlerError And can be used as follows If document ViewONE isEventHandlerOK alert document ViewONE getEventHandlerError If you receive an error message when the applet attempts to call your event handler then assuming LiveConnect is enabled the most likely cause is that the incorrect name for your event handler was supply to ViewONE Note that JavaScript function names are case sensitive The MayScript tag The MayScript tag is required if any applet is to call JavaScript methods This tag was introduced by Netscape and is also implemented in Internet Explorer We have however noticed that the use of this tag can reduce start up performance for Netscape 4 because it appears to force all applets to be recompiled with each invocation Netscape 7 however does not suffer from this problem 88
50. p Pro Only setBackgroundimage filename pageNumber E g ViewONE setBackgroundImage mybackimage tif 1 This method is used to set the COLD background template for all pages in a document The pageNumber paramater is used where the file used for the backround supports multiple pages such as TIF and PDF files Note this method must be called before opening a document initializeBackgroundimageArray pages setBackgroundlmageArrayltem filename index useBackgroundimageArray page E g ViewONE initializeBackgroundimageArray 3 ViewONE setBackgroundimageArrayltem templatet1 tif 0 ViewONE setBackgroundlmageArrayltem template2 tif 1 ViewONE setBackgroundimageArrayltem template3 tif 2 ViewONE useBackgroundimageArray 1 This method group is used to specify a different COLD background template file for each page If this technique is used then a template must be specified for all pages of your document The first methods specifies the number files pages in a list followed by a series of methods that specify each template each one representing a successive page of the document the final method informs ViewONE that the templates are defined and ready to use Note these methods must be called before opening a document 34 Method Pro Only Method Pro Only setBackgroundimageEnabled true false E g ViewONE setBackgroundimageEnabled false This method is used to change the
51. s Pro Only esesosssvessssesnevessnsvsnsssvennerssnnsvsnssnsenesnennsesnsnsssnsnnennenensnsesnssssennenssesesssnsssnsnneee 33 setBackgroundImage filename pageNumber rsnarvrnnnrnnnnnnnvnnnnnnvnrnnnrvvrrvnrenavernrrarvraenresnensvensvennvenversnvesnsvevsvsvasvrasvrasvnesneee 34 initializeBackgroundImageArray pages rrrvrrnvrrnvvrnrvevrvernrernnvrarvrrerarerarnrnsneesnnesnennvenneesnersnsrnvenernerassresvrsevnesveesneennesnnesnne 34 setBackgroundImageArrayltem filename index enernrornrnnvnvnnnvvnnnvrrnvnrvevenaverarerarrarvresnensvensnesnvenversveesvsvsvsvevaserasvrasvnesneee 34 useBackgroundImageArray page us ronererrrvrareravvrnrnrervrernnnnvnnnvrrnenrnerrvrarvraevresvnesnensvesnvenneesnvesnevsvsvevavevassrasvrasvresneesveevvesnee 34 setBackgroundImageEnabled true false rrernnnrnnnnnrnnnnnnnnnnvnrnvrrnnnnvnrnvrrnnvenevenaverareravvraevresnnesveesvesnvennvenevsvsvsvsverssrassresvnee 35 isBackgroundImageEnabled ronorvnnrvrnnvrnvvrnnnrnrnnevnnnvnnnnvnrnvnrverenevensvenarerarvraevresnnevnensvennvennvesneesnsvsvsvevaverassrasvrasvresneesveesnesnee 35 Example JavaScript for opening a document with background templates nernrennnnnvnnnvnrnvrrnvrrnrvrnrvennveravernevrnrvrerneerveevvesvee 35 Document Indexes Pro Only s iscccccsssseccnscsnanvsdscsesesecsncsesvecsosedseseseecsedensseeeesveascecssvenseeeseacdecnaseventesenees damn escasas 36 setInd xListFile URL E EEE EE E EE EEE EPE DE EEEE EE OA EE ETE 36 A O 37
52. s by revisiting the page containing the applet Netscape or reloading the page Internet Explorer Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true getTimeout E g var seconds ViewONE getTimeout This method returns the timeout value integer seconds set using either the setTimeout method or the HTML tag timeout stopTimeout E g ViewONE stopTimeout This method will disable the timer set using either the setTimeout method or the HTML tag timeout and if the applet had timed out then it will wake up i e be re enabled Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isTimedOut E g var timedout ViewONE is TimedOut This method returns a value of true if the applet has timed out as a result of the user not using the applet for the time specified by the setTimeout method or the HTML tag timeout It otherwise returns false 80 Method Method getTimeLeft E g var timeleft ViewONE getTimeLeft This method returns the time in seconds left before the applet times out but only if the setTimeout method or HTML tag timeout has been used to set the time in the first place It otherwise returns 0 The time left is automatically reset each time the user performs any action such as scrolling changing pages Zooming etc wakeUp
53. s for file operations are enabled A value of true default indicates the keys are enabled and false indicates they are not The keys are as follows Open File O Open URL Shift O Close C Save F New window W Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true isFileKeys E g var keysEnabled ViewONE isFileKeys Returns a Boolean value of true if the keys are enabled else a value false is returned 75 Method Method setlmageKeys true false E g ViewONE setlmageKeys true Specifies whether the hot keys for image operations are enabled A value of true default indicates the keys are enabled and alse indicates they are not The keys are as follows Fit to window width F9 Fit to window height F10 Fit to window F11 Zoom in Add Zoom out Subtract Magnifier M Zoom to 100 Z Zoom area A Rotate clockwise R Rotate counterclockwise L Enhance E Invert islmageKeys E g var keysEnabled ViewONE isImageKeys Returns a Boolean value of true if the keys are enabled else a value false is returned 76 Method Method Method setPrintKeys true false E g ViewONE setPrintKeys true Specifies whether the hot keys for print operations are enabled A value of true default indicates the keys are enabled and false indicates they are not The keys are as follows Print pa
54. seosenases soessonsbatpases Ssenosuesuaseuas T EAE TEE E RENE 54 miti lizeL bels numbL bels mica sa AS ne 54 setLabel pageLabel pageLabelColor thumbLabel thumbLabelColor labelNum ooooonncnnncnnccionnnonoconocononanonononnccnnccnnonnos 54 UA id 54 era a edd eget ae aceon esd eee ele din died 54 Selection nd Clipboard soesdisveseessecitenesinasccedsasecedeavsvecesoncesnnsbousessdvouavecetvecdesetdboasceasezecstucsspesedssostsesdvonsvosesseeseoosssece 55 SelectPape nt pageNumber lives trote cirio 55 Cle rS lectonsOrnansasarntoa dere OEE E AE PEE TEE E A N ANGA SE 55 copy Pase LOC pboOard vino A ii ii 55 BETSEIECUIOM A E EENE TE E E ERE OEE EEE TOE 55 A OO 56 PrUNtPAase ct bee 56 DAEJA IMAGE SYSTEMS PENIDO CUM a 56 printRange tiva 56 AA NS 57 puntVisIDle Oi A a E E 57 printTradstomMmedO it E E 57 SetPrintDialos true false ii A EE E E E E EAE 57 SPD A p 58 setPrintCoplesGnte ger ii a 58 str ti 58 s tPrintHeader headers Oi adn dE aiii di 59 setPrintAutoRotate true false oia a isa 60 Toolbars And Buttons iccsscsicsccecssscsesonssessepestecsianncecsosescssesonsstateseassceteveas svasectsaososdesessbes sees odees SSe PSr SES S oeii rao 61 setScrollbars true false ota serenade 61 ISS CODA a E ad dea e ees ett o a nd 61 setstatusBartu ali a ie ab E 61 ASS TAUBANER et 61 setFileButtons trueltals mac ekstase 62 ISFILEBUTTONS O o e o e ad 62 s tIm geButtons true false AA NN 63 islmapeButtons aeiee a dave
55. ssfully sent to the printer 28 Reserved 29 Reserved 30 annotation created The user has added an annotation through the user interface This event can fire with two different n values if nis 1 it means that ViewONE could not create the save files in its own 31 SaveDocument Failed n cache prior to sending them to the destination One way this might happen is if the disk was full if nis 2 it means that ViewONE could not copy the save files to the specified destination Gets fired whenever a document s annotations set is modified It can 32 annotations updated page n of n therefore be used to indicate that the document s annotations now require saving Gets fired whenever a document s annotations set is restored It can 33 annotations restored page n of n therefore be used to indicate that the document s annotations no longer require saving 34 Padetenderd The image for the current page has been rendered updated This event 9 occurs on every redraw refresh See event 38 39 for filtered versions 35 Area Selected An area of the current page has been selected by the user using the zoom area tool 36 Reserved A key has been pressed key defined in the event Notes It is strongly recommended that you turn off key processing by ViewONE by using the HTML parameter ProcessKeys set to False otherwise ViewONE will process keys AND generate events 37 Key pressed It is also strongly recommended that you set up a test to displa
56. stead as problems may occur when both setZoom and setXYScroll are used together 43 Method Method Method Method setDraggingEnabled true false E g ViewONE setDraggingEnabled true Specifies whether the dragging of the image is permitted or not using the mouse Dragging the image to the right pans the image to the right dragging the image to the left pans the image to the left etc A value of true default indicates dragging is permitted and alse indicates that it is not isDraggingEnabled E g var draggingEnabled ViewONE isDraggingEnabled Returns a Boolean value of true if dragging is allowed else a value alse is returned setBrightness percent E g ViewONE setBrighness 60 This method sets the brightness of the displayed The value represents a percentage from 0 100 with 50 being the default value O minimum brightness dark and 100 maximum brightness light If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only resetBrightness E g ViewONE resetBrighness This method resets the brightness level to 50 the default value If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only 44 Method Method Method
57. t txt The file specified must be a simple text file with lt LF gt delimiting successive page indexes 36 Method Method V3 Only Method Method Image invert E g ViewONE invert Inverts the display colors black changes to white and visa versa This method is also effective on images with more than two colors A second call to this method will re establish the original display colors If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only setinverted true false E g ViewONE setInverted true Sets the invert of the display colors black changes to white and visa versa This method is also effective on images with more than two colors If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only isInverted E g var inverted ViewONE isInverted Returns a Boolean True if the colors are inverted False if they are not setEnhance true false E g var ViewONE setEnhance true Specifies whether a monochrome image is displayed with anti aliasing on or off A value of true default is on and false default is off 37 Method Method Method V3 Only Method isEnhance true false E g var enhance V
58. this manual do not refer to their use in any particular context The examples could be used within functions of a JavaScript program or directly as event handlers to buttons hyper links etc Our web site illustrates such uses alternatively refer to an appropriate JavaScript guide Filenames and hyperlink addresses are expressed using the Internet URL address format Uniform Resource Locator e g http mysite myimage tif If any part of the address before myimage tif is not included then the applet will assume a base address that is the same as the applet location the codebase With the exception of filenames and hyperlink addresses all parameters are case insensitive Security note Change since ViewONE 3 0 99 Standard and 1 0 99 Pro Some Javascript methods are disabled by default and can only be enabled by setting the JavaScripExtensions HTML parameter set to true e g lt PARAM NAME JavaScriptExtensions VALUE true gt This is to prevent unauthorized users from attempting to manipulate ViewONE through Javascript methods in order to obtain access to secure information documents annotations The methods that are restricted in this manner are clearly marked within this document 16 Method General Applet Control isReady E g var ready ViewONE isReady This method returns true if the applet as completed initialization If JavaScript is used to open a document during HTML page initialization t
59. this version of the plugin Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true 59 Method setPrintAutoRotate true false E g ViewONE setPrintAutoRotate true This parameter is only available when used with the print accelerator and only applicable when the tag multiPrintNum is set to more than 1 If this parameter is set to true then ViewONE will attempt to rotate images automatically prior to printing so that as many images can be printed vertically on a printed page as possible The default value for this tag is false 60 Method Method Method Method Toolbars and Buttons setScrollbars true false E g ViewONE setScrollbars true Specifies whether scrollbars will appear when the image is scaled to a size larger than the display area A value of true default indicates scrollbars are required and false indicates they are not A change in this setting will be visible after the next refresh of the display e g when a page is zoomed or unzoomed or a page is changed etc isScrollbars E g var scrollbars ViewONE isScrollbars Returns a Boolean value of true if scrollbars are enabled else a value false is returned setStatusBar true false E g ViewONE setStatusBar true Specifies whether the statusbar is visible or not A value of true default indicates the statusbar is visible and false
60. thod is called the default for all pages is modified If the document is open when this method is called the individual page is modified only setFlip mode E g ViewONE setFlip 1 Specifies the flip mode of displayed pages Values of 0 none 1 horizontal or mirror 2 vertical or 3 both are accepted The default is 0 Flip buttons and menus are not visible to the user by default To enable these options for the user you must use the flipOptions HTML tag when the applet is loaded If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only 40 Method Method Method Method getFlip E g var angle ViewONE getFlip Returns the flip mode as an integer setScale scale E g ViewONE setScale 0 Specifies the scale mode used to display a page Acceptable integer values are 0 best fit The page is scaled to fit into the window area so that the entire page is visible 1 Fit to window width The page is scaled so that the width of the page matches the width of the window area This may result in the visible page height exceeding the available window height in which case a vertical scroll bar appears automatically 2 Fit to window height The page is scaled so that the height of the page matches the height of the window area This may result in the visible page width exceeding the av
61. uttons are visible else a value false is returned setPrintButtons true false E g ViewONE setPrintButtons true Specifies whether the toolbar includes a print button A value of true default indicates the button is visible and false indicates it is not The print button is Supada t Security note This method is disabled by default unless the JavascriptExtensions parameter is set to true 63 Method Method Method Method isPrintButtons E g var buttonVisible ViewONE isPrintButtons Returns a Boolean value of true if the print button is visible else a value false is returned setinvertButtons true false E g ViewONE setInvertButtons true Specifies whether the toolbar includes an invert button A value of true default indicates the button is visible and false indicates it is not The invert button is 993 3 a3aa3a 8089 08000 a isInvertButtons E g var buttonVisible ViewONE isInvertButtons Returns a Boolean value of true if the invert button is visible else a value false is returned setNewWindowButtons true false E g ViewONE setNewWindowButtons true Specifies whether the toolbar includes a new window button A value of true default indicates the button is visible and false indicates it is not The new window button is 9973 293332a4 BGeasveeooar 5 64 Method Met
62. ve It allows a file to be supplied which contains a list of pages This is useful for very large documents because it removes the need to deal with an array in JavaScript It can also be used to keep the HTML constant by changing the source list instead of changing the HTML between different documents Separate files for thumbnails are not available for this option 22 Method Method Method Group Method reloadList E g ViewONE reloadList This method forces the list used with the openList method to be reloaded and the document to be re opened It will reload the list file from source i e the web server each time so if it has changed then the changes will be picked up openDoc index E g ViewONE openDoc 2 This method applies only when the doc lt N gt HTML parameter is used see HTML manual The value of index represents the associated doc lt N gt parameter Therefore the above example will cause ViewONE to open the second document in the list i e that specified by the doc2 HTML parameter nextDoc prevDoc firstDoc lastDoc getDocindex getNumDocs These are convenience methods that can be used in place of the openDoc method described above getNumPages E g var numPages ViewONE getNumPages Gets the number of pages in the current document an integer 23 Method Method Method Method Method Group setPage page
63. vidual page is modified only Brightness increases the brightness of all colors dark and light uniformly whereas luminance causes already bright areas of the image to increase in brightness further and darker areas to increase in brightness also but by a lesser amount This simulates a light source shining on the image and can be more effective at making color images clearer to read resetLuminance E g ViewONE resetLuminance This method resets the luminance level to 50 the default value If the document is closed when this method is called the default for all pages is modified If the document is open when this method is called the individual page is modified only getLuminance E g var percent ViewONE getLuminance Returns the current lumance percentage setting 0 100 getlmageWidth E g var width ViewONE getlmageWidth Returns an integer value representing the width of the currently displayed image in image pixels 46 Method Method getlmageHeight E g var height ViewONE getlmageHeight Returns an integer value representing the height of the currently displayed image in image pixels getXResolution E g var xRes ViewONE getXResolution Returns an integer value representing the x axis resolution of the currently displayed image in dots per inch The value is obtained from the image s header information so if the information is missing or corrupt the returned value will mak
64. visibility of the COLD template image A value of false will remove the template from view and a value of true will show the template isBackgroundImageEnabled E g var inverted ViewONE isBackgroundimageEnabled Returns a Boolean True if the COLD template is visible Example JavaScript for opening a document with background templates viewONE initialize BackgroundImageArray 3 viewONE setBackgroundImageArrayltem http backimage 1 tif 0 viewONE setBackgroundlmageArrayltem http backimage2 tif 1 viewONE setBackgroundImageArrayltem http backimage3 tif 2 viewONE useBackgroundImageArray 1 viewONE initializePageArray 3 viewONE setPageArray http page1 tiff 0 vievONE setPageArray http page1 tif 1 vievONE setPageArray http page1 tif 2 viewONE setAnnotationFile http annotations ant viewONE openPageArray 1 open at page 1 35 Method Pro only Document Indexes Pro Only ViewONE Version 3 introduced an option to specify a text index for multi page documents A text index acts as an alternative to the thumbnail pane and with large documents can offer better performance than thumbnails due to not having to handle image decompression display ViewONE offers a default text index which displays page numbers however the list may be customized using the following method setindexListFile URL E g ViewONE setIndexListFile http mysite mylis
65. y Apple MacOS 8 and 9 computers utilize Apples Java engine known as MRJ Macintosh Runtime Java This particular Java engine did not have full support for JavaScript to Java Applets and so the JavaScript API will not operate with MRJ Apple MacOS X 10 x computers utilize Apples updated Java 2 engine which does include support for JavaScript to Java API s 10 Apple Macintosh users HTML ViewONE comes with a digital certificate which is required to permit the applet to print and provide local caching ViewONE is also Java 1 1 5 compliant Apple Macintosh 9 users will need to use IE4 5 or later and Apple Macintosh X 10 x can use IE5 Netscape 7 or Mozilla IE uses Apples run time Java called MRJ Since the release of IE4 5 Apple have released several versions of MRJ It is recommended that users use MRJ version 2 2 or later Netscape 7 and Mozilla browsers use Java 1 4 x which is supported by ViewONE Using ViewONE Standard on IE for Apple Macintosh To use IE MRJ Java you will have to ensure your HTML specifies the alternative archive file ARCHIVE fjis jar Using ViewONE Pro on IE for Apple Macintosh To use IE MRJ Java you will have to ensure your HTML specifies the alternative archive file ARCHIVE ViewONEdsa jar We have produced a demo which uses some JavaScript to detect Apple Mac users and make appropriate changes automatically Demos are available at http www daeja com pub start downloads
66. y the event text before assuming that value of that text because some keyboards may differ in the text and may also differ according to the localization setup of your machine The following keys do not generate events Keys processed when editing a text annotation SHIFT CTRL and ALT Keys instead when a key is pressed a marker is included to indicate when these keys are pressed with other keys see examples below 85 Windows main menu key Popup menu key The following keys will generate events but will always also be handled by ViewONE event when ProcessKeys is set to False Scroll bar keys Page up down home end arrow keys Windows menu key Modifier and cursor keys are defined using names see below Examples Event Text Descriptio A A key pressed Control A Ctrl A keys pressed Shift A Shift A keys pressed AtA Alt A keys pressed Alt Shift Control A Alt Shift Ctrl A keys pressed Space Space key pressed Ctrl Space Ctrl Space keys pressed Caps Lock Caps Lock pressed Up Up arrow key pressed 9 key on a number pad is pressed note Numpad 9 some numpad keys have a separator rather than a space A page has been viewed in the full page panel This event only occurs the 38 Full page rendered first time the page is viewed All pages in the document have been viewed in the full page panel This 39

Download Pdf Manuals

image

Related Search

Related Contents

User's Manual. . . . . . . . . . . . . . . . . . . . 1 Benutzerhandbuch.  Instalar o Gigaset HC450  Mostrar  Manual de instalación y uso de módulos fotovoltaicos BYD  Logitech F510 User's Manual  建設工事、測量・建設コンサルタント (PDFファイル約8.0MB    CDMB。 甲NE  Tacens Anima 16"  

Copyright © All rights reserved.
Failed to retrieve file