Hi Team ,
Please let us know that how to change the row's and column's line color(in blue color) .
Thanks in advance
//Create Document
Document document = new Document();
//Load Word Document
document.loadFromFile("data/test.docx");
//Get the first section
Section section = document.getSections().get(0);
//Get the first table in the section
Table table = section.getTables().get(0);
//Set the horizontal and vertical borders of the table
table.getTableFormat().getBorders().getVertical().setBorderType(BorderStyle.Hairline);
table.getTableFormat().getBorders().getHorizontal().setBorderType(BorderStyle.Hairline);
table.getTableFormat().getBorders().getVertical().setColor(Color.BLUE);
table.getTableFormat().getBorders().getHorizontal().setColor(Color.BLUE);
//Save
document.saveToFile("output/setTableStyleAndBorder.docx", FileFormat.Docx_2013);