Re: [iText-questions] Table lines appearing bold sometimes

2009-12-18 Thread George Bilalis

Hi,

1. It's certainly not an iText problem.
2. It's more a screen driver problem of the monitor* you are using.
3. As already stated it's cause is the physical* screen resolution and
device space.

 (*) and this is one of the advantages old analog CRT monitors had over new
LCD/TFT flat digital displays.
The only way you could get rid of thick lines would be to have your screen
driver antialias setting turned off. This way you could get very crisp equal
thickness lines. 

By the same token if you could accurately measure the distance between lines
on the screen, you would find that they are not equal where you specify
equal distance - this error is +/- 1 pixel. This is based on the physical
existance of a display pixel - or not, at a certain position, where you
require the line been drawn

What your display is trying to do, given a non integer pixel value in
x-position of drawing (or worse in y-position), is to turn 2 pixels on at
varying intensities to simulate the actual position your line should go..!
Thus thicker..

Hope this natural limitation of current technology is clear enough. Thanks.
George



ennidhi wrote:
 
 Your problem is a non-issue
 caused by something called resolution and device space.
 Is there a way to address this problem using iText? or else is it ok to
 display like this?
 
 Thanks
 
 
 
 1T3XT info wrote:
 
 ennidhi wrote:
 I Have tried using this method. Its good but problem is that
 width(thickness
 of the line) cannot be set. Again we have to go for setwidth***() method
 to
 set the thickness.
 
 There's a general setWidth() method you can use in combination with 
 setBorder(). Anyway: that's irrelevant. Your problem is a non-issue
 caused by something called resolution and device space.
 -- 
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26841632.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread ennidhi

you can use setBorder(Rectangle.BOTTOM)
Instead of setting the left, right and top border to 0,
why not just tell iText it should only draw the bottom border?
It won't solve your problem, but I prefer using setBorder(). 

I Have tried using this method. Its good but problem is that width(thickness
of the line) cannot be set. Again we have to go for setwidth***() method to
set the thickness.



1T3XT info wrote:
 
 ennidhi wrote:
 That was nitpicking too.
 I didn't like you setting the widths to 0 in order to remove the border.
 
 
 What do you mean by this statement? Do you mean not to set the borders
 with
 this method? 
 
 Did you read my initial answer?
 you can use setBorder(Rectangle.BOTTOM)
 Instead of setting the left, right and top border to 0,
 why not just tell iText it should only draw the bottom border?
 It won't solve your problem, but I prefer using setBorder().
 
 I have one more problem with the code:
 
 I know from the iText study to use writeselectedrows or
 document.write(table) methods to display large tables in different pages
 of
 the PDF. I have developed most of my code using the columns. Is there
 anyway, that I can display the big tables in the columns spreading on
 different pages of the PDF.
 
 If you want to avoid using writeSelectedRows(),
 and still be able to add large tables in different
 portions (to keep the memory usage low), I suggest
 that you read chapter 4 of iText in Action - SECOND edition;
 for the moment it's only available in the MEAP version:
 http://itextpdf.com/book/
 -- 
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26826460.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread 1T3XT info
ennidhi wrote:
 I Have tried using this method. Its good but problem is that width(thickness
 of the line) cannot be set. Again we have to go for setwidth***() method to
 set the thickness.

There's a general setWidth() method you can use in combination with 
setBorder(). Anyway: that's irrelevant. Your problem is a non-issue
caused by something called resolution and device space.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread ennidhi

Your problem is a non-issue
caused by something called resolution and device space.
Is there a way to address this problem using iText? or else is it ok to
display like this?

Thanks



1T3XT info wrote:
 
 ennidhi wrote:
 I Have tried using this method. Its good but problem is that
 width(thickness
 of the line) cannot be set. Again we have to go for setwidth***() method
 to
 set the thickness.
 
 There's a general setWidth() method you can use in combination with 
 setBorder(). Anyway: that's irrelevant. Your problem is a non-issue
 caused by something called resolution and device space.
 -- 
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26838911.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread 1T3XT info
ennidhi wrote:
 Your problem is a non-issue
 caused by something called resolution and device space.
 Is there a way to address this problem using iText?

It's not an iText problem. It's how the viewer works.
If it's not an iText problem, why do you think iText
(or any other product for that matter) can solve the
non-existing problem?
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread mister bean

To perhaps extend Bruno's point: When I look at the problem PDF you posted in
PDFxchange Viewer (a free PDF viewer that permits annotation of PDFs from
www.docu-track.com), the lines all look the same. There are no bold and
non-bold lines.

Regards,

---mr. bean

 re 


ennidhi wrote:
 
 Your problem is a non-issue
 caused by something called resolution and device space.
 Is there a way to address this problem using iText? or else is it ok to
 display like this?
 
 Thanks
 
 
 
 1T3XT info wrote:
 
 ennidhi wrote:
 I Have tried using this method. Its good but problem is that
 width(thickness
 of the line) cannot be set. Again we have to go for setwidth***() method
 to
 set the thickness.
 
 There's a general setWidth() method you can use in combination with 
 setBorder(). Anyway: that's irrelevant. Your problem is a non-issue
 caused by something called resolution and device space.
 -- 
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26840129.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread Leonard Rosenthol
Looks fine to me.

What program are you using to view them?  What makes you think they are bold? 
 can you post a screen shot of your problem with highlights on the issue?

Leonard

-Original Message-
From: ennidhi [mailto:psatishb...@hotmail.com] 
Sent: Wednesday, December 16, 2009 9:59 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Table lines appearing bold sometimes


Hi,
  I have developed the code based on the itext jars. Some of the table rows
are appearing bold (lines diving the rows). Please suggest me here. I am
attaching the code and the pdf files.
http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.pdf
Monthly_Strike_Rate_Report_All.pdf 


http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.java
Monthly_Strike_Rate_Report_All.java 
-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26812407.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread ennidhi



Leonard Rosenthol-3 wrote:
 
 Looks fine to me.
 
 What program are you using to view them?  What makes you think they are
 bold?  can you post a screen shot of your problem with highlights on the
 issue?
 
 Leonard
 
 -Original Message-
 From: ennidhi [mailto:psatishb...@hotmail.com] 
 Sent: Wednesday, December 16, 2009 9:59 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Table lines appearing bold sometimes
 
 
 Hi,
   I have developed the code based on the itext jars. Some of the table
 rows
 are appearing bold (lines diving the rows). Please suggest me here. I am
 attaching the code and the pdf files.
 http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.pdf
 Monthly_Strike_Rate_Report_All.pdf 
 
 
 http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.java
 Monthly_Strike_Rate_Report_All.java 
 -- 
 View this message in context:
 http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26812407.html
 Sent from the iText - General mailing list archive at Nabble.com.
 
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 
http://old.nabble.com/file/p26823122/bold.docx bold.docx 
-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26823122.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread ennidhi


Please see the attachment.The red circled ones are looking bold compared to
the other lines in the table. I have used the same type of code for all the
lines of the table but only these are looking bold.  But its showing fine
when I take the print. What might be the reason for this behavior?  Someone
suggested me to use the table events instead of setborderwidths code.



ennidhi wrote:
 
 
 
 Leonard Rosenthol-3 wrote:
 
 Looks fine to me.
 
 What program are you using to view them?  What makes you think they are
 bold?  can you post a screen shot of your problem with highlights on
 the issue?
 
 Leonard
 
 -Original Message-
 From: ennidhi [mailto:psatishb...@hotmail.com] 
 Sent: Wednesday, December 16, 2009 9:59 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Table lines appearing bold sometimes
 
 
 Hi,
   I have developed the code based on the itext jars. Some of the table
 rows
 are appearing bold (lines diving the rows). Please suggest me here. I am
 attaching the code and the pdf files.
 http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.pdf
 Monthly_Strike_Rate_Report_All.pdf 
 
 
 http://old.nabble.com/file/p26812407/Monthly_Strike_Rate_Report_All.java
 Monthly_Strike_Rate_Report_All.java 
 -- 
 View this message in context:
 http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26812407.html
 Sent from the iText - General mailing list archive at Nabble.com.
 
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 
  http://old.nabble.com/file/p26823122/bold.docx bold.docx 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26823130.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread 1T3XT info
ennidhi wrote:
 
 Please see the attachment.The red circled ones are looking bold compared to
 the other lines in the table. I have used the same type of code for all the
 lines of the table but only these are looking bold.  But its showing fine
 when I take the print. What might be the reason for this behavior?

The main problem is that you are nitpicking!
If it prints OK, then there's no problem with the PDF.
If you want to know the reason you should read the PDF Reference,
especially the parts about user units and device space.

  Someone
 suggested me to use the table events instead of setborderwidths code.

That was nitpicking too.
I didn't like you setting the widths to 0 in order to remove the border.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread ennidhi

That was nitpicking too.
I didn't like you setting the widths to 0 in order to remove the border. 

What do you mean by this statement? Do you mean not to set the borders with
this method? 


I have one more problem with the code:

I know from the iText study to use writeselectedrows or
document.write(table) methods to display large tables in different pages of
the PDF. I have developed most of my code using the columns. Is there
anyway, that I can display the big tables in the columns spreading on
different pages of the PDF.

Thanks...




1T3XT info wrote:
 
 ennidhi wrote:
 
 Please see the attachment.The red circled ones are looking bold compared
 to
 the other lines in the table. I have used the same type of code for all
 the
 lines of the table but only these are looking bold.  But its showing fine
 when I take the print. What might be the reason for this behavior?
 
 The main problem is that you are nitpicking!
 If it prints OK, then there's no problem with the PDF.
 If you want to know the reason you should read the PDF Reference,
 especially the parts about user units and device space.
 
  Someone
 suggested me to use the table events instead of setborderwidths code.
 
 That was nitpicking too.
 I didn't like you setting the widths to 0 in order to remove the border.
 -- 
 This answer is provided by 1T3XT BVBA
 http://www.1t3xt.com/ - http://www.1t3xt.info
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Check the site with examples before you ask questions:
 http://www.1t3xt.info/examples/
 You can also search the keywords list:
 http://1t3xt.info/tutorials/keywords/
 
 

-- 
View this message in context: 
http://old.nabble.com/Table-lines-appearing-bold-sometimes-tp26812407p26823693.html
Sent from the iText - General mailing list archive at Nabble.com.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Table lines appearing bold sometimes

2009-12-16 Thread 1T3XT info
ennidhi wrote:
 That was nitpicking too.
 I didn't like you setting the widths to 0 in order to remove the border. 
 
 What do you mean by this statement? Do you mean not to set the borders with
 this method? 

Did you read my initial answer?
you can use setBorder(Rectangle.BOTTOM)
Instead of setting the left, right and top border to 0,
why not just tell iText it should only draw the bottom border?
It won't solve your problem, but I prefer using setBorder().

 I have one more problem with the code:
 
 I know from the iText study to use writeselectedrows or
 document.write(table) methods to display large tables in different pages of
 the PDF. I have developed most of my code using the columns. Is there
 anyway, that I can display the big tables in the columns spreading on
 different pages of the PDF.

If you want to avoid using writeSelectedRows(),
and still be able to add large tables in different
portions (to keep the memory usage low), I suggest
that you read chapter 4 of iText in Action - SECOND edition;
for the moment it's only available in the MEAP version:
http://itextpdf.com/book/
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/