| | |
how to count the no of pages in a pdf file
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Google "Java PDF API" or "iText" (which is a Java PDF API, just not the only one).
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
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.
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.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- Open In New Window Php (PHP)
- How to write the new line existing pdf file using php (PHP)
- about blank! (Viruses, Spyware and other Nasties)
- This Should be Easy for You Guys! (Linux Servers and Apache)
- IEDLL.EXE and Loader.exe error (Windows NT / 2000 / XP)
Other Threads in the Java Forum
- Previous Thread: Why don't we have static methods in interface?
- Next Thread: more game trouble- need high score system
Views: 1755 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Java
actuate android api apple applet application arguments array arrays automation balls binary bluetooth business chat class classes client code codesnippet collections component coordinates database defaultmethod doctype dragging draw ebook eclipse educational error event exception file fractal game givemetehcodez graphics gui helpwithhomework hql html ide image ingres input integer invokingapacheantprogrammatically j2me java javaprojects jmf jni jpanel julia linux list loop looping map method methods mobile mysql netbeans newbie number numbers object oracle parameter php print problem program programming project recursion scanner screen server set size sms socket sort sql string sun swing swt tcp test threads time transfer tree udp windows






