Converting WMF and a TXT file into PDF by overlapping
- From: <ravi2082 (at) unlimitedmail.org>
- Date: Wed, 1 Feb 2006 13:10:05 GMT
Hi
Thanks for your suggestion
Right now , I have written a program which uses Image class
and adds the WMF image to a blank PDF and then I read the text
file.Since the text in the text file is already aligned with
respect to the wmf image, I am just adding each line to a
Paragraph object and displaying it.The problem here is the
proper alignment of the image and text.
Here the WMF image is a normal static image such as an invoice
or Bill receipt .... The text is the details which go into
that bill.
I am not sure whether I am going in right way.Because I have
different sets of wmfs and corresponding txts and I need to
write a generic program which would overlap txt on wmf and
convert into PDF in one go ....
Please advice me on this...
Thanks
Ravi
> Use a pdf with fields as a template. Use PdfStamper and
AcroFields to
> fill those fields.
>
> > -----Original Message-----
> > From: itext-questions-admin (at) lists.sourceforge.net
> > [mailto:itext-questions-admin (at) lists.sourceforge.net] On
> > Behalf Of ravi2082 (at) unlimitedmail.org
> > Sent: Tuesday, January 31, 2006 9:04 AM
> > To: itext-questions (at) lists.sourceforge.net
> > Subject: Re: [iText-questions] Converting WMF and a TXT
file
> > into PDF by overlapping
> >
> > Hey Guys
> >
> > Please help me with some info on this. Not sure where to
start
> > from ....
> >
> > Thanks
> > Ravi
> > >
> > >
> > > Hi all
> > > I have a requirement where I have a wmf template
> > for "invoice"
> > > and
> > > txt file containing information that should go into that
> > > invoice when
> > > viewing.In the txt file, info is properly alinged . I
have
> > to
> > > put
> > > that wmf image in a PDF and overlay the text on it and
> > > properly align
> > > it . I wanted to know whether I can make use of iText
for
> > this
> > > kind of
> > > stuff where I have 100s of txt file and some wmfs to be
> > > overlapped and
> > > converted into PDFs.Please help with neccessary details
that
> > > iText can
> > > offer me in doing this stuff. Also the limitations
involved
> > > and other
> > > better alternatives to use.
> > > Thanks
> > > Ravi
> > >
> > >
> > > --------------------------------------
> > > Message sent from the
> > > Unlimited Mail Free Services Platform.
> > > http://www.unlimitedmail.net
> > > --------------------------------------
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you
grep
> > through log files
> > > for problems? Stop! Download the new AJAX search
engine
> > that makes
> > > searching your log files as easy as surfing the web.
> > DOWNLOAD SPLUNK!
> > > http://sel.as-us.falkag.net/sel?
> > cmd=lnk&kid=103432&bid=230486&dat=121642
> > > _______________________________________________
> > > iText-questions mailing list
> > > iText-questions (at) lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/itext-
questions
> > >
> >
> >
> >
> >
> > --------------------------------------
> > Message sent from the
> > Unlimited Mail Free Services Platform.
> > http://www.unlimitedmail.net
> > --------------------------------------
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep
> > through log files
> > for problems? Stop! Download the new AJAX search engine
that makes
> > searching your log files as easy as surfing the web.
> > DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=103432&bid=230486&
> > dat=121642
> > _______________________________________________
> > iText-questions mailing list
> > iText-questions (at) lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/itext-
questions
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
> for problems? Stop! Download the new AJAX search engine
that makes
> searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?
cmd_______________________________________________
> iText-questions mailing list
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
--------------------------------------
Message sent from the
Unlimited Mail Free Services Platform.
http://www.unlimitedmail.net
--------------------------------------
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions