Recently for work I have had to convert quite a few word docs to the FlashPaper format.
Realising how long this would take I looked into an undocumented feature of the FlashPrinter.exe of calling it from the command line and passing the required arguments.
You can easily take my code and get any language like Java or even Ant to do the following.