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. Read in .pdf files

Read in .pdf files

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
9 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.
  • M Offline
    M Offline
    mesajflaviu
    wrote on last edited by
    #1

    It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?

    CPalliniC R _ 3 Replies Last reply
    0
    • M mesajflaviu

      It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      You should either use a library or parse yourself the PDF format (specifications are available). I believe there are articles, here at CodeProject, covering both techniques. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      M 1 Reply Last reply
      0
      • M mesajflaviu

        It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        I'd recommend Haru[^]. Just do a Google search and CodeProject search as well - there are several articles with examples on that topic.

        It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.

        1 Reply Last reply
        0
        • CPalliniC CPallini

          You should either use a library or parse yourself the PDF format (specifications are available). I believe there are articles, here at CodeProject, covering both techniques. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          M Offline
          M Offline
          mesajflaviu
          wrote on last edited by
          #4

          After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...

          R 1 Reply Last reply
          0
          • M mesajflaviu

            After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #5

            mesajflaviu wrote:

            After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...

            Why would MFC need to bother about PDF files?! MFC is just a wrapper around Windows API. On the other hand, PDF is one of the several hundred proprietary file formats which is not related in any way with Windows or Microsoft. I wouldn't ever expect MFC to make it easier for me to read PDF files. By the way, if you do a Google search as suggested by two of us, you'll find a whole lot of libraries/code/exmaples which deals with the subject of manipulating PDF files.

            It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.

            M 1 Reply Last reply
            0
            • R Rajesh R Subramanian

              mesajflaviu wrote:

              After all , I need a pdf library to read words in .pdf file ... I was thinking that MFC knows something tricky ...

              Why would MFC need to bother about PDF files?! MFC is just a wrapper around Windows API. On the other hand, PDF is one of the several hundred proprietary file formats which is not related in any way with Windows or Microsoft. I wouldn't ever expect MFC to make it easier for me to read PDF files. By the way, if you do a Google search as suggested by two of us, you'll find a whole lot of libraries/code/exmaples which deals with the subject of manipulating PDF files.

              It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.

              M Offline
              M Offline
              mesajflaviu
              wrote on last edited by
              #6

              You are right ... I try http://www.pdflib.com/[^] but I didn't find what I need : to read every string from an .pdf file ... and I was thinking that I could read a .pdf file like an binary file or something ...

              R 1 Reply Last reply
              0
              • M mesajflaviu

                You are right ... I try http://www.pdflib.com/[^] but I didn't find what I need : to read every string from an .pdf file ... and I was thinking that I could read a .pdf file like an binary file or something ...

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #7

                Try looking around their examples and documentation. http://libharu.org/wiki/Documentation/Usage#Save_document_to_file_or_memory_stream[^]

                It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.

                1 Reply Last reply
                0
                • M mesajflaviu

                  It can be read words in .pdf document file ? Should be use an special .pdf library , or MFC can do that ?

                  _ Offline
                  _ Offline
                  _Superman_
                  wrote on last edited by
                  #8

                  I found this to be a good read - The Great PDF - Revealed[^]

                  «_Superman_»  _I love work. It gives me something to do between weekends.

                  _Microsoft MVP (Visual C++)

                  Polymorphism in C

                  M 1 Reply Last reply
                  0
                  • _ _Superman_

                    I found this to be a good read - The Great PDF - Revealed[^]

                    «_Superman_»  _I love work. It gives me something to do between weekends.

                    _Microsoft MVP (Visual C++)

                    Polymorphism in C

                    M Offline
                    M Offline
                    mesajflaviu
                    wrote on last edited by
                    #9

                    Thank you all !

                    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