• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Splitting of a PDF using java

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic