Adding custom shapes to JTextpane and saved to new Word document

后端 未结 2 1906
旧时难觅i
旧时难觅i 2021-01-24 04:04

If I load a Word document into a JTextPane, is there a way I could drop a custom shape in it, then save it as a new Word document?

The results I\'m looking

2条回答
  •  爱一瞬间的悲伤
    2021-01-24 04:42

    docx4all is a Swing-based docx editor.

    Like DocxEditorKit, it is built on top of docx4j.

    You'd need to extend it to support the functionality you are describing.

提交回复
热议问题