Skip to main content
July 18, 2011
Question

is there a way to send content of textflow to ms word with same format

  • July 18, 2011
  • 2 replies
  • 1126 views

i want a way to send  content of textflow to ms word with same format

i think with

Clipboard.generalClipboard.setData  and RICH_TEXT_FORMAT withe code

which p.getText() is text of paragraph (p)

Clipboard.generalClipboard.setData(ClipboardFormats.HTML_FORMAT,p.getText() );

but i get error

how can i solve this problem

thanks in advance

This topic has been closed for replies.

2 replies

Adobe Employee
July 19, 2011

Have a look at my reply in http://forums.adobe.com/thread/878480?tstart=0

July 19, 2011

mr Jin-Huang thanks for your time

your answer is about how to make custom convert to text flow but not to convert to rtf markup

my question is

how can i convert to rtf markup ?

or if i misunderstand can you explain more

July 22, 2011

I think if you just use the TFL exporter to export the text to HTML and use that as the clipboard format it will work, I manage to export table with format and everything to clipboard this way and paste them into excel and word with no problem.


it pase in word with html format syntax

if you have example pls post it

July 18, 2011

i think there is no answer

i googeld about it

found nothing