Hi, We are currently generating PDFs using xsltproc, and are building our PDF titlepages using an .svg image with the following code:
<t:titlepage t:element="book" t:wrapper="fo:block">
<t:titlepage-content t:side="recto">
</t:titlepage-content>
<t:titlepage-content t:side="verso">
<legalnotice font-size="10pt"/>
</t:titlepage-content>
<t:titlepage-separator>
<!--<fo:block break-after="page"/>-->
</t:titlepage-separator>
<t:titlepage-before t:side="recto">
<!--<fo:block break-after="page"/>-->
<fo:block-container absolute-position="absolute"
height="100%"
width="100%">
<fo:block padding-top="10%">
<fo:external-graphic
src="url(All_Titlepages/KTM/CoverPage_InstallationGuide_KTM.svg)"/>
</fo:block>
</fo:block-container>
</t:titlepage-before>
<t:titlepage-before t:side="verso">
<fo:block break-before="page"/>
<!--<fo:block break-after="page"/>-->
</t:titlepage-before>
</t:titlepage>
We have been asked to include a date and time stamp on each pdf title page in
addition to the graphic file.
I've been able to get generic text placed in the correct location on the title
page by adding the following entry directly after the external-graphic block:
<fo:block text-align="right" margin-right="-10px"
font-family="{$title.fontset}" font-size="8pt">Date/Time Stamp to go
here</fo:block>
I've seen several examples using JavaScript but they tend to require either the
Saxon or Xalan processors, which we are not using.
Does anybody know if I can insert the date and time in that location? If so,
could you provide or point me to an example?
Thanks in advance,
Laurie.
Laurie Burley
Sr. Tech Comm Spc.
Kofax U.K., Ltd.
________________________________
201 Cambridge Science Park
Milton Road, Cambridge
CB4 0GZ
United Kingdom
Tel: +44 (0) 1223 226021
[email protected]
[cid:kofaxemail2213.gif]
________________________________
This communication is only for the use of the intended recipient. It may
contain confidential or proprietary information. If you are not the intended
recipient or have received this communication in error, please notify the
sender via phone and destroy this communication immediately.
<<inline: kofaxemail2213.gif>>
