can some body give some suggestion regarding the following
mails.i ave to generate a PDF file like the attachment. can some body give
some code.
----Original Message Follows----
From: Bruno Lowagie <bruno@...>
To: ujjal_ borua <ujjal_borua@...>
Subject: Re: Query for iText utility
Date: Thu, 29 Mar 2001 11:58:13 +0200
ujjal_ borua wrote:
>
> Sir,
> I am using your iText utility in my projects pdf report generation.I am
> supposed to have a report format of an HTML mage i.e.user is going to use
> some legal documents in the HTML format and then he needs the printout of
> it.The client has asked for the report to be in pdf format.
> I am facing a minor problem in alingning the paragraph (which i am using
as
> label)and table of one row(which i am using as corresponding textfield of
> the label).I have used setAlignment(Element.ALIGN_LEFT),but when i add
the
> corresponding table it comes under that paragraph and not in the same
line.
> Please give your valuable suggestion on this issue of mine.
I understand your problem, you want something like this:
+---------------------+
Label of the textfield | TextField |
+---------------------+
But because a Table always starts on a new line, you get this:
Label of the textfield
+---------------------+
| TextField |
+---------------------+
For the moment, the only way to achieve this, is to
make a Table with 2 colums.
You have to put the text 'Label of the textfield'
into a Cell without borders and the TextField itself
into a Cell with a BOX as border.
In the latest distribution (26 March 2001) Paulo
Soares added the possibility to put text on an absolute
position, but I wasn't able to test this feature yet.
If you want more info about this feature, please ask
your question on the mailing list.
HTH,
Bruno
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|