After quick check, seems seam is a bit of big framework to add for just
pdf, does not support jdk 1.4 (>=5.0 only), and anyway there doesn't
seem to be seam component that add text at specific location of an
existing document, which is my aim. (It will be generated by a fill the
form, get a prefilled PDF form to print web page).
Any other suggestion?
Thank you.
En l'instant précis du 06/08/07 11:37, Mikael Andersson s'exprimait en
ces termes:
Haven't tried this myself yet, but Seam can generate PDFs.
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/itext.html
- Mike
On 06/08/07, *David Delbecq* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hello,
i come across a requirement where i need to generate a PDF, by adding
text at specific location inside an existing pdf. I thought about
using
a servlet that does it using itext. However, after turning on my
brain,
i think it would be very interresting if you could instead do
something
like this in a JSF/Facelet application:
<x:pdf value="#{someBinaryDocument}">
<x:page number="1">
<x:outputText value="#{someBean.property}">
<some classical JSF converter>
</x:outputText>
</x:page>
</x:pdf>
I know how to create binary output from a JSF component (get
outpustream, set headers, set responseComplete())
Oracle ADF has a telnet renderer, i suppose there could exist some PDF
based renderers out there. Interest would be to generate PDF output as
easily as html output. It does not seems so difficult to implement
a few
PDF based JSF components using itext. However, i'd like to prevent
stupid double work if this stuff already exist somewhere.
Anyone know of existing library for this?
--
http://www.noooxml.org/
--
David Delbecq
Institut Royal Météorologique
Ext:518