Group:  Microsoft Word ยป microsoft.public.word.conversions
Thread: RTF with external images as .doc

Geek News

RTF with external images as .doc
mathieu <mathieu.malaterre[ at ]gmail.com> 10/22/2008 9:31:32 AM
Hi

I would like to convert a rtf file with a bunch of *.png files
(referenced from the document) into a single .doc file, so that I can
send it as a single file.

I could not find any option anywhere to embedded those image into
the document. They stay as external references whatever I try.

thanks !
Re: RTF with external images as .doc
"Klaus Linke" <info[ at ]fotosatz-kaufmann.de> 10/23/2008 12:32:46 AM
"mathieu" <mathieu.malaterre[ at ]gmail.com> wrote:
[Quoted Text]
> I would like to convert a rtf file with a bunch of *.png files
> (referenced from the document) into a single .doc file, so that I can
> send it as a single file.
>
> I could not find any option anywhere to embedded those image into
> the document. They stay as external references whatever I try.

Not sure what you tried already... Did you display field codes (either in
Tools > Options > View, or using ALt+F9)?
If you then see INCLUDEPICTURE fields, you can remove the \d switch, then
update fields (F9) and save.

Or you could get rid of the fields altogether by unlinking them (...select
the picture, Ctrl+Shift+F9), though that would be permanent, and I'd
probably rather just remove the switch.

Regards,
Klaus

Re: RTF with external images as .doc
mathieu <mathieu.malaterre[ at ]gmail.com> 10/23/2008 8:58:57 AM
On Oct 23, 2:32 am, "Klaus Linke" <i...[ at ]fotosatz-kaufmann.de> wrote:
[Quoted Text]
> "mathieu" <mathieu.malate...[ at ]gmail.com> wrote:
> > I would like to convert a rtf file with a bunch of *.png files
> > (referenced from the document) into a single .doc file, so that I can
> > send it as a single file.
>
> > I could not find any option anywhere to embedded those image into
> > the document. They stay as external references whatever I try.
>
> Not sure what you tried already... Did you display field codes (either in
> Tools > Options > View, or using ALt+F9)?
> If you then see INCLUDEPICTURE fields, you can remove the \d switch, then
> update fields (F9) and save.
>
> Or you could get rid of the fields altogether by unlinking them (...select
> the picture, Ctrl+Shift+F9), though that would be permanent, and I'd
> probably rather just remove the switch.

hi Klaus,

When I tried the Ctrl+Shift+F9 (after a Ctrl+A) it removed my table
summary (or make it useless). I really need the action on the external
images only and not *all* external references.

Thanks
Re: RTF with external images as .doc
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 10/23/2008 9:25:27 AM
[Quoted Text]
> hi Klaus,
>
> When I tried the Ctrl+Shift+F9 (after a Ctrl+A) it removed my table
> summary (or make it useless). I really need the action on the external
> images only and not *all* external references.
>
> Thanks

That isn't what Klaus suggested. If you want to process the whole document
in a single operation then you are going to have to use a macro to
selectively unlink the INCLUDEPICTURE fields eg

Sub ChangeField()
Dim strCodes As String
Dim iFld As Long
For iFld = ActiveDocument.Fields.Count To 1 Step -1
With ActiveDocument.Fields(iFld)
If .Type = wdFieldIncludePicture Then
.Unlink
End If
End With
Next iFld
End Sub

or remove the \d switch eg

Sub ChangeField2()
Dim strCodes As String
Dim iFld As Long
For iFld = ActiveDocument.Fields.Count To 1 Step -1
With ActiveDocument.Fields(iFld)
If .Type = wdFieldIncludePicture Then
.Code.Text = Replace(.Code.Text, "\d", "")
.Update
End If
End With
Next iFld
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net