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. The Lounge
  3. How to read PDF documents

How to read PDF documents

Scheduled Pinned Locked Moved The Lounge
c++tutorialquestion
37 Posts 20 Posters 7 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.
  • V vinaymarje

    Thanks. I should have realized this after I couldn't find any article on CP. CP is the best programming resource I have used.

    M Offline
    M Offline
    Michael Schubert
    wrote on last edited by
    #22

    Don't listen to these guys, they are all making fun of you. Acrobat Reader is actually written with Microsoft Macro Assembler, that's why it's so fast and has such a small footprint, especially the latest version (8). So, to ensure maximum compatibilty, get yourself a copy of MASM 6.15 (it's free!!) and start programming!

    1 Reply Last reply
    0
    • V vinaymarje

      I would like to write a win32 application in C++ to read a PDF document. Is this possible?

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #23

      a) is reading a document a Turing-complete task? b) is C++ a Turing-complete language? yes & yes = yes

      image processing toolkits | batch image processing

      CPalliniC 1 Reply Last reply
      0
      • C Christian Graus

        I want to cry.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #24

        *hands tissues*

        Cheers, Vikram.


        The hands that help are holier than the lips that pray.

        1 Reply Last reply
        0
        • C Chris Losinger

          a) is reading a document a Turing-complete task? b) is C++ a Turing-complete language? yes & yes = yes

          image processing toolkits | batch image processing

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

          The hypothesis was

          vinaymarje wrote:

          I would like to write a win32 application in C++ to read a PDF document. Is this possible?

          ;)

          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

          In testa che avete, signor di Ceprano?

          C 1 Reply Last reply
          0
          • V vinaymarje

            I would like to write a win32 application in C++ to read a PDF document. Is this possible?

            S Offline
            S Offline
            Steve Thresher
            wrote on last edited by
            #26

            Your best bet is to buy a library from someone. This one works[^]

            AxisFirst For Business

            1 Reply Last reply
            0
            • V vinaymarje

              I would like to write a win32 application in C++ to read a PDF document. Is this possible?

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

              Yes, it's possible. You can get the PDF Specs[^] here. There are various open source PDF readers that might be of help. One is Sumatra PDF[^]. There is more information here[^] that could help get you started as well. Cheers, Drew.

              S 1 Reply Last reply
              0
              • CPalliniC CPallini

                The hypothesis was

                vinaymarje wrote:

                I would like to write a win32 application in C++ to read a PDF document. Is this possible?

                ;)

                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

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #28

                since it is entirely possible, the only thing left is the small matter of typing-in the implementation. what's the big deal ?

                image processing toolkits | batch image processing

                CPalliniC 1 Reply Last reply
                0
                • C Chris Losinger

                  since it is entirely possible, the only thing left is the small matter of typing-in the implementation. what's the big deal ?

                  image processing toolkits | batch image processing

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

                  Possible is not probable. :)

                  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

                  In testa che avete, signor di Ceprano?

                  1 Reply Last reply
                  0
                  • M MidwestLimey

                    Look on the bright side, a pdf reader is unlikely to be related to a nuclear power plant control system ... it could be sooo much worse!


                    I'm largely language agnostic


                    After a while they all bug me :doh:


                    M Offline
                    M Offline
                    martin_hughes
                    wrote on last edited by
                    #30

                    Except... maybe he needs to build a pdf reader in order to open the instructions on how to build a nuclear power plant control system... :omg:

                    ***The collected future Mrs. Martin Hughes***

                    1 Reply Last reply
                    0
                    • L Lost User

                      Yes, it's possible. You can get the PDF Specs[^] here. There are various open source PDF readers that might be of help. One is Sumatra PDF[^]. There is more information here[^] that could help get you started as well. Cheers, Drew.

                      S Offline
                      S Offline
                      StevenWalsh
                      wrote on last edited by
                      #31

                      I like how the specifications are in pdf format :)

                      L 1 Reply Last reply
                      0
                      • S StevenWalsh

                        I like how the specifications are in pdf format :)

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

                        Heh - hadn't thought of that! Cheers, Drew.

                        1 Reply Last reply
                        0
                        • E El Corazon

                          d) my kid sister, if I had one, would be bored by the true answer, therefore it cannot be printed in the lounge. Kid sisters rarely go to the C++ forum, making the C++ forum a good place to ask boring C++ questions.... e) If any of us answer a C++ question in the lounge, Trollslayer would test out a double bladed axe on us.... If she weren't so nice about it, I would think that would qualify her as an honorary kid-sister from my family. ;)

                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                          L Offline
                          L Offline
                          leckey 0
                          wrote on last edited by
                          #33

                          I'm the crazy aunt you don't let near the kitchen because of the sharp objects.

                          My oh my. http://craptasticnation.blogspot.com/[^]

                          E 1 Reply Last reply
                          0
                          • L leckey 0

                            I'm the crazy aunt you don't let near the kitchen because of the sharp objects.

                            My oh my. http://craptasticnation.blogspot.com/[^]

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #34

                            leckey wrote:

                            I'm the crazy aunt you don't let near the kitchen because of the sharp objects.

                            I hate to disappoint you, but you are not crazy enough to be a member of my family. :) My family did like sharp objects!

                            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                            L 1 Reply Last reply
                            0
                            • E El Corazon

                              leckey wrote:

                              I'm the crazy aunt you don't let near the kitchen because of the sharp objects.

                              I hate to disappoint you, but you are not crazy enough to be a member of my family. :) My family did like sharp objects!

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                              L Offline
                              L Offline
                              leckey 0
                              wrote on last edited by
                              #35

                              My mother had bi-polar disorder (also known as multi-personality disorder) and my father was an alcoholic. My paternal grandmother was treated with shock therapy. My aunt on my mother's side has spent a number of years in a mental facility because of trying to kill herself. Is that good enough? ;P

                              My oh my. http://craptasticnation.blogspot.com/[^]

                              E 1 Reply Last reply
                              0
                              • L leckey 0

                                My mother had bi-polar disorder (also known as multi-personality disorder) and my father was an alcoholic. My paternal grandmother was treated with shock therapy. My aunt on my mother's side has spent a number of years in a mental facility because of trying to kill herself. Is that good enough? ;P

                                My oh my. http://craptasticnation.blogspot.com/[^]

                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #36

                                now if she had spent time for trying to kill someone else, then she'd fit in my family. :) My great-grandfather tried to kill a tax collector, my brother still defends the right to kill me even as an adult. My aunt has been in and out of mental facilities for years. My mother, she just repeats our family is normal and why don't I obey my brother?

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                L 1 Reply Last reply
                                0
                                • E El Corazon

                                  now if she had spent time for trying to kill someone else, then she'd fit in my family. :) My great-grandfather tried to kill a tax collector, my brother still defends the right to kill me even as an adult. My aunt has been in and out of mental facilities for years. My mother, she just repeats our family is normal and why don't I obey my brother?

                                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                  L Offline
                                  L Offline
                                  leckey 0
                                  wrote on last edited by
                                  #37

                                  Sounds like both our families are messed up. I don't think there are any winners here. :(

                                  My oh my. http://craptasticnation.blogspot.com/[^]

                                  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