How to manipulate .doc files

I need to create a small Java desktop application that creates a .doc file for me and writes some text to a file. I found an interesting tool called Aspose, but I saw that it is not free at all. Do you know which java API I can use for this (for free)? Is it possible to do this only with java SE libraries? What do you think is the easiest and fastest way to achieve this?

+3
source share
4 answers

I suggest you take a look at the Apache POI framework , in particular the HWPF - Java API for processing Microsoft Word files :

HWPF - Microsoft Word 97 (-2007) Java. Word 6 Word.

+5

.doc, , Word ( , ), XML .

DOM , .

+1

.doc, , Microsoft Office? Office - . .doc? Rich Text Format (.rtf), Word.

0
0

Source: https://habr.com/ru/post/1795496/


All Articles