0

hi,

i've been trying, without success, to maintain the style of the text in a jTextPane when it is copied into the clipboard. what I want is to copy the text in a jTextPane with styles (eg: bold, italic) and to be able to paste it into MS WORD with all those styles. if the text is bold in jTextPane then it must be bold in the word document when pasted.

the text in the TextPane is styled with a StyledDocument.

i'd be grateful for any help you guys could give me.
thanks.

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by kekkaishi
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.