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: dev@poi.apache.org
          Reporter: jjjach...@163.com
  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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to