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.12version of these files, as they have been tested and work properly.NoteIt is not recommended to usepdfbox-app-2.0.3.jarfile 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 pdfImageJarsin the[OXYGEN_INSTALL_DIR]\libdirectory.
- Copy the downloaded JAR libraries to that newly created subfolder.
- Open OXYGEN_PLUGIN_DIR/META-INF/MANIFEST.MFand add a reference to the JAR libraries in theBundle-ClassPathentry.
- Restart Eclipse in clean mode (edit the
                     shortcut you use to start Eclipse and add -cleanas the first argument.)
