none
Copying data from Word Document into an HTML field - displaying HTML code instead of interpreting them. RRS feed

  • Question

  • We want to copy word document data that is formatted into an unlimited HTML editor which is viewed using IE.     The data will display correctly on some IE computers but not on others. Is there a setting perhaps inside WORD or IE that will control how the data is displayed after it is copied from word into the HTML editor?  Any help would be greatly appreciated.   
    Thursday, December 5, 2013 1:37 PM

Answers

  • Hi,

    >>The data will display correctly on some IE computers but not on others<<

    Do you mean other IE computer cannot display the HTML correctly?

    If yes, what is the issue?

    Do you copy the Word document data manually?

    If yes, you can save current document as web page.

    The saved web page can be displayed in IE.

    If you want to copy part of data from Word in a .NET application, here is a blog may give you help:

    Copy Paste HTML From MS Word: IE's DHTML Editing Control (in a .NET WinApp)


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 6, 2013 3:49 PM
    Moderator

All replies

  • Hello QSI-Inc,

    >> Is there a setting perhaps inside WORD or IE that will control how the data is displayed after it is copied from word into the HTML editor?

    No, I am not aware of such settings. You need to parse the just copied text in the HTML editor and apply styles manually.

    Thursday, December 5, 2013 9:41 PM
  • Hi,

    >>The data will display correctly on some IE computers but not on others<<

    Do you mean other IE computer cannot display the HTML correctly?

    If yes, what is the issue?

    Do you copy the Word document data manually?

    If yes, you can save current document as web page.

    The saved web page can be displayed in IE.

    If you want to copy part of data from Word in a .NET application, here is a blog may give you help:

    Copy Paste HTML From MS Word: IE's DHTML Editing Control (in a .NET WinApp)


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 6, 2013 3:49 PM
    Moderator