473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Word to HTML Conversion

Guys,

Has anyone tried to make a program to convert Word Documents to HTML?
Can someone give me some ideas for approaching this?

If you know of a good component out there that I can use for this purpose,
please reply to this message too. If I can't make one, I would like server
component or DLL that I can use programmatically. I have been looking over
the internet but so far I have only found complete packages with interfaces.

Thanks!
Nov 20 '05 #1
2 1214
Hi Juan:

Many people complain about the verbosity of the HTML that word creates, but
you can invoke it directly if you have Word installed on the machine through
the Word Interop library. If you have a word document, it's only one line
of code to save it as HTML...
ActiveDocument.SaveAs FileName:="DOCUMENTNAMEHERE.htm",
FileFormat:=wdFormatHTML, EmbedTrueTypeFonts:=False

"Juan Romero" <ju*********@bowne.com> wrote in message
news:#4*************@TK2MSFTNGP11.phx.gbl...
Guys,

Has anyone tried to make a program to convert Word Documents to HTML?
Can someone give me some ideas for approaching this?

If you know of a good component out there that I can use for this purpose,
please reply to this message too. If I can't make one, I would like server component or DLL that I can use programmatically. I have been looking over
the internet but so far I have only found complete packages with interfaces.
Thanks!

Nov 20 '05 #2
Thank you for replying.

I guess I forgot to mention that the reason why I am looking to make (or
get) a converter is because Word does not produce 100% (or at least close
to) identical output.

It is extremely important for our clients to get identical output. Another
requisite is that the converter should produce HTML 3.2 compliant code.

If you have any other ideas please let me know.

Thanks!
"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:O8****************@TK2MSFTNGP11.phx.gbl...
Hi Juan:

Many people complain about the verbosity of the HTML that word creates, but you can invoke it directly if you have Word installed on the machine through the Word Interop library. If you have a word document, it's only one line
of code to save it as HTML...
ActiveDocument.SaveAs FileName:="DOCUMENTNAMEHERE.htm",
FileFormat:=wdFormatHTML, EmbedTrueTypeFonts:=False

"Juan Romero" <ju*********@bowne.com> wrote in message
news:#4*************@TK2MSFTNGP11.phx.gbl...
Guys,

Has anyone tried to make a program to convert Word Documents to HTML?
Can someone give me some ideas for approaching this?

If you know of a good component out there that I can use for this purpose, please reply to this message too. If I can't make one, I would like

server
component or DLL that I can use programmatically. I have been looking over the internet but so far I have only found complete packages with

interfaces.

Thanks!


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
15
by: Caversham | last post by:
Is there any macro / other tool - free or commercial - that can split long Word docs into multiple XHTML pages? Any comments on the quality/effectiveness of suitable products also welcomed.
5
by: Jerry Hull | last post by:
I'm working with a database developed by an untrained person over several years - and on a network that has recently been upgraded with a new server installed and MS office upgraded from 2K (I...
8
by: Frost | last post by:
Hi All, I am a newbie i have written a c program on unix for line by line comparison for two files now could some one help on how i could do word by word comparison in case both lines have the...
5
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a...
3
by: Max Power | last post by:
HTML reprocessor: how do you get rid of bloated (obese) MS-Word (normal or filtered) HTML? I just want all the fancy MS tags removed and replaced with basic ones, or if applicable -- stripped...
0
by: saul.baizman | last post by:
Here's a brief description of the problem. My organization has a client who cuts and pastes information from Microsoft Word documents into web-based forms, whose contents is then displayed on a...
0
by: Shat T. Cat | last post by:
Hello, I have a program that I originally wrote in VB6 that breaks down plain-text Profit & Loss reports from my organization's Accounting system into separate files for each Cost Center (office...
10
by: annalisa | last post by:
I really need some help with langauge conversion to HTML. My translators are translating into Word and I need to convert Word to HTML. It's been awhile since I've worked with Unicode and know that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.