poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zecharya.com" <...@zecharya.com>
Subject XWPF set text language
Date Tue, 18 Dec 2018 05:40:10 GMT
Hello, I would like to set the language for an XWPF document, so the end user’s spellcheck
can correctly identify it.

For example, in the following method:

private void wordPara(XWPFDocument document, String text, boolean bold) {
	XWPFParagraph p = document.createParagraph();
	XWPFRun runCF = p.createRun();

I see that XWPFRun has the method getLang(), but not setLang()
What is the proper way to do this?

Thank you!
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message