XML Web Author: print properties

Oxygen general issues.
bwalters
Posts: 13
Joined: Wed Dec 11, 2013 4:45 pm

XML Web Author: print properties

Post by bwalters »

Using the XML Web Author is there a way to print documents without the comments and track changes showing? I found and tried the Web Author PDF Plugin v23.1, but with that headers and footers do not print, and I don't see a way to configure that either.

Thanks for your help.
cristi_talau
Posts: 496
Joined: Thu Sep 04, 2014 4:22 pm

Re: XML Web Author: print properties

Post by cristi_talau »

Hello,

With the Oxygen PDF Plugin you can use CSS to configure page margin boxes [1] (is this what you meant by headers and footers?). This CSS can be added in the framework configuration [2]. In order to use this CSS only for publishing you can use a "@media print {}" declaration around your rules.

With the default print functionality, a workaround to hide review markers would be to add this line to a JS plugin:

Code: Select all

sync.actions.PrintAction.prototype.addReviewItems = () => {}
Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... boxes.html
[2] https://www.oxygenxml.com/doc/versions/ ... x4_43j_qnb
bwalters
Posts: 13
Joined: Wed Dec 11, 2013 4:45 pm

Re: XML Web Author: print properties

Post by bwalters »

Thanks for your response and explanation.
Regarding header/footer configuration it would be to specify what is output in these like page number, file name, date, and such.
cristi_talau
Posts: 496
Joined: Thu Sep 04, 2014 4:22 pm

Re: XML Web Author: print properties

Post by cristi_talau »

Hello,

This kind of footer content can be configured easily. We have a tutorial here: https://www.oxygenxml.com/doc/versions/ ... hp_gjf_hbb .

Here is another tutorial on how to insert the current date: https://www.oxygenxml.com/doc/versions/ ... _date.html . The tutorial is about a cover page, but the page footer can be customized in a similar way to contain the date.

Best,
Cristian
Post Reply