Hello
When i create docx with table i see:
but if i print document or try change some column width i see:
What could be a problem?
Thanks.
TblPr tblPr = objFactory.createTblPr();
TblWidth tblWidth = objFactory.createTblWidth();
tblWidth.setW(TABLE_ALBUM_WIDTH);
tblWidth.setType(TblWidth.TYPE_DXA); // twips
tblPr.setTblW(tblWidth);
TblStyle tblStyle = objFactory.createCTTblPrBaseTblStyle();
tblStyle.setVal("TableGrid");
tblPr.setTblStyle(tblStyle);
CTTblLayoutType layout = objFactory.createCTTblLayoutType();
layout.setType(STTblLayoutType.FIXED);
tblPr.setTblLayout(layout);
VMerge vm = objFactory.createTcPrInnerVMerge();
vm.setVal("restart");
Users browsing this forum: Google [Bot] and 97 guests