This doesn't answer your question on HWPF. Last I looked at this, a few years ago, I figured out how to get the language via OLE, and it was so rarely populated that it was better to run language id on the extracted content. For language id (in Java), consider optimaize or yalder
-----Original Message----- From: Branden Visser [mailto:[email protected]] Sent: Tuesday, July 19, 2016 6:38 PM To: POI Users List <[email protected]> Subject: Finding document language? Hi all, Does anyone know the best way to get the document language for both XWPF and HWPF documents? I'm guessing if it's File > Properties > Custom, then it can be extracted from the custom properties in XWPF, but is there a similar API available in HWPF? Thanks, Branden --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
