Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Converting Word document to HTML page

Converting Word document to HTML page

Scheduled Pinned Locked Moved ASP.NET
csharphtmlcssasp-netwpf
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    meeram39
    wrote on last edited by
    #1

    I have a word document that needs to be converted to HTML page. Basically, the doc is the study material for Economics. So there will be Page Content Listing, Chapter Headings, Subheadings, small captions, titles , images, etc. Some texts need to be bold, some to be italic, and some other needs to be underlined. I need to apply proper styles for these contents. I can convert the document to html page using the code mentioned in this link. But I am not sure how to apply the required styles? Should I use XSLT or simple CSS to convert this html page to formatted one?

    Kornfeld Eliyahu PeterK 1 Reply Last reply
    0
    • M meeram39

      I have a word document that needs to be converted to HTML page. Basically, the doc is the study material for Economics. So there will be Page Content Listing, Chapter Headings, Subheadings, small captions, titles , images, etc. Some texts need to be bold, some to be italic, and some other needs to be underlined. I need to apply proper styles for these contents. I can convert the document to html page using the code mentioned in this link. But I am not sure how to apply the required styles? Should I use XSLT or simple CSS to convert this html page to formatted one?

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      You should use VSTO. Open the document with it and save as HTML...

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups