#1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Supriya Supriya is offline
external usenet poster
 
Posts: 1
Default html in word

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/headbodySample 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





  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default html in word

Hi Supriya,

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/headbodySample 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?

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 :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML - Word Lubomir Soukup Page Layout 2 May 1st 06 06:19 PM
Word HTML Dig Microsoft Word Help 1 April 9th 06 06:32 PM
Word to HTML? April Microsoft Word Help 1 January 25th 06 01:18 PM
HTML to Word Tim Microsoft Word Help 1 September 25th 05 08:03 AM
html from word DR Tables 4 October 31st 04 12:33 PM


All times are GMT +1. The time now is 11:04 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"