2. Links

By default, links aren't automatically added to your document. First of all, PDFreactor must be configured to do so:

pdfReactor.setAddLinks(true);

When the default XHTML mode is enabled, the following link styles are applied by default:

a[href] { -ro-link: attr(href); }
a[name] { -ro-anchor: attr(name); }

Using the styles -ro-link and -ro-anchor you can define arbitrary XML elements to be links and anchors.

linkElement[linkAttribute] { -ro-link: attr(linkAttribute); }
anchorElement[anchorAttribute] { -ro-anchor: attr(anchorAttribute); }