A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

html in word



 
 
Thread Tools Display Modes
  #1  
Old May 23rd, 2007, 12:41 PM posted to microsoft.public.word.formatting.longdocs
Supriya
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  
Old May 30th, 2007, 04:26 PM posted to microsoft.public.word.formatting.longdocs
Cindy M.
external usenet poster
 
Posts: 2,428
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 :-)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.