To replace the place holder in the tbl I use this
- Code: Select all
Tbl tempTable = getTemplateTable(tables, getKey(placeholder));
if(tempTable==null)return;
List<Object> tcs = getAllElementFromObject(tempTable, Tc.class);
Tc tc=(Tc)tcs.get(0);
List<Object> ps = getAllElementFromObject(tc, P.class);
tc.getContent().remove(ps.get(0));
for(Object object :htmlStrings){
tc.getContent().add(object);
}
My question is how to convert html text to ...