Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier to set watermark for PDF output #2153

Closed
raducoravu opened this issue Nov 30, 2015 · 1 comment
Closed

Make it easier to set watermark for PDF output #2153

raducoravu opened this issue Nov 30, 2015 · 1 comment
Labels
feature New feature or request plugin/pdf Issue related to PDF plug-in stale No recent activity. May be closed soon.

Comments

@raducoravu
Copy link
Member

For Docbook for example you have a parameter which controls this:

http://docbook.sourceforge.net/release/xsl/1.75.2/doc/fo/draft.watermark.image.html

For DITA you would need to overwrite in your custom.xsl a lot of templates, starting with the one which generates the frontmatter + many templates from the "org.dita.pdf2/xsl/fo/static-content.xsl" like "static-content.xsl".
At least we would have a single XSLT template which we could overwrite for this in a customization.

Looking also at Docbook, they have lots of parameters for PDF customization. This happens because in Docbook it's very easy to define a parameter, you just define it as an XSLT parameter.
For DITA you always need to also define an ANT parameter which tunnels its value to the XSLT parameter.

@robander robander added feature New feature or request plugin/pdf Issue related to PDF plug-in labels May 6, 2016
@stale
Copy link

stale bot commented Dec 12, 2018

This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No recent activity. May be closed soon. label Dec 12, 2018
@stale stale bot closed this as completed Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request plugin/pdf Issue related to PDF plug-in stale No recent activity. May be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants