M
Martin Plotz
Hi Guys,
I have written a Word document which I want to export to several HTML
files: Each chapter shall be written into one file. Besides I want to
export the index, because I want to generate a help file (using MS HTML
Help tool).
The document is very easy. I use Headings type 1-3, standard text (no
formatting) and some images.
I am going to iterate over all paragraphs and write them to a files as
they are, seperated by "<br>" and starting a new file each time I find
a heading. The heading is formatted using <h1> to <h3>.
My only problem is how I can convert an image in my Word file to
something like "<img src='...'>". When iterating over all paragraphs,
the image is found as a paragraph with a strange character as text,
nothing else. How can I find out which file was inserted at this
position in my document?
Thank you,
Martin P.
I have written a Word document which I want to export to several HTML
files: Each chapter shall be written into one file. Besides I want to
export the index, because I want to generate a help file (using MS HTML
Help tool).
The document is very easy. I use Headings type 1-3, standard text (no
formatting) and some images.
I am going to iterate over all paragraphs and write them to a files as
they are, seperated by "<br>" and starting a new file each time I find
a heading. The heading is formatted using <h1> to <h3>.
My only problem is how I can convert an image in my Word file to
something like "<img src='...'>". When iterating over all paragraphs,
the image is found as a paragraph with a strange character as text,
nothing else. How can I find out which file was inserted at this
position in my document?
Thank you,
Martin P.