jTextPane set to text / html, I directly copied into a document in WORD, you can not succeed, how to do?

Category: Java SE
2013-08-20 05:59:37

Sponsored Links
jTextPane set to text / html, and found WORD copy does not go how to do? jTextPane set to html, and found WORD copy does not go how to do?
only will it text / plain it can correctly copied into the WORD document, but no format, but if it is set to text / rtf, I can copy something into it, but all garbled?
Finally, I would like to export documents in HTML format, will be how to get?

or how the text / plain format converted to HTML and remain unchanged?

Sponsored Links

2013-08-20 06:04:52
seems difficult to solve this problem, word format and html conversion between formats has always been a problem.

Maybe later document format (reportedly defined using xml format) can solve this problem.
2013-08-20 06:22:33
Dingyiding ah, or tell me, how will the text / plain mode, text and formatting are preserved and re-enter to the text / Html mode, it is also OK
2013-08-20 06:25:52
2013-08-20 06:29:37
Document Is it possible to convert HTMLDocument ah?
2013-08-20 06:43:26
encoding can be transformed into what is very simple, asking themselves, can solve
2013-08-20 06:48:43
specifically how conversion ah. . Upstairs can be a little guidance about what. . WORD is converted into recognizable or what?
2013-08-20 06:54:44
2013-08-20 07:06:35
I now want to approach is to get two jTextPane. Then a set into HTML a set Plain, and then copy it, and then from the first copy to the Plain Plain copied into HTML jTextPane

do not know who to go there more good way it
2013-08-20 07:19:38
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.