Re: 'Compacting' HTML into DOC

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You don't say which version of Word you're using... but the following seems to work with Word 2003 and 2007. Open the .html file using your browser. Press Ctrl+A to copy everything to the clipboard, then paste it into a new document window in Word. When I save such a file, the resulting images are all saved as part of the document, and are no longer linked externally.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com

"Dluxe" <dluxe@xxxxxxxxxxxx> wrote in message news:eplcgSgyHHA.2172@xxxxxxxxxxxxxxxxxxxxxxx
Hi all.

QUESTION: Is there a way to take an HTML file (with images linked in) and roll it into a single .doc file that would still contain all the images?

BACKGROUND: I have a legacy report that is spawned from a server. It come to me as an HTML file (don't ask why) which embeds red light, green light, and other dashboarding images from a static image folder on my computer.

This little dashboard report now needs to be passed around the office *and* commented on while it makes its rounds.

The trick is that if I save the file simply as a .doc the images are broken when the report arrives on other people's computer. At this point, recoding the report so the images are 'centralized' is *not* an option.

Is there a way to 'flatten' or merge the HTML and external images into one .doc file that can be circulated?

PRESENT WORKAROUND: We are circulating a PDF and people are emailing their commentary around. Not ideal.

Thanks, Dluxe


.



Relevant Pages

  • Re: Possible Payload inside PDF or HTML files
    ... 1-->by simply viewing the source of the html files, look for something similar to an image pointing to some external link, where -I suppose your requests for displaying the images, are logged. ... This is done quite commonly with HTML emails where an img src is that of a PHP script that records when the script is accessed (and possibly by whom, by coordinating record ids with the emails sent and the script doing the recording), but instead of returning text or something of that nature, it sets the content-type header to image/gif and pushes a 1x1 invisible gif to the client at the end of the routine. ... Is there a way to know if exist a payload inside a PDF or HTML File, ...
    (Security-Basics)
  • Compacting HTML into DOC
    ... roll it into a single .doc file that would still contain all the images? ... I have a legacy report that is spawned from a server. ... to me as an HTML file which embeds red light, green light, ...
    (microsoft.public.word.conversions)
  • Re: Possible Payload inside PDF or HTML files
    ... There are some rudimentary tracking that can be done in the HTML files, by checking the logs on their server for included images or other external assets referenced with full URLs. ... This is done quite commonly with HTML emails where an img src is that of a PHP script that records when the script is accessed (and possibly by whom, by coordinating record ids with the emails sent and the script doing the recording), but instead of returning text or something of that nature, it sets the content-type header to image/gif and pushes a 1x1 invisible gif to the client at the end of the routine. ... Is there a way to know if exist a payload inside a PDF or HTML File, ...
    (Security-Basics)
  • Re: Possible Payload inside PDF or HTML files
    ... >> and images, ... > only recording things like email sent, email opened, and links clicked, ... >> Is there a way to know if exist a payload inside a PDF or HTML File, ... >> Chief Information Security Officer ...
    (Security-Basics)
  • Re: html email
    ... The mouseover for the links in your Original HTML file require 12 images, ... One simply has to save the Html file and all the images to a folder on their ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress.stationery)