My understanding is that you can create PDF documents with iText.
Certainly this is possible. PDF is for creating documents!
This means that the PDF format must encode the presentation in a
structured
way. Otherwise, the PDF viewer cannot reproduce the document.
Thus, it is structured and all the document information including
text is represented in the PDF format.
I thought iText is capable of loading the PDF elements and then
creating a PDF document from them. On that part, I may be wrong.
cheers.
On Wed, 27 Jul 2011 06:02:08 -0700 (PDT), "Alexis Pigeon [via iText -
General]" <[email protected]> wrote:
> Hi Darren,
>
> On 27 July 2011 14:09, sesshomurai <[email protected]> wrote:
>
>> Hi,
>> I read that thread but I didn't find it informative. Given that iText
>> loads a PDF
>> into a structured format, is it possible to analyse the text elements
of
>> that PDF?
>>
>
> Your assumptions are wrong. The structure used by iText when creating a
PDF
> (Paragraph, Phrase, Chunk, PdfPTable, etc...) are high level semantics
that
> are 100% lost in the final document (unless you create a tagged PDF, in
> such
> a case you might be able to save maintain semantics). You should NOT
expect
> finding such a structure when "loading" an existing PDF document with
> iText.
>
>
>> And if so, it should be possible to replace those structured elements
>> with
>> new ones
>> with the appropriate visual settings?
>>
>> It seems such a basic thing, but I understand PDF is rather prohibitive
>> in
>> this regard.
>>
>
> Again your assumptions are wrong. PDF is a format for presentating
> documents, not for manipulating them.
>
> Cheers,
> alexis
>
>
------------------------------------------------------------------------------
> Got Input? Slashdot Needs You.
> Take our quick survey online. Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> iText-questions mailing list
> [email protected]
> 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
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
http://itext-general.2136553.n4.nabble.com/Find-Replace-Text-in-Existing-PDF-tp3659565p3698405.html
>
> To unsubscribe from Find/Replace Text in Existing PDF?, visit
>
http://itext-general.2136553.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3659565&code=ZGFycmVuQG9udHJlbmV0LmNvbXwzNjU5NTY1fC0yMTAyMjUwMjE0
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Find-Replace-Text-in-Existing-PDF-tp3659565p3698584.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
iText-questions mailing list
[email protected]
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