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. General Programming
  3. C / C++ / MFC
  4. HTML to rtf conversion?

HTML to rtf conversion?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhtml
5 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.
  • K Offline
    K Offline
    Kumar saurabh
    wrote on last edited by
    #1

    :confused: How can i convert my HTML file to rtf file? Thanks, Kumar Saurabh

    S K M 3 Replies Last reply
    0
    • K Kumar saurabh

      :confused: How can i convert my HTML file to rtf file? Thanks, Kumar Saurabh

      S Offline
      S Offline
      Simon Walton
      wrote on last edited by
      #2

      Just copy and paste the text from IE into Wordpad or Word and save it as an rtf. Simon There's one for you, nineteen for me Sonork ID 100.10024

      K 1 Reply Last reply
      0
      • S Simon Walton

        Just copy and paste the text from IE into Wordpad or Word and save it as an rtf. Simon There's one for you, nineteen for me Sonork ID 100.10024

        K Offline
        K Offline
        Kumar saurabh
        wrote on last edited by
        #3

        Hi Simon, I don't 'vce to do this manually, but programatically. also i want my html file (with images) to be converted into rtf, not only text. when a HTML file opened in word is saved as rtf, then the conversion is done (this is done by automation) but gif's are not rendered, moreover, if you open the file using wordpad then you won't be able to see any image. Thnaks, Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India

        1 Reply Last reply
        0
        • K Kumar saurabh

          :confused: How can i convert my HTML file to rtf file? Thanks, Kumar Saurabh

          K Offline
          K Offline
          Kannan Kalyanaraman
          wrote on last edited by
          #4

          Its kinda of tedious but this one works. You need to parse the html content urself and construct the rtf, the rtf specs are available here Actually I have done the other way around by parsing rtf and then converting into html. For parsing html i think you need to convert it to xhtml or something like that and then construct rtf accordingly. If you find a easier way do let me know. Hope this helps. Cheers Kannan

          1 Reply Last reply
          0
          • K Kumar saurabh

            :confused: How can i convert my HTML file to rtf file? Thanks, Kumar Saurabh

            M Offline
            M Offline
            moliate
            wrote on last edited by
            #5

            Search Google for "html2rtf". There are a lot of apps, mostly with source. Here is one that is written in perl. /moliate

            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