Am using Office 2003. I anticipate the need to convert several word
documents with lots of embedded images to HTML to add them to an HTML
Help file. I have tried converting a sample document with Word's
builting converter, and I get the warning "Pictures and objects with
text wriapping will become left or right aligned." Sure enough, if I
open the HTML in a browser, it does not look like the original, images
are shuffled around.
Is there anyway to get Word to convert them any cleaner? Do I need to
look elsewhere for a Word to HTML converter?
<zacks@construction-imaging.com> schrieb:
> Am using Office 2003. I anticipate the need to convert several word
> documents with lots of embedded images to HTML to add them to an
[quoted text clipped - 6 lines]
> Is there anyway to get Word to convert them any cleaner? Do I need to
> look elsewhere for a Word to HTML converter?
Hi zacks,
You can't convert something to HTML which HTML can't handle.
Likely you'll have to fix the files.
A macro could help you find problematic pictures:
Dim myShape As Shape
For Each myShape In ActiveDocument.Shapes
If Selection.Start >= myShape.Anchor.Start Then
Else
If myShape.left > 0 Or myShape.Right > 0 Then
myShape.Select
Exit Sub
End If
End If
Next myShape
MsgBox "No more problematic pics further down!"
Once you saved in HTML format, Word will warn you if you try to use features
that HTML can't deal with.
In "Tools > Options > General > Web options", you have loads of settings
(... which browsers to be compatible with, and so on).
If the pieces you want to insert into your help file are small, you might
consider to insert them as pictures.
Or you could select problematic pieces in Word, cut (Ctrl+X) and (re-)Insert
Special as a graphic.
But that's a pretty mediocre solution, since the text won't wrap, and isn't
searchable/copyable any more either.
Regards,
Klaus