How to convert any printable document to Adobe Flash (SWF) format using Java?


With Print2Flash it is easy to convert any printable document to Flash format using Java. You may convert any type of documents that can be printed programmatically: Microsoft Office documents (Word, PowerPoint, Excel, Outlook), PDF documents, text (.txt) documents, image files (JPG, GIF, PNG, TIFF, BMP, etc.), HTML pages, Microsoft Project documents, OpenOffice documents (OpenOffice Writer, Calc, Impress, Math, Draw), Adobe InDesign documents, Autodesk AutoCAD documents and other types of documents.

To convert documents to Flash programmatically you may use Print2Flash OLE Automation API. You may get a sample demonstrating how to use Automation API for converting with Java from Print2Flash SDK. The SDK archive can be downloaded from the Download page. The Java sample is located in the Automation\Java folder of the SDK archive. To test the sample, you need to unpack the sample folder to disk and then follow instructions in the ReadMe.htm file located in the sample folder.

To run the SDK sample, you need to download and install a Commercial Edition of Print2Flash as well. It can be downloaded from the Download page.