I have one PDF file. I want to replace few paragraphs of this PDF file by some other text from files like(.doc/ .docx/ .xls). how to scan and edit text paragraph wise or sentence wise in the same PDF document.
Thanks alot in advance..
I have one PDF file. I want to replace few paragraphs of this PDF file by some other text from files like(.doc/ .docx/ .xls). how to scan and edit text paragraph wise or sentence wise in the same PDF document.
Thanks alot in advance..
You can use PDFBox library (http://pdfbox.apache.org/) to extract the text from PDF and use hssf library to extract the data from word or excel file. Then you can do all your manipulations and finally create new PDF doc with the updated text data.