File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Splitting of a PDF using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Splitting of a PDF using java" Watch "Splitting of a PDF using java" New topic
Author

Splitting of a PDF using java

k kousalya
Greenhorn

Joined: Jun 09, 2009
Posts: 12
It would be greatful if anyone could help me. Actually, I have a pdf file which contains details of 10 customers. Based on the Account Number I need to split the PDF and write the extracted details of that particular customer into another pdf.

I got the code for the splitting a pdf page wise. But, this doesn't satisfy my requiremnt as each customer details are not confined to single page. Thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
The things that are possible to do with a PDF after it has been created are quite limited. Accessing specific pieces of its content in particular is just about impossible. The best you may be able to do is to extract all text of the PDF, and break it down into its constituent pieces using string processing. Libraries like JPedal and PDFBox allow you to extract text from a PDF.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Splitting of a PDF using java
 
Similar Threads
JWeb + JQ Combo in India
AbstractPdfView in Sring
JasperReport with iReport Issue. Please help.
How to zoom in, zoom out, go to back page and go to next page in pdf rendering image
How to index the JSP page for different pages