I am using apache POI for converting a word document into pdf. I am filling the table rows with dynamic data. Everything is working fine, but i want to do some enhancement that is i want to add a bullet before each row data. Here is a for loop i am using to fill the row data in the table:
for (String string : documentList) {
XWPFTableRow lnewRow = ltable.createRow();
XWPFTableCell lnewCell = lnewRow.getCell(0);
XWPFParagraph lnewPara =lnewCell.getParagraphs().get(0);
XWPFRun lnewRun = lnewPara.createRun();
lnewRun.setText(string);
}
Can anyone please tell me how can i add a bullet before each row data?