HI,
        How to achieve this:
             Paragraph p = new Paragraph();
             p.add(new Chunk("First chunk");
             p.add(<Some amount of space in terms of points>);
             p.add(<another chunk);
             p.add(<space>);

   Please donot suggest a table, the spaces are of different sizes. If not
possible, with the current version of iText, can I get some suggestions of
adding this functionality to iText.

Thanks,
Ramana.
             

-----Original Message-----
From: Jaladurgam, Ramana [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 5:11 PM
To: 'Paulo Soares'; Bruno
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Line height in a chunk


The one method I found is 
  int go(), go(simulate). But the documentation says they return
        NO_MORE_TEXT/NO_MORE_COLUMN. How does we interpret them?

Ramana.


-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 4:20 PM
To: Bruno; Jaladurgam, Ramana
Cc: [EMAIL PROTECTED]
Subject: Re: [iText-questions] Line height in a chunk



----- Original Message ----- 
From: "Bruno" <[EMAIL PROTECTED]>
To: "Jaladurgam, Ramana" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 19:43
Subject: RE: [iText-questions] Line height in a chunk


> Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>:
> 
> > 
> >    document.setLinesRequired(n);
> >    //Add the elements to the page.
> > 
> > I mean with this statement is the page break should happen before
> > the elements are added in case the page doesn't have sufficient (in 
> > this
> case
> > n) number of lines.
> 
> Use ColumnText.
> You can check if the Column fits before you add it (I think).

Yes and even gets the number of lines that would fit.

Best Regards,
Paulo Soares

> Bruno
> 


****************************************************************************

This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
iText-questions mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to