Re: more questions on pdf generation
Hussein Shafie <[email protected]> Tue, 07 Oct 2014 14:51:05 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
Mary M. wrote:
> That's great - it works fine.
Thanks, but please try to refer to the documentation before sending us
support requests, as support requests are in principle limited to one
topic per week and per customer. See "XMLmind XSL-FO Converter support
policy" -- http://www.xmlmind.com/foconverter/support_policy.html
You should find the answers to most your "HOW TO" questions in these two
documents:
* XMLmind DITA Converter Manual
http://www.xmlmind.com/ditac/_distrib/doc/manual/index.html
* XMLmind XSL Utility - Online Help
http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/index.html
(XMLmind DITA Converter, our in-house DITA processor, is embedded in
XMLmind XSL Utility, the application you use.)
>
> I was wondering also if there's a way to add a watermark (draft) to the pdf?
No, otherwise this would have been documented in "XMLmind DITA Converter
Manual" -- http://www.xmlmind.com/ditac/_distrib/doc/manual/index.html
>
> And an small icon image to the header?
>
Yes, see XSLT stylesheet parameters: header-left, header-center,
header-right in
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__header-left
For example, if I pass parameter:
header-left
with value:
{{image(file:/home/hussein/icons/logo_xmlmind/icon_small.svg)}} XMLmind
to the DITA XSLT stylesheets generating PDF, I'll get the XMLmind logo
followed by text " XMLmind" at the left of each page header.
Notice the use of an absolute URL in variable {{image()}}. A relative
URL or a filename won't work here.
header-left, header-center, header-right may contain a mix of literal
text and {{XXX}} variables. Of course, just specifying a variable such
as {{image(ZZZ)}} works fine.
Attached screenshot shows you that you can specify XSLT stylesheet
parameters directly in the "Transform" tab.
Note that helper application "XMLmind XSL Customizer" also allows to
specify XSLT stylesheet parameters, so may be you'll prefer specifying
these parameters in the XSL customization file you have created yesterday.
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
param_header-left.png
(image/png, 27.6 KB) - not displayed