NetBeans has seen lots of exciting activity with support for Javafx 2.0 so we have added a facility to convert PDF files to javafx to our PDF viewer plugin for NetBeans. As well as displaying PDF files, you can now convert PDF files into Javafx. The commands inside the PDF are all converted into Javafx commands. At the moment fonts are substituted – we might look at the possibilities of embedding as web fonts at a later date. Welcome to the first release…
Any PDF file in any location can be converted and the path will be inserted for images. If you move the classes, the code will throw a runtime error telling you that the path needs to be changed. A nice feature is that if you put a PDF in your src directory and then generate the files it should all work correctly!
There is also a nice nav tab so that you can use to move through pages.
There is a limit to the size of files allowed and some PDF files can generate some very large files. So we have limited filesize to around 170k – if the output is bigger you will get a blank page with a message saying the file was too big. We might allow output to the new FXML language in a later release to get around this.
Anyway, this is just the first release, so enjoy and let us have some feedback…
Latest posts by Mark Stephens (see all)
- 3 enhancements for our free online PDF to HTML5 and SVG converter - July 5, 2016
- NetCat 8.2 – what it is and why you should care… - June 28, 2016
- Sneak Preview of 7 possible upcoming enhancements in our Java PDF viewer and HTML5 converter - June 15, 2016
- NetBeans Day UK in Pictures - June 1, 2016
- 3 Reasons to Attend NetBeans Day UK next week - May 24, 2016