I have created a report pdf file in itext. I have two tables in that which has some data in it. Generally the tables we create in itext have sharp edge corners. I want to have the rounded corners for my table.
I searched a lot but couldn't found any idea for that. Please tell me what to do.
Regards, Vijay Jamadade.
( Nothing is Impossible.)
The solution lies in table events and cell events (depending on whether you want the complete table to have round corners, or individual cells). See the section "Cell and Table Events" here.
Joined: May 12, 2008
Hi Ulf, The problem is the tutorial www.lowagie.com/iText at this link is too old and doesn't contain the layout related example for table to refer. Can you please send me some sample ? Really I have searched a lot. Please help me out.
One more thing is adding the page numbers automatically if the page goes beyond one page to the second page. when I searched for it, it gave me something to implement the 22 methods for the things like addition of page numbers. Is it ok that for adding a small thing like page number I will need to this stuff. Or there is another way I am missing.
Joined: Mar 22, 2005
I'm not aware of full examples of doing what you're asking. But the key to custom table drawing are table events, and those example codes show how those can be used to customize table appearance. That should give you a pretty good start.