Importing formated text into revolution - mac or pc

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Don Pederson
Posts: 6
Joined: Thu Jun 01, 2006 7:20 pm

Importing formated text into revolution - mac or pc

Post by Don Pederson » Thu Feb 12, 2009 9:33 pm

What is the best way to import formated text documents from microsoft word or a pdf?

How does one preserve the formating?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Feb 13, 2009 10:11 am

Hi Don,

Iimporting from PDF is often impossible. You might be able to export a PDF to RTF.

You can export a from most office software to RTF en set the rtfText of a field to the contents of an RTF file.

Whenever you export to RTF, you will lose a lot of formatting information. Sometimes, HTML might give better results. If you export to HTML, you can set the htmlText property of a field. You will still lose a lot of formatting information when you set the htmlText property.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Multimedia”