Apache POI Microsoft Word
Apache POI provides pure Java API for handling Microsoft Office word. We can create new word document, write and read data from Java program.
HWPF (Horrible Word Processor Format) is used to read and write .doc extension files of MS-Word.
XWPF (XML Word Processor Format) is used to read and write .docx extension files of MS-Word.
We can use either both of the above to create new document, get the paragraphs, pictures, tables, sections, headers etc.
Following are the Microsoft Office word commonly used classes.