- 介绍
在java开发中,结项时遇到乙方需要项目的word文件存档、装订时,就需要将整个工程生成word格式的文档
- 参考
- 步骤
1.到http://www.filigris.com/downloads/,下载DocFlex/Doclet
2.Eclispe:File->Export->Java->Javadoc
Use custom doclet
Doclet name: com.docflex.javadoc.Doclet
Doclet class path: (此处为docflex-doclet.jar的路径)E:\download\Java\javadoc\docflex\docflex-doclet-1.6.1\lib\docflex-doclet.jar
VM options: -J-Xmx512m -encoding utf-8
Extra Javadoc options:
-template (此处为docflex-doclet.jar的路径)E:\download\Java\javadoc\docflex\docflex-javadoc-1.6.1\templates\javadoc\PlainDoc.tpl
-format RTF
-nodialog
-launchviewer=false
-f c:\test\javadoc\aaa.rtf
3.用word将rtf文件打开,另存为doc或docx
标签:Doclet,docflex,流程,doclet,javadoc,Java,word From: https://blog.51cto.com/suren/5762915