- Code: Select all
Tbl table = factory.createTbl();
table.setTblPr(new TblPr());
CTBorder border = new CTBorder();
[u]border.setColor("maroon");[/u]
border.setSz(new BigInteger("10"));
border.setSpace(new BigInteger("0"));
border.setVal(STBorder.SINGLE);
TblBorders borders = new TblBorders();
borders.setBottom(border);
borders.setLeft(border);
borders.setRight(border);
borders.setTop(border);
borders.setInsideH(border);
borders.setInsideV(border);
but i want how to set the table border color, please provide solution,
thanks in advance..