Bug 62489

Summary: set table's cell width dont work
Product: POI Reporter: janly <jjjachyty>
Component: HWPFAssignee: POI Developers List <dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 3.17-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X 10.1   

Description janly 2018-06-26 08:58:11 UTC
XWPFTable table = doc.createTable(3, 3);
List<XWPFTableRow> rows = table.getRows();
XWPFTableCell cell = rows[0].getTableCells().get(0);
CTTcPr cellPr = cell.getCTTc().addNewTcPr();
                cellPr.addNewVAlign().setVal(STVerticalJc.TOP);
                CTTblWidth tcw = cellPr.addNewTcW();tcw.setW(BigInteger.valueOf(1000));
                	tcw.setType(STTblWidth.NIL);
 cell.setText("im test the cell width fixed ,dont auto"); //it effective
cell.setText("1111111111111111111111111111111111111111"); //invalid,the with was 1000 but ,view with office ,the cell was not 1000,its growth