aspose file tools*
The moose likes Other Open Source Projects and the fly likes Apche POI XWPFDocument Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apche POI XWPFDocument" Watch "Apche POI XWPFDocument" New topic
Author

Apche POI XWPFDocument

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

i am not able to remove the borders from table, it is coming automatically, i need to know how to remove table borders

any help would be appreciated.
venus jain
Greenhorn

Joined: Jan 06, 2012
Posts: 1
It can be done as follows:

XWPFTable serviceTable = document.createTable();
serviceTable.getCTTbl().getTblPr().unsetTblBorders();
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

thanks venus jain.
 
Don't get me started about those stupid light bulbs.
 
subject: Apche POI XWPFDocument