This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes IText Problem with left and right spacing while creating nested tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "IText Problem with left and right spacing while creating nested tables" Watch "IText Problem with left and right spacing while creating nested tables" New topic
Author

IText Problem with left and right spacing while creating nested tables

Varun Annand
Greenhorn

Joined: Nov 06, 2011
Posts: 6
Hi friend,
I am using IText version 5 and I am trying to create a nested table but it always leaves space to the left and right even after calling the method cell.settPadding(0)
My final solution has been to set cell padding to a negative value... c1.setPaddingLeft(-27);

This has solved the issue only to an extent
But there is still spacing left at the right.
Moreover, setting padding to negative value seems less than satisfactory solution.


[Download newImg.bmp] Download

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IText Problem with left and right spacing while creating nested tables
 
Similar Threads
Itext with java : PDF nested table issues
web dynpro application
web dynpro application coding
PdfPTable
Issues in file downloading