WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

RTF generated by Office 2005 and Wordpad

 
   Home -> Office -> Conversions RSS
Next:  Windows 2007 Compatibility Mode  
Author Message
miztaken

External


Since: Aug 25, 2008
Posts: 8



(Msg. 1) Posted: Tue Nov 11, 2008 3:05 am
Post subject: RTF generated by Office 2005 and Wordpad
Archived from groups: microsoft>public>word>conversions (more info?)

Hi there,
What is the difference in rtf file generated by wordpad and that
generated by office 2007?

I find some differences while storing images.

Are there any other differences?

Also i want to extract image files and other embedded files from RTF
file, how is this possible?

thank you for your time
miztaken
Back to top
Login to vote
miztaken

External


Since: Aug 25, 2008
Posts: 8



(Msg. 2) Posted: Tue Nov 11, 2008 10:14 pm
Post subject: Re: RTF generated by Office 2005 and Wordpad [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hey Klaus,

> Wordpad is based on a much older version of Word, and doesn't support a lot
> of features even of older Word versions (97, 2000, ...).
> I guess the RTF it exports will correspond to maybe RTF version 1.5 or so,
> Word 2007 uses 1.9.
How can i know which version of RTF file is it.
I can have bunch of RTF files.
So for different version of RTF do i have to prepare different
parsers?
If yes/no, what do you suggest me?


> You could save as HTML. The images then end up in a separate folder.
If i save those RTF as html then i believe, all the embedded objects
and attachments will be dumped in a single binary file named
oledata.mso and i have no clue how to read that.

I want to extract image file from RTF file without saving them as
HTML? Are there any other ways??

Thank you
miztaken
Back to top
Login to vote
Klaus Linke

External


Since: Dec 18, 2003
Posts: 461



(Msg. 3) Posted: Wed Nov 12, 2008 3:05 am
Post subject: Re: RTF generated by Office 2005 and Wordpad [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"miztaken" <justjunktome.TakeThisOut@gmail.com> wrote:
> Hi there,
> What is the difference in rtf file generated by wordpad and that
> generated by office 2007?
>
> I find some differences while storing images.
>
> Are there any other differences?

Wordpad is based on a much older version of Word, and doesn't support a lot
of features even of older Word versions (97, 2000, ...).
I guess the RTF it exports will correspond to maybe RTF version 1.5 or so,
Word 2007 uses 1.9.

So if you save Word 2007 documents as RTF in WordPad, a lot of stuff will be
stripped out.

> Also i want to extract image files and other embedded files from
> RTF file, how is this possible?

You could save as HTML. The images then end up in a separate folder.
Word 2007 *.docx files are ZIP files... I have 't tried yet, but guess you
could save as *docx, look through the subfolders after unzipping it, and
probably find the images and other embedded files in some subfolder.

Regards,
Klaus
Back to top
Login to vote
Klaus Linke

External


Since: Dec 18, 2003
Posts: 461



(Msg. 4) Posted: Wed Nov 12, 2008 3:05 am
Post subject: Re: RTF generated by Office 2005 and Wordpad [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"miztaken" <justjunktome RemoveThis @gmail.com> wrote:
> How can i know which version of RTF file is it.

I don't think you can tell from the RTF file.
An RTF reader (say some version of Word or Wordpad) will just ignore things
it does not understand.

> I can have bunch of RTF files.
> So for different version of RTF do i have to prepare different
> parsers?
> If yes/no, what do you suggest me?

Your parser will likely ignore things you aren't interested in, so you won't
need different parsers.

If your goal is to extract images and embedded objects, I wouldn't try to
parse the RTF though. There are likely better, safer and simpler ways ...
either exporting to some other format as described in my last post, or using
VBA in Word.

>> You could save as HTML. The images then end up in a separate folder.
> If i save those RTF as html then i believe, all the embedded objects
> and attachments will be dumped in a single binary file named
> oledata.mso and i have no clue how to read that.

Have you tried to export as "HTML, filtered"?

> I want to extract image file from RTF file without saving them as
> HTML? Are there any other ways??

Maybe someone else can help... As I said, I wouldn't try it.
If you want to try using VBA, you could post in one of the VBA groups.
I suspect the code would depend on the format of the image or embedded
object though, and it might be necessary to, say, copy/paste the image into
that [graphics] program, and save it from there.

Regards,
Klaus
Back to top
Login to vote
Klaus Linke

External


Since: Dec 18, 2003
Posts: 461



(Msg. 5) Posted: Tue Nov 18, 2008 3:02 am
Post subject: Re: RTF generated by Office 2005 and Wordpad [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>> If i save those RTF as html then i believe, all the embedded objects
>> and attachments will be dumped in a single binary file named
>> oledata.mso and i have no clue how to read that.

Graham Mayor has an article with detailed tipps:
http://www.gmayor.com:80/extract_images_from_word.htm

Klaus
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Conversions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support