Forum Moderators: mack

Message Too Old, No Replies

Header/Footer with Microsoft Office HTML

How to use the header.htm file generated by Word/Excel

         

artie

8:14 am on Aug 8, 2003 (gmt 0)



Hello, everybody.

We are automatically converting Microsoft Excel and Word documents to HTML using the 'save as...' option with macros.

When saving an Office XP document, let's call it 'test.doc' to HTML a file 'test.htm' and a directory 'test-files', containing 'filelist.xml' and 'header.htm' are created.

As i open 'header.htm', the header and the footer of the original file are shown one under the other.

---------
HEADER
FOOTER
---------

When i look at the code of 'test.htm' and 'header.htm' i can see, that there are some style definitions, that should somehow make it possible to use a sort of 'framework' that can display:

------------------
HEADER (Frame 1)
------------------

BODY (Frame 2)

------------------
FOOTER (Frame 3)
------------------

in the correct order.

Does anybody have an idea, how to use the generated files to get the above shown result or even could give me a link where i can read something about it.

Regards, Rolf