Re: Word-2-CHM Want Logo Image in Header

Word-2-CHM Converter

Word-2-CHM Want Logo Image in Header


DarkStar 01-03-2010, 9:39 PM
Hi,

I am trialling the software as I am migrating to Windows 7 / Office 2010 beta. It all works fine, so I have converted all my files to master / subdocuments but there is one feature I cannot reproduce from my legacy package - having an image file in the header. The old package had the option for HTML files as the header and footer so I put the client's logo at the top and my logo at the bottom. Looked great. But I can't seem to do this here. I copied the HTML file for the footer into the Copy Message area as text, but the image is not displayed. There does not seem to be any option for an image in the header either.

I have attached a copy of the header/footer with incriminating names edited (the syntax should be ok).

HEADER.HTM

<html>
<head>
<title>header</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<BODY>
<CENTER>
<a name="PageTop"></a><img width=552 height=63 src="CLIENT_LOGO.gif"><br>
  <font color="#000080" face="Arial, Helvetica, sans-serif">CLIENT-NAME<b><br>
  </b>THE DOCUMENTATION HEADER<br>
  </font>
<HR size="1" noshade>
</CENTER>
</BODY>
</HTML>

FOOTER.HTM

<html>
<head>
<title>footer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<CENTER>
<HR size="1" noshade>
  <FONT FACE="Arial" SIZE=2 COLOR="#000080"><font color="#000080" size="2" face="Arial"><strong><a name="PageBottom"></a>©
  2000-2010 GOVT-DEPTNAME<br>
  </strong><font color="#000080" size="2" face="Arial"><img src="MY_LOGO.gif" width="418" height="73"></font></font></FONT>
  <br>
  <font color="#000099" size="1" face="Arial, Helvetica, sans-serif">Prepared
  by ME ME ME</font><br>
    <font size="2" face="Arial, Helvetica, sans-serif"><a href="#PageTop">top</a></font>
</CENTER>
</body>
</html>

Re: Word-2-CHM Want Logo Image in Header


Peter 01-04-2010, 4:59 AM
Solution 1: Include the images in header/footer in Word document and choose the default theme for the chm.

Solution 2:
Copy the images to {word-2-chm installation folder}\UserImages. Insert <img src="images/your image"> to use the images.
Note: Images will be compiled into every created chm files.

Solution 3:
Create a custom theme for your chm files.

Re: Word-2-CHM Want Logo Image in Header


DarkStar 01-05-2010, 3:52 PM
Thank you very much, I used Solution 1 because it means the whole thing is in Word and I can generate PDF's as well. It was quite easy. I'll now buy the product!

Powered by Community Server, by Telligent Systems