Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] How to keep the blank row in table?

luo sebastian

2007-07-29

Replies:

Thanks Paulo , a 0d0a works

Sebastian


>From: "Paulo Soares" <psoares@(protected)>
>Reply-To: Post all your questions about iText here
<itext-questions@(protected)>
>To: "Post all your questions about iText here"
<itext-questions@(protected)>
>Subject: Re: [iText-questions] How to keep the blank row in table?
>Date: Sun, 29 Jul 2007 16:43:29 +0100
>
>Use a non breaking space \u00a0.
>
>Paulo
>
>----- Original Message ----- From: "luo sebastian"
><sebastian.luo@(protected)>
>To: <itext-questions@(protected)>
>Sent: Sunday, July 29, 2007 1:18 AM
>Subject: [iText-questions] How to keep the blank row in table?
>
>
>>Hello *,
>>
>>When I use the folling code:
>>
>>     tb = New Table(1)
>>     'add the first row
>>     ce = New Cell("1-------")
>>     tb.AddCell(ce)
>>
>>     'add the 2nd row
>>     ce = New Cell("")
>>     tb.AddCell(ce)
>>
>>     'add the last row
>>     ce = New Cell("3--------")
>>     tb.AddCell(ce)
>>     doc.Add(tb)
>>
>>
>>the table generated in the document will automatically ignore the
>>second
>>cell and only return the first and the last cell in the table. But
>>I really
>>need to keep the second cell, even if it is has nothing in it?
>>
>>Can anybody tell me how to do it.
>>
>>Thank you very much
>>
>>Sebastian
>
>


>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/


>_______________________________________________
>iText-questions mailing list
>iText-questions@(protected)
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>Buy the iText book: http://itext.ugent.be/itext-in-action/

_________________________________________________________________
?????????????????????????????????? Live Messenger;
http://get.live.com/messenger/overview


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.