943,987 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3261
  • Java RSS
Dec 13th, 2007
0

how to count the no of pages in a pdf file

Expand Post »
hi everyone,
i need ur help, how to count the no of pages in a pdf file using java, is it possible to do this.
if anybody knows pls send the code.
advance thanks
hidash
Similar Threads
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
Dec 13th, 2007
0

Re: how to count the no of pages in a pdf file

Google "Java PDF API" or "iText" (which is a Java PDF API, just not the only one).
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 13th, 2007
-1

Re: how to count the no of pages in a pdf file

i need to do using java programming. i dont want any software to do this work.
so send me the code
advance thanks
hidash
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
Dec 13th, 2007
0

Re: how to count the no of pages in a pdf file

Do you know what API means?

It means Application Programming Interface.

iText is a library (a jarfile) that provides you with methods for doing this. It is not a "software that does this work". But, if you want to reinvent the wheel, then please, go ahead, just don't expect anyone else to do it for you. You are going to have to inspect the actual format of PDFs (in all the varying versions) and learn how to read and manipulate them yourself. Or, you could simply download and use an API.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 13th, 2007
0

Re: how to count the no of pages in a pdf file

It worries me that you thought an API was "an application that will do what you want"... It raises the question should you be programming this in the first place? I get the impression you lack the basic know-how of Java
Reputation Points: 12
Solved Threads: 5
Posting Pro
Acidburn is offline Offline
510 posts
since Dec 2004
Dec 13th, 2007
0

Re: how to count the no of pages in a pdf file

ha ha ha ha.. good joke....
'
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Why don't we have static methods in interface?
Next Thread in Java Forum Timeline: more game trouble- need high score system





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC