Comparison of the advantages and disadvantages of various java generation word solutions

 

solution advantage shortcoming
Jacob Powerful The program is very complicated to directly call the VBA interface; the server must be: Windows system + Office installed
Apache THEN Powerful operation of Excel; cross-platform The function of manipulating word is relatively weak; different codes must be written for the two document formats of doc and docx
iText General functionality; cross-platform Can only generate rtf format files, not the real word file format
Java2word Powerful functionality; relatively simple code Just a wrapper around Jacob with all of Jacob's shortcomings
FreeMarker Relatively simple code; cross-platform The template is complicated to make, you need to save the file as xml first, and then set special tags in the huge xml; it is not a standard word file format
PageOffice Powerful function; cross-platform; standard word format; simple code Pure server-side makefiles are not supported

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326116056&siteId=291194637