Stephen,
By any chance do you know of that's the way the Delphi exe version
of "Still Casting Shadows" is handled? ( In case you don't know what this
is see my post today on Delphi-talk with that Subject line )
The reason I ask is that I only found out about this piece of work
yesterday myself, and not only was I quite amazed at how well it had been
written but also in the document itself! I've always wanted to try doing
something like this myself, ( not writing a book, of course ), and in such a
way that I could employ MS Word as my master editor from which I could then
post to the Web, a blog, a help file, or even as an integral part of a
Delphi app.
There used to be some good freeware add-ons for MS word that at the
very least allowed one to format what you wrote for screenplays and/or html
docs, but I haven't come across any for the more recent versions. "Still
Casting Shadows" looks and reads so nicely that I now know for sure that
this is the right way to go provided it doesn't involve extra costs.
from Robert Meek dba Tangentals Design CCopyright 2006
"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
Albert Einstein
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Posey
Sent: Thursday, February 09, 2006 1:17 PM
To: Delphi-Talk Discussion List
Subject: Re: Converting word help to html
Fastream Technologies wrote:
> Hello,
>
> We have a word document that we convert to pdf with acrobat pro and
publish
> on the web as an user guide. I wonder if there is an easy way to transform
> it to separate .html's wrt the table of contents? (each topic in one page)
Not sure about "easy" necessarily, but Word VBA (or Delphi COM
automating Word) could certainly do that.
At first blush the approach would go something like:
* Iterate your TOC
* Locate each section of the document the TOC refers to
* Construct a Range out of the section
* Write the Range to a new temporary document
* Save the temporary document as HTML
Now, I won't vouch for the quality of HTML that Word generates.
An alternative would be to copy the sections to the clipboard and paste
them into a more effective HTML editor. Publisher is also automatable,
though I'm unclear that its HTML is much better than Word's.
HTH
Stephen Posey
[EMAIL PROTECTED]
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk