I raised a bug - https://bz.apache.org/bugzilla/show_bug.cgi?id=63013
It looks like a missing setter to me.
If you can create your own subclass of XWPFRun, you could try this extra
method:
public void setLang(String lang) {
CTRPr pr = run.isSetRPr() ? run.getRPr() : run.addNewRPr();
CTLanguage ctLang = pr.isSetLang() ? pr.getLang() : pr.addNewLang();
ctLang.setVal(lang);
}
--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]