This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.
 
 
subject: Apche POI XWPFDocument
 
It's not a secret anymore!