Forum How do I...?

Revision bars/ Change Bars

Anonymous
Hi,
I was wondering if it is possible in PrinceXML to have change bars (also called Revision bars) in their PDF output.

Regards,
Nathan
mikeday
Hi Nathan,

I'm afraid that Prince does not support change bars yet.

There is one special case where you could make it work, if you want the change bar to stretch over a whole paragraph (or multiple paragraphs). In that case, you could add a left border to act as a change bar, like this:

div.change { border-left: solid black thin }

<p>paragraph 1</p>
<div class="change">
<p>paragraph within change</p>
<p>another changed paragraph</p>
</div>
<p>paragraph 2</p>

However it is not yet possible to create change bars that overlap arbitrary spans of text in the document, sorry!

Best regards,

Michael