This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apche POI XWPFDocument