Hi Erik,
I am not sure if my solution is the most elegant but for ideas have a
look at the files in the attached zip.
in.fo is for the final document- you will have to change the path to
the generated overlay.pdf.
overlay.fo was used to create overlay.pdf.
out.pdf is the final result.
For busy readers who do not have time to look at the attacmnet the
relavent fo snippet is
<fo:block-container>
<fo:block-container position="absolute">
<fo:block font-size="20pt">
Apache FOP (Formatting Objects Processor) is a print formatter driven by
XSL formatting objects (XSL-FO) and an output independent formatter.
It is a Java application that reads a formatting object (FO) tree and rend
Output formats currently supported include
PDF, PS, PCL, AFP, XML (area tree representation), Print,
AWT and PNG, and to a lesser extent, RTF and TXT.
The primary output target is PDF </fo:block>
</fo:block-container>
<fo:block-container position="absolute">
<fo:block>
<fo:external-graphic src="file:///tmp/pdf-image/overlay.pdf"/>
</fo:block>
</fo:block-container>
</fo:block-container>
I hope this helps.
pete
On Tue, Nov 2, 2010 at 1:25 AM, erik pepermans <[email protected]> wrote:
> Hi,
>
>
>
> I tried to combine fop-pdf-images-2.0.0 with fop-1.0
>
> So far so good. How can I use the pdf document from the fo:external-graphic
> command as an overlay for subsequent blocks ?
>
>
>
> Thanks
>
>
>
> Brgds
>
> Erik
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]