Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / May 2007

Tip: Looking for answers? Try searching our database.

html in word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Supriya - 23 May 2007 12:41 GMT
Hi all,
 I have HTML code(not file). How can I view the data in the wod document.
For example
HTML code:
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>Sample HTML
data.</body></html>

Data should appear in the cell is "Sample HTML data"

Is there any class or Interface in the library to handle that?

Please help me.

Thanks in Advance

Supriya
Cindy M. - 30 May 2007 16:26 GMT
Hi Supriya,

> I have HTML code(not file). How can I view the data in the wod document.
> For example
[quoted text clipped - 5 lines]
>  
> Is there any class or Interface in the library to handle that?

You'd have to save it to a separate file (in Notepad, for example). Make
sure the file has the extension *.htm. Use Insert/File in Word to bring it
into Word.

Word requires a converter to incorporate HTML into a Word document with the
"formatting". Otherwise all you get is plain text. And the converter only
triggers when using Insert/File or pasting from the Clipboard.

If this isn't something you can use, and you're programming an applet,
you'll have to parse the HTML yourself and insert it into Word.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.