Customize Oxygen XML Editor plugin to Render PDF Images (Experimental Support)
Oxygen XML Editor plugin provides experimental support for PDF images using the Apache PDFBox library.
To enable the rendering of PDF images in Author mode, follow this procedure:
- Go to http://pdfbox.apache.org/downloads.html and download the pre-built PDFBox standalone binary JAR files:
pdfbox-2.0.3.jar
,fontbox-2.0.3.jar
, andxmpbox-2.0.3.jar
. Alternatively, you can use the1.8.12
version of these files, as they have been tested and work properly.Note
It is not recommended to usepdfbox-app-2.0.3.jar
file instead of the three specified files because it contains additional classes that may cause conflicts elsewhere in Oxygen XML Editor plugin. - Create a subfolder called
pdfImageJars
in the[OXYGEN_INSTALL_DIR]\lib
directory. - Copy the downloaded JAR libraries to that newly created subfolder.
- Open
OXYGEN_PLUGIN_DIR/META-INF/MANIFEST.MF
and add a reference to the JAR libraries in theBundle-ClassPath
entry. - Restart Eclipse in clean mode (edit the
shortcut you use to start Eclipse and add
-clean
as the first argument.)