graphic.setGraphicData(graphicData);
graphicData
.setUri("http://schemas.openxmlformats.org/drawingml/2006/table");
CTTable ctTable = dmlFactory.createCTTable();
JAXBElement<CTTable> tbl = dmlFactory.createTbl(ctTable);
graphicData.getAny().add(tbl);
CTTableGrid ctTableGrid = dmlFactory.createCTTableGrid();
CTTableCol gridCol = dmlFactory.createCTTableCol();
ctTable.setTblGrid(ctTableGrid);
ctTableGrid.getGridCol().add(gridCol);
ctTableGrid.getGridCol().add(gridCol);
gridCol.setW(300000);
CTTableRow ctTableRow = dmlFactory.createCTTableRow();
ctTableRow.setH(370840);
ctTableRow.getTc().add(createTableCell());
ctTableRow.getTc().add(createTableCell());
for (int i = 0; i < 4; i++) {
ctTable.getTr().add(ctTableRow);
}
return graphicFrame;
}