52
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-
Q16-windows-static.exe
License (GPL v3): C://Prizm\Prizm\licenses\ImageMagick\Notice-1.txt
Implementation\Integration: This open source product has not been recompiled and a call to
binary file is directly made from the code, keeping the binaries totally separate from the Prizm
Source Code.
dcraw.exe (http://www.cybercom.net/~dcoffin/dcraw/)
Copyright (C) 1997-2008 by Dave Coffin.
Source: C://Prizm\src\dcraw\9.03\
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-
Q16-windows-static.exe
License (GPL v3): C://Prizm\Prizm\licenses\ImageMagick\Notice-1.txt
Implementation\Integration: This open source product has not been recompiled and a call to
binary file is directly made from the code, keeping the binaries totally separate from the Prizm
Source Code.
hp2xx.exe (http://www.gnu.org/s/hp2xx/)
Copyright (C) 1998 - 2000 M. Kroeker, 1992 - 1994 H. Werntges.
Source: C://Prizm\src\hp2xx\3.4.2\
Download: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.5-3-
Q16-windows-static.exe
License (GPL v2): C://Prizm\Prizm\licenses\ImageMagick\hp2xx_gpl-2.0.txt
Implementation/Integration: This open source product has not been recompiled and a call to
binary file is directly made from the code, keeping the binaries totally separate from the Prizm
Source Code.
Java Advanced Imaging API (http://java.sun.com/javase/technologies/desktop/media/jai/)
Copyright (c) 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054,
U.S.A. All rights reserved.
Download: http://download.java.net/media/jai/builds/release/1_1_3/
License: http://download.java.net/media/jai/builds/release/1_1_3/LICENSE-jai.txt
Java Advanced Imaging Image I/O Tools
(http://java.sun.com/javase/technologies/desktop/media/)
Copyright (c) 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054,
U.S.A. All rights reserved.
Download: http://download.java.net/media/jai-imageio/builds/release/1.1/License:
http://download.java.net/media/jai-imageio/builds/release/1.1/LICENSE-jai_imageio.txt
JavaMail 1.4.3 (http://www.oracle.com/technetwork/java/javamail/index.html)
Copyright © 2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054,
U.S.A. All rights reserved.
Download: http://www.oracle.com/technetwork/java/javamail/index-138643.html
License: http://download.oracle.com/otn-pub/java/licenses/javamail-1.4.3-oth-
JPR_license_1.html
JDOM
This product includes software developed by the JDOM Project (http://www.jdom.org/).
Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved.
Source: http://www.jdom.org/downloads/source.html
Download: http://www.jdom.org/downloads/index.html
License: C://Prizm\Prizm\licenses\jdom\LICENSE.txt
(http://www.jdom.org/docs/faq.html#a0030)
JRE 1.6.0.22 (http://java.sun.com/products/archive/j2se/6u22/index.html)
Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved.
Download: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-
4
How to C#: Basic SDK Concept of XDoc.PDF for .NET XDoc.PDF for .NET supports editing PDF document metadata, like Title, Subject, Author, Creator, Producer, Keywords, Created Date, and Last Modified Date.
pdf metadata editor; pdf xmp metadata editor
47
downloads-javase6-419409.html#jre-6u22-oth-JPR
License: http://www.oracle.com/technetwork/java/javase/terms/license/index.html
ODF Converter (http://odf-converter.sourceforge.net/)
Copyright (c) 2006-2008, Clever Age, DIaLOGIKa, Sonata Software Ltd All rights reserved.
Download: http://sourceforge.net/projects/odf-converter/files/
License: http://odf-converter.sourceforge.net/#license
OpenOffice.org Portable (http://portableapps.com/apps/office/openoffice_portable)
Copyright 2002,2008 Sun Microsystems, Inc.
Source: http://sourceforge.net/projects/portableapps/files/Source%20%28OpenOffice.org
%29/OpenOffice.org%203.2.0%20Source/
Download: http://sourceforge.net/projects/portableapps/files/OpenOffice.org
%20Portable/OpenOffice.org%20Portable
%203.2.0/OpenOfficePortable_3.2.0_English.paf.exe/download
http://sourceforge.net/projects/portableapps/files/OpenOffice.org%20Portable/OpenOffice.org
%20Portable%203.0/OpenOffice.org_Portable_3.0_en-us.paf.exe/download
Implementation/Integration: This open source product has not been recompiled and a call to
binary file is directly made from the code, keeping the binaries totally separate from the Prizm
Source Code.
String Search (http://johannburkard.de/software/stringsearch/)
StringSearch - high-performance pattern matching algorithms in Java
Copyright (c) 2003-2010 Johann Burkard
Download: http://johannburkard.de/software/stringsearch/
License: http://johannburkard.de/software/stringsearch/copying.txt
The Legion of the Bouncy Castle
Copyright (c) 2000-2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
Download: http://bouncycastle.org/latest_releases.html
License: http://www.bouncycastle.org/licence.html
Touch.exe (http://www.codeproject.com/KB/applications/touch_win.aspx)
Copyright 2002 by Jörgen Sigvardsson
Download: http://www.codeproject.com/KB/applications/touch_win.aspx
License: http://www.codeproject.com/KB/applications/touch_win.aspx
JTNEF (http://www.freeutils.net/source/jtnef/)
The JTNEF package used in this product is copyright (c) 2003-2010 by Amichai Rothman.
JavaBeans Activation Framework
(http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html)
Download: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-
downloads-java-plat-419418.html#jaf-1.1-fr-oth-JPR
License: http://download.oracle.com/otn-pub/java/licenses/jaf-1.1-mrel-spec-oth-
JPR_license_1.html
SWF Tools (http://www.swftools.org)
Source: C://Prizm/src/SWFTools/0.9.0/
Download: http://www.swftools.org/swftools-0.9.0.exe
License (GPL v2): C://Prizm\Prizm\licenses\SWF Tools\gpl-2.0.txt
Implementation/Integration: This open source product has not been recompiled and a call to
binary file is directly made from the code, keeping the binaries totally separate from the Prizm
Source Code.
5
48
Tanuki Java Service Wrapper (http://www.tanukisoftware.com)
Copyright (C) 1999, 2010 Tanuki Software, Ltd. All rights reserved.
The Software Program includes software and documentation components developed in part by
Silver Egg Technology, Inc.("SET") prior to 2001 and released under the following license.
Copyright (c) 2001 Silver Egg Technology
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sub-license, and\or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
GraphicsUtil (http://www.dncompute.com/blog/2008/07/17/graphicsutil-a-utility-class-for-
drawing-arrows.html)
Copyright (c) 2008 Noel Billig (www.dncompute.com)
Download: http://www.dncompute.com/blog/2008/07/17/graphicsutil-a-utility-class-for-drawing-
arrows.html
License: MIT (in source)
URL Validator (http://ctrloptcmd.com/archives/587/actionscript-3-url-validator-class/)
Copyright 2009 Martin Jacobsen
Download: http://ctrloptcmd.com/as3/URLValidator.as
License: (in source)
jQuery (http://jquery.org/)
Copyright (c) 2011 John Resig
Download: http://docs.jquery.com/Downloading_jQuery
License: http://jquery.org/license/
Lazy Load - jQuery plugin for lazy loading images (http://www.appelsiini.net/projects/lazyload)
Copyright (c) 2007-2009 Mika Tuupola
Download: http://www.appelsiini.net/projects/lazyload
License: http://www.opensource.org/licenses/mit-license.php
jQuery.ScrollTo (http://plugins.jquery.com/project/ScrollTo)
Copyright (c) 2007-2009 Ariel Flesler
Download: http://plugins.jquery.com/node/635/release
License: MIT (in source)
ScrollView - jQuery plugin (http://code.google.com/p/jquery-scrollview/)
Copyright (c) 2009 Toshimitsu Takahashi
Download: http://code.google.com/p/jquery-scrollview/downloads/detail?
name=jquery.scrollview.js&can=2&q=
License: http://www.opensource.org/licenses/mit-license.php
Viewport - jQuery selectors for finding elements in viewport
(http://www.appelsiini.net/projects/viewport)
Copyright (c) 2008-2009 Mika Tuupola
Download: http://www.appelsiini.net/projects/viewport
License: http://www.opensource.org/licenses/mit-license.php
6
39
transform: A jQuery cssHooks adding cross-browser 2d transform capabilities to $.fn.css() and
$.fn.animate()
(https://github.com/louisremi/jquery.transform.js)
Copyright 2011 @louis_remi
Download: https://github.com/louisremi/jquery.transform.js
License: MIT (https://github.com/louisremi/jquery.transform.js)
jQuery UI (http://jqueryui.com/)
Copyright (c) 2011 Paul Bakaus
Download: http://jqueryui.com/download
License: http://jquery-ui.googlecode.com/svn/tags/latest/MIT-LICENSE.txt
jquery.waitforimages (http://alexanderdickson.com/blog/2011/02/a-new-jquery-plugin-2/)
Copyright (c) 2011 Alex Dickson
Download: https://github.com/alexanderdickson/waitForImages
License: https://github.com/alexanderdickson/waitForImages/blob/master/README.md
jQuery Context Menu Plugin (http://abeautifulsite.net/blog/2008/09/jquery-context-menu-
plugin/)
Copyright A Beautiful Site, LLC
Download: http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/
License: MIT (in source)
jqprint (http://plugins.jquery.com/project/jqPrint)
Provided by Eros Fratini - eros@recoding.it
Download: http://plugins.jquery.com/node/8069/release
License: http://www.opensource.org/licenses/mit-license.php
jQuery Patch (http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-
scale.html)
2009-2010 Zachary Johnson www.zachstronaut.com
Download: https://github.com/zachstronaut/jquery-animate-css-rotate-scale/
License: MIT (https://github.com/zachstronaut/jquery-animate-css-rotate-
scale/blob/master/README)
Google Translate API for .NET (http://code.google.com/p/google-api-for-dotnet/)
Copyright (c) 2008-2009 iron9light
Download: http://code.google.com/p/google-api-for-dotnet/downloads/list
License: http://www.opensource.org/licenses/mit-license.php
Other Terms: http://code.google.com/apis/language/translate/terms.html
SWFObject (http://code.google.com/p/swfobject/)
Provided by code.google.com
Download: http://code.google.com/p/swfobject/downloads/list
License: http://www.opensource.org/licenses/mit-license.php
7
18
Preface
This document describes how to integrate and use Prizm Content Connect on Windows server.
Instructions are also included to set up the Zero Footprint Client, an end-user viewing option
optimized for scanned documents including TIFF and PDF.
Intended Audience
The intended audience is IT developers and administrators. Some familiarity with Java,
JavaScript, & Windows OS is expected.
Revision History
The following changes have been made to this document.
Revision History
Revision Date Description
Oct 11 1
Draft for version 4.6.3
Feb 12
Draft for version 5.0
May 12
Draft for version 5.1
8
221
Table of Contents
ATTRIBUTIONS, NOTICES & COPYRIGHTS
__________________________________________
..................................................
3
INTENDED AUDIENCE
.....................................................................................................
8
REVISION HISTORY
........................................................................................................
8
TABLE OF CONTENTS
.......................................................................................................
9
CHAPTER 1
....................................................................................................................
12
HOW DOES THE VIEWER WORK?
..................................................................................
12
CHAPTER 2
....................................................................................................................
13
COMPONENTS & COMMAND LINE SYNTAX
...................................................................
13
CONVERT
2
SWFCLIENT
.
JAR
.................................................................................................................................
13
Usage: java -jar convert2swfclient.jar argument1=value1 argument2=value2 ...
..............................
13
Argument list:
.......................................................................................................................................
13
Default AJAX Based Client Examples:
.................................................................................................
15
Zero Footprint Client Examples:
.........................................................................................................
16
PROXYSERVER
.
JAR
- P
RIZM
P
ROXY
S
ERVER
........................................................................................................
16
Starting the Proxy Server
......................................................................................................................
17
Viewer.swf
.............................................................................................................................................
18
CHAPTER 3
....................................................................................................................
19
DOCUMENT CONVERSION PROXYWEBSERVICE
...........................................................
19
REST Based Examples
.........................................................................................................................
20
CHAPTER 4
....................................................................................................................
24
INTEGRATION WITH YOUR APPLICATION
...................................................................
24
P
AGE
C
OUNT
C
ALCULATION
F
ILE
(
PAGECOUNT
L
INK
)
..........................................................................................
26
C
ONVERSION
F
ILE
(
CONVERSION
L
INK
)
..............................................................................................................
27
O
PTIONAL
V
ARIABLES
.....................................................................................................................................
28
CHAPTER 5
....................................................................................................................
29
CUSTOMIZING THE VIEWER
.........................................................................................
29
....................................................................................................................................................................
29
F
LASH
D
OCUMENT
V
ARIABLES
........................................................................................................................
30
C
USTOM
B
UTTONS
V
ARIABLES
.........................................................................................................................
31
S
EARCH
V
ARIABLES
........................................................................................................................................
32
CHAPTER 6
....................................................................................................................
34
JAVASCRIPT EVENTS TO AND FROM THE VIEWER
.......................................................
34
P
RIZM
C
ONTENT
C
ONNECT
IS
BUILT
IN
SUCH
A
WAY
THAT
IT
CAN
BE
TRULY
INTEGRATED
AND
EMBEDDED
INTO
YOUR
APPLICATION
. E
VENTS
ARE
J
AVA
S
CRIPT
AJAX
CALLS
THAT
THE
V
IEWER
CAN
GENERATE
WHEN
CERTAIN
ACTIONS
OCCUR
.
D
EVELOPERS
CAN
ALSO
SEND
J
AVA
S
CRIPT
AJAX
EVENTS
TO
THE
V
IEWER
FROM
THEIR
CODE
AND
HAVE
THE
V
IEWER
PERFORM
CERTAIN
ACTIONS
WITHOUT
RELOADING
THE
WHOLE
PAGE
.
9
135
S
ENDING
EVENTS
TO
THE
V
IEWER
T
O
SEND
EVENTS
TO
THE
VIEWER
,
FOLLOW
THESE
STEPS
:
......................................................................................
34
R
ECEIVING
EVENTS
FROM
THE
V
IEWER
T
HE
V
IEWER
CAN
SEND
EVENTS
WHEN
CERTAIN
ACTIONS
ARE
PERFORMED
.
T
O
RECEIVE
EVENTS
FOLLOW
THESE
STEPS
:
.........................................................................................................
35
CHAPTER 7
....................................................................................................................
37
GENERATING THUMBNAILS
.........................................................................................
37
G
ENERATING
THUMBNAILS
USING
CONVERT
2
SWFCLIENT
........................................................................................
37
Example 1:
............................................................................................................................................
37
Example 2:
............................................................................................................................................
37
G
ENERATING
THUMBNAILS
USING
THE
W
EBSERVICE
.............................................................................................
37
Example 1:
............................................................................................................................................
37
Example 2:
............................................................................................................................................
37
CHAPTER 8
....................................................................................................................
38
LOCALIZING THE VIEWER
TO LOCALIZE PRIZM CONTENT CONNECT, SIMPLY PASS A FLASH VARIABLE WITH
THE LOCATION OF THE XML FILE CONTAINING THE LANGUAGE TRANSLATIONS.
FOR EXAMPLE, TO DISPLAY HINDI LANGUAGE, SIMPLY PASS THE FLASHVAR AS
TOOLTIPS=HINDI.XML
WHERE ARABIC.XML IS THE FOLLOWING .XML FILE RESIDING AT SAME LOCATION
AS VIEWER.SWF
............................................................................................................
38
CHAPTER 9
....................................................................................................................
39
IMAGE CONVERSION
....................................................................................................
39
source: the source file for conversion
target: the target folder and target file. Target can be image (.jpeg, .png, .tiff or .bmp)
dpi: specifies depth per index ratio of output .swf and image files
..............................................................................................................................................................
39
Generating images using convert2swfclient
Example 1:
To create a .png image of page 1 of sample.doc:
java -jar convert2swfclient.jar source=sample.doc target=sample.png pages=1
..............................
39
To create a .bmp image of page 1 of sample.doc:
java -jar convert2swfclient.jar source=sample.doc target=sample.bmp pages=1
Example 2:
To create a .png image of all pages of sample.doc:
java -jar convert2swfclient.jar source=sample.doc target=sample.png
............................................
39
To create a .tiff image of all pages of sample.doc:
java -jar convert2swfclient.jar source=sample.doc target=sample.tiff
Generating images using Webservice
Example 1:
............................................................................................................................................
39
To create a .png image of page 1 of sample.doc:
http://localhost:18680/convert2swf?
source=C:\temp\sample.doc&target==C:\temp\samplecode\sample.png&pages=1
..............................................................................................................................................................
39
10
Documents you may be interested
Documents you may be interested