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. Linux, Apache, MySQL, PHP
  4. hi evry body(i need expord doc with html)

hi evry body(i need expord doc with html)

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
htmlhelp
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.
  • R Offline
    R Offline
    rahmani123
    wrote on last edited by
    #1

    hi please help me ; i have html page and i need export doc with this

    C N 2 Replies Last reply
    0
    • R rahmani123

      hi please help me ; i have html page and i need export doc with this

      C Offline
      C Offline
      cjoki
      wrote on last edited by
      #2

      It sound like you want to use php to convert an html page to a microsoft word file (aka *.doc). Never done that myself, but a *.doc is just a file type and so if you read up on how the file is structured you can write code to do this. First though, you need to understand the file structure. You can google for this information as there are many people that have asked this same question. Here is one link that I found with a simple google search. http://blogs.technet.com/b/srd/archive/2008/07/18/how-to-parse-doc-file-format.aspx[^] Good Hunting!

      Chris J www.redash.org

      M 1 Reply Last reply
      0
      • C cjoki

        It sound like you want to use php to convert an html page to a microsoft word file (aka *.doc). Never done that myself, but a *.doc is just a file type and so if you read up on how the file is structured you can write code to do this. First though, you need to understand the file structure. You can google for this information as there are many people that have asked this same question. Here is one link that I found with a simple google search. http://blogs.technet.com/b/srd/archive/2008/07/18/how-to-parse-doc-file-format.aspx[^] Good Hunting!

        Chris J www.redash.org

        M Offline
        M Offline
        Mohibur Rashid
        wrote on last edited by
        #3

        Adding with you: The op will have to do two parsing: 1. Compound Document format. This is described well in OpenOffice. 2. how to read data from the stream read from compound file. Its also available in OpenOffice.org Actually file like excel, doc are written in compound document format. The format specification is open.

        I know I am coward since the day I know that fortune favors the brave

        R 1 Reply Last reply
        0
        • R rahmani123

          hi please help me ; i have html page and i need export doc with this

          N Offline
          N Offline
          Niall Barr
          wrote on last edited by
          #4

          You should look into headless openoffice

          1 Reply Last reply
          0
          • M Mohibur Rashid

            Adding with you: The op will have to do two parsing: 1. Compound Document format. This is described well in OpenOffice. 2. how to read data from the stream read from compound file. Its also available in OpenOffice.org Actually file like excel, doc are written in compound document format. The format specification is open.

            I know I am coward since the day I know that fortune favors the brave

            R Offline
            R Offline
            rahmani123
            wrote on last edited by
            #5

            thanks for replying

            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