i have a table and would like to add cells with newline characters in it, but have had a hard time figuring out how.
below i have set row.get(i) = “name line 1 \n last on line two.”
"name line 1 #$NL last on line two"
nothing seems to work.
public com.aspose.pdf.Row tableAddRow(com.aspose.pdf.Table t, List row){
Row r = t.getRows().add();
for(Integer i=0;i<row.size();i++) {
r.getCells().add(row.get(i));
}
return r;
}
how do i get a newline into a cell and force the rest of the string
onto the next line within the same cell???