Monday, July 13, 2020

AndrOpen Office 4.6.0 - Improved PDF Import by replacing to PDFium


AndrOpen Office version 4.6.0 is released.


Improved PDF Import by replacing to PDFium



AndrOpen Office has been supported PDF Import as an extension for a long time.


But that has some issues especially performance because of the license.


The PDF Import depends on Poppler library and its license is GPL.


So to avoid the license in OpenOffice, the PDF Import program and OpenOffice program are separated by system process.


Because of separating processes, the performance is very bad.


I have started the project for PDF Import replacing to PDFium library, the BSD 3-clause license, from the Poppler library.


At first, I finished the replacing in iOS version, Office 700.


And now, I finished the replacing in Android version, AndrOpen Office.


Performance Benchmark



I have tested the performance benchmark between Poppler version and PDFium version as below, and the result is improved 10x in the loading time!


Target: Loading time of book.pdf
Device: Pixel 3a, Android 10


  • PDF Import with Popper library ... avg. 68.44 sec.
  • PDF Import with PDFium library ... avg. 6.69 sec.


The PDFium version is already preinstalled in the latest version and you never have to install PDF Import extension as previous version.