https://bz.apache.org/bugzilla/show_bug.cgi?id=62489

            Bug ID: 62489
           Summary: set table's cell width dont work
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to