What's New in Oxygen PDF Chemistry 24

October 18, 2021

Oxygen PDF Chemistry version 24.0 provides lots of improvements and new customization possibilities for the CSS Paged Media processor used for obtaining PDF output from HTML or XML documents through CSS styling. Some examples of the features and updates that were added in this version include the possibility of controlling the security policies for the Chemistry processing, protecting your PDF files using security permissions, and some new properties that can be used to control various components in the PDF output (such as the initial settings for how the document is presented, copyright information, or custom metadata). This release also includes various bug fixes and important component updates.

Control the Security Context of the Chemistry Processing

It is now possible to control the security context of the Chemistry processing through a Java security policy file. This file can be specified using a new -security-policy command-line parameter. For more details, see Security Policy Configuration.

Control Copyright Metadata

Three new CSS properties (-oxy-pdf-meta-copyright, -oxy-pdf-meta-copyrighted, -oxy-pdf-meta-copyright-url) were added to provide the ability to control the copyright information in the PDF output.

Custom Metadata Fields

You can use the -oxy-pdf-meta-custom property to define custom metadata fields and it now supports multiple values (for example: -oxy-pdf-meta-custom: "First" "First-Value", "Second" "Second-Value").

Control How the PDF Reader Presents the Document

A new set of CSS properties can be used to control how the PDF Reader (e.g. Acrobat Reader) presents the PDF document. For example, you can specify the zoom level, whether or not the toolbar and menu is visible, which side panels should be visible by default, the page sequence presentation (one page or scrolled), and more. For more details, see How to Control the PDF Viewer.

Protect PDF Files with Security Permissions

You can restrict the permissions for people using your PDF files by using some new command-line parameters. For example, you can use the -pdf-security-restrict-print parameter to restrict users from printing the PDF content or the -pdf-security-restrict-copy parameter to restrict users from copying the PDF content. These parameters that are specific to security permissions start with -pdf-security and details can be found in Command Line Parameters - Optional Parameters.

Support Added for the 'visibility' CSS Property

The visibility CSS property is now applied during the PDF transformation (previously, the property was applied in the editor, but had no effect in the transformation). For example, you can use visibility: hidden to hide something, such as the title for a block element.

Border Styling Improvements

More support was added for styling borders. For example, you can try various combinations of CSS rules that apply to certain aspects of borders, such as the border style (solid or dotted lines) or the transparency of the border colors.

Rotate Table Cells

For CSS-based PDF output, you now have the possibility of rotating table cell content by using the transform CSS property. For more details, see Tables - Rotating Cell Content.

Component Update: Apache FOP 2.6

Updated the Apache FOP used by the Chemistry processor to version 2.6.