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)
- How we are improving our code quality with IDEA in 2018 - March 7, 2018
- How we are improving our code quality with NetBeans in 2018 - March 1, 2018
- 3 ways that the European Union is changing the way Companies write software in 2018 - January 31, 2018
- IDRsolutions product range update for 2018 - January 22, 2018
- 4 ways Companies can make remote working successful - December 21, 2017