Doc2Swf
1. System requirements: Windows
2. Download and install OpenOffice
(OpenOffice download address: http://zh.openoffice.org/new/zh_cn/downloads.html )
run "1-OpenOffice-Install\OpenOffice.org 3.3 (zh- CN) Installation Files\setup.exe" is installed by
default to the directory "C:\Program Files\OpenOffice.org 3"
"C:\Program Files\OpenOffice.org 3\program" There is a file soffice.exe in the directory
with the following Command to start the OpenOffice service:
cd C:\Program Files\OpenOffice.org 3\program
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
3. Download and install SWFTools
(SWFTools Download address: http://www.swftools.org/swftools-0.9.2.exe )
Run "3-OpenOffice+SWFTools+FlexPaper\2-SWFTools-Install\swftools-0.9.2.exe" to install
For example, install it to the directory "C:\SWFTools", and there is a file pdf2swf.exe in this folder.
4. Import the project Doc2Swf in eclipse to
create the file "d:/document.doc",
enter the wenku.properties file, and install OpenOffice and SWFTools Configure the directory and
run the file com.zfsoft.wenkudemo.Test.java.
You can see that the files document.pdf and document.swf will be generated under the D drive.
5. Copy the document.swf file to the 4-FlexPaper+Display\FlexPaper_1.5.1_flash directory ,
Open the file Test.html with a browser
Pdf2Swf
1. System requirements: Windows
2. Download and install SWFTools
(SWFTools download address: http://www.swftools.org/swftools-0.9.2.exe )
and run "3-OpenOffice+SWFTools+FlexPaper\2-SWFTools-Install \swftools-0.9.2.exe" for installation, for
example, install to the directory "C:\SWFTools", there is a file pdf2swf.exe in this folder
4. Import the project Doc2Swf in eclipse to
create the file "d:/document.doc"
to enter wenku.properties file, configure the installation directory of OpenOffice and SWFTools,
run the file com.zfsoft.wenkudemo.Test.java,
you can see that the files document.pdf and document.swf will be generated under the D drive
5. Copy the document.swf file to 4 -FlexPaper+Display\FlexPaper_1.5.1_flash directory,
open the file Test.html with a browser