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. How to convert the formatted text into HTML page

How to convert the formatted text into HTML page

Scheduled Pinned Locked Moved Web Development
htmlhelptutorial
6 Posts 4 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.
  • E Offline
    E Offline
    engsrini
    wrote on last edited by
    #1

    Hi I am having document which contains some formatted text(with Bold,italic and color) combinations. How to convert this document into HTML page. is there any tool available for that. Please help

    T B 2 Replies Last reply
    0
    • E engsrini

      Hi I am having document which contains some formatted text(with Bold,italic and color) combinations. How to convert this document into HTML page. is there any tool available for that. Please help

      T Offline
      T Offline
      Tamimi Code
      wrote on last edited by
      #2

      paste the text of your document , into html page on VS2005 :)

      When you get mad...THINK twice that the only advice Tamimi - Code

      1 Reply Last reply
      0
      • E engsrini

        Hi I am having document which contains some formatted text(with Bold,italic and color) combinations. How to convert this document into HTML page. is there any tool available for that. Please help

        B Offline
        B Offline
        badgrs
        wrote on last edited by
        #3

        How is the text formatted? In HTML, a .doc file......

        E 1 Reply Last reply
        0
        • B badgrs

          How is the text formatted? In HTML, a .doc file......

          E Offline
          E Offline
          engsrini
          wrote on last edited by
          #4

          Thanks for the reply. the solution given by tamimi didn't work. say I have a bunch text containing combination Bold,Italic and other various font letters, which is formatted using a MS word. Now i want display it in the web Page. but for putting in HTML page we need manually have to edit text right. eg. if you want to display the text in bold, the text must be sorrounded by tags, right. This is what iam asking is it possible to generate these tags automatically by detecting the formats which ever used in the document. (it includes even tables too.) Thanks Srini

          L 1 Reply Last reply
          0
          • E engsrini

            Thanks for the reply. the solution given by tamimi didn't work. say I have a bunch text containing combination Bold,Italic and other various font letters, which is formatted using a MS word. Now i want display it in the web Page. but for putting in HTML page we need manually have to edit text right. eg. if you want to display the text in bold, the text must be sorrounded by tags, right. This is what iam asking is it possible to generate these tags automatically by detecting the formats which ever used in the document. (it includes even tables too.) Thanks Srini

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            MS Word has an option to save a HTML.

            -------- Micrologic Networks, India

            B 1 Reply Last reply
            0
            • L Lost User

              MS Word has an option to save a HTML.

              -------- Micrologic Networks, India

              B Offline
              B Offline
              badgrs
              wrote on last edited by
              #6

              Yes but its tag soup. The Microsoft .doc format is a jumbled binary mess and they don't give away its specs for free (thats if they even know the specs any more). Your options depend on how your trying to do this, server-side? in what language? If your working with .NET and can have Word installed along side the web server you can use its interop libraries to save the file as XML and perform an XSLT transformation to turn it into clean HTML (it is possible, I got a degree doing it!). This of course also assumes you can use Office 2003.

              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