On 8/14/2014 12:51 PM, Gaurang Haldankar wrote:
Hi,
I need to check if we can use ItextPDF for :
1. Identifying sections(collection of text/image content etc.) in my existing PDF. The start of the section can be identified by Headings in that PDF.

Yes and No.
No: you need to write code to achieve this.
Yes: this has been done before as described in this article and video:
http://www.openhealthnews.com/articles/2014/using-open-source-pdf-technology-solve-unstructured-data-problem-healthcare
https://www.youtube.com/watch?v=lZnbhnU4m3Y

2. Move a section of a page in the earlier page if there is enough space for the section to start.

This question reveals a deep lack of understanding of the PDF format.
This is impossible in general (not limited to iText).

3. Move the section in the next page if there are 2 sections in the same page.

Same answer as to question 2.

4. Move the section in the next page if there exists data of previous section in the page.

Same answer as to question 2.

Basically merge two pdf content in one page according to order we want and if the context exceeds the page size it should flow to next page.


You don't want to do this in PDF. PDF is not a format for editing documents! Take the ORIGINAL SOURCE that was used to create the PDF and apply the changes you need at that level BEFORE you create the PDF.

Kindly let me know if you need any more clarifications.

Some background info on why you are asking this question would be helpful. In their current form, the questions are invalid. It's as if you haven't done any research regarding PDF whatsoever before posting this question and as a result, I am giving you a suboptimal answer.

A second reason why the answer may be considered not so friendly involves this:


Information transmitted by this e-mail is proprietary to Mphasis, its associated companies and/ or its customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailmas...@mphasis.com and delete this mail from your records.


Please read: http://itextpdf.com/confidential
If a mail is confidential or proprietary to a company, you SHOULD NOT send it to a service that results in that mail BEING ARCHIVED PUBLICLY by an unknown number of third party services. If a mail is NOT confidential, nor proprietary to a company, you SHOULD NOT add such a notice to your mail.

Note that IT IS IMPOSSIBLE for us to delete your mail from the online archives: http://support.itextpdf.com/node/72
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to