Page 1 of 1

XML Web Author: print properties

Posted: Wed Sep 29, 2021 12:30 am
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.

Re: XML Web Author: print properties

Posted: Wed Sep 29, 2021 9:43 am
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

Re: XML Web Author: print properties

Posted: Wed Sep 29, 2021 4:57 pm
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.

Re: XML Web Author: print properties

Posted: Wed Sep 29, 2021 5:46 pm
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