Powerful and rapid Office to PDF and Flash converting solution for your applications and Websites - Release v2.0
Software Product: conaito Office2Flash SDK - Version: 2.0
Author: conaito Technologies
1. Install conaito Office2Flash SDK.
2. Download the Open Office PORTABLE Edition (recommend). The conaito Office2Flash SDK working as well with non-Portable Edition but we highly recommend to use the Portable Edition.
3. Install Open Office Portable. After Installation you need enter some registration data (or not), after them run it 1 time more (because another question comes). Now Open Office is ready.
4. Check the demos (you find in the debug folders of the sample or in bin folder of the ASP.NET sample) a file office2flash.config. Edit it and add the correct path to your Open Office. Make sure that you use "/" instead of "\" on path. Save it.
Alternative you can use the conaito Configuration Wizard. This Wizard help you to shortly configure all the samples and copy the required files to the sample folders.
5. Now you can try the demo.
6. On ASP.Net demo you may need to set additional write permissions to the data folder.
Information about the Trial license
This file includes the Trial license. If the license is expired or not longer valid, please contact us on eMail: email@example.com or http://www.conaito.com/support.asp
· Operating system: Windows XP, Windows 2003, Windows Vista, Windows 7
· Java JRE (min. 1.6)
· OpenOffice Portable 3.1 (or better) or installed Open Office 3.1 (or better). We highly recommend to use OpenOffice Portable
Command line Edition
Usage: office2flash..exe [-o outputDirectory [-option2...]] file1 [file2 [file3...]]
Usage: java -jar office2flash.jar [-o outputDirectory [-option2...]] file1 [file2 [file3...]]
Converts all given input files to PDF and Flash. As default the output filenames have the same base
filenames as the input files and the extension "pdf".
PDF files on the input will directly converted to Flash.
INPUT OPTIONS (command line)
Set the output directory of converted files given by outputDirectory.
If directory doesn´t exists, it will created automatically.
default: The target directory is same as where office2flash.exe is called.
Set converting process to single SWF file output.
default: Each page will convert to single SWF file.
Set converting process to SWF file only (no PDF output).
default: SWF and PDF will be created.
Note: See also office2flash.config
Set a process ID for converting process given by processID.
If processID is given and -Traces set to false output is 1 for success or 0 for failed.
default: Not used.
Example: -pid 10 (output is 10=1 on success and 10=0 on failed)
Note: See also -Traces (office2flash.config). If -Traces set to true -pid process status output is ignored and only -Traces related information will output.
Causes original input files to be deleted after successful processing.
default: Not used.
CONFIG FILE OPTIONS (office2flash.config)
Set the directory of OpenOffice "program" folder (location of soffice.exe).
Example for OpenOffice Installed Edition:
ooLibPath=C:/Program Files/OpenOffice.org 3/program
Example for OpenOffice Portable Edition: ooLibPath=OpenOfficePortable/App/openoffice/program/
Note: In this case OpenOffice Portable is placed in same directory as Office2Flash.exe
Set the type of connection to OpenOffice.
1 = Boot Connector (load OpenOffice automatically from 'ooLibPath'), ooHostIP and ooHostPort are not required, 'ooClose' need set to true
2 = Socket Connector (OpenOffice is loaded manual and accept socket), ooHostIP and ooHostPort are required, 'ooClose' can set to false
Note: To load OpenOffice manual you need to call commandline as example: C:\Program Files\OpenOffice.org 3\program\soffice" -invisible -nologo -display:5 -headless -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp;"
or use the provided ' startOpenOffice.bat'
Set the Host IP of OpenOffice. Its only required if ooConnectionType is set to 2.
This property must be same IP as OpenOffice is loaded (see manual loading of OpenOffice - ooConnectionType).
Note: It must set to ooHostIP=127.0.0.1 and OpenOffice must be loaded on same system.
Set the Host Port of OpenOffice. Its only required if ooConnectionType is set to 2.
This property must be same Port as OpenOffice is loaded (see manual loading of OpenOffice - ooConnectionType).
Note: OpenOffice must be loaded on same system.
True set to close OpenOffice after converting process. False let OpenOffice loaded after converting process.
Note: It must set to true if ooConnectionType=1. On ooConnectionType=2 it can be false to let OpenOffice loaded for next converting process.
True turn converting process information output to on. False set to converting process without information.
Note: See also -pid (command line options).
Set -flashonly (see command line options) statically. If set to true then always -flashonly is used
If set to false, command-line settings will be used.
True turn option on to use custom SWF output file names given by swfName (see swfName option).
If set to false, the SWF output filenames have the same base filenames as the input.
Note: In this case (false) input file is "test.doc" the SWF output file will be test_doc_0001.swf [test_doc_0002.swf...] and "test_doc.swf" on -single option usage.
Set custom SWF output file names (to use it set customSwfName to true).
Note: In this case "output" SWF output file will be output0001.swf [output0002.swf...] and
"output.swf" on -single option usage.
True turn option on to use custom XML output file names given by xmlName (see xmlName option).
If set to false, the XML output filename have the same base filename as the input.
Note: In this case (false) input file is "test.doc" the XML output file will be "test_doc.xml".
Set custom XML output file names (to use it set customSwfName to true).
Note: In this case "index" XML output file will be "index.xml".
True turn option on to convert Thumbnail of first page.
Set output format of Thumbnail image. Possible image formats: png, jpeg, gif, bmp
Set the max width of Thumbnail image. The Thumbnail sizes will be proportional (aspect ratio).
Set the max height of Thumbnail image. The Thumbnail sizes will be proportional (aspect ratio).
Our Knowledgebase/ Helpdesk is the best way for your questions.
Please feel free to contact the conaito Support Team in case of any question.
Our Support: http://www.conaito.com/support.asp