You can do what you want by parsing the PDF and examining all the COS
Objects. You'll learn a lot about PDF files by doing that - but it will
take a long time. That said it will be time well spent.
Andrew
======
On 22/03/2013 10:55, adriano wrote:
Okay, I took note.
Many thanks to all who took the hassle to reply to my weird questions.
I will study and experiment a little bit more before, possibly, coming
back to this topic.
On Fri, Mar 22, 2013 at 11:35 AM, Benjamin Podszun-2 [via iText -
General] <[hidden email]
</user/SendEmail.jtp?type=node&node=4657884&i=0>> wrote:
I have the impression that you try to do something very, very
specific for the lifetime of this long thread, but you're not
sharing your requirements constructing weird 'suppose that..'
scenarios instead.
People try to help you, answer all your requests so far, but from
this particular point of view I doubt that anyone _can_ help you,
unless you're sharing what you actually want to do. Without much
hand waiving and dropping weasel words like in "detect suspicious
PDF files".
My humble opinion and all, of course.
Ben
On Thu, Mar 21, 2013 at 6:48 PM, adriano <[hidden email]
<http://user/SendEmail.jtp?type=node&node=4657882&i=0>> wrote:
Ok, then suppose the incoming PDF document includes a stream
object containing text that would cause trouble to the
recipient if it only was visible, but it is not because it is
not referenced in any page that the document is officially
comprised of, according to the "effective" document Catalog.
This document might even contain an extra Catalog that would
cause the invisible text to become visible, if it only was in
effect, but is not because it is located in an area of the PDF
file that is also ignored. Again, I would rise my eyebrow if I
noticed something like that "by hand", and still more I would
like to detect such a situation if I was processing a PDF
document in an unattended way.
I perfectly understand that by processing the PDF document in
a /standard/ way that extra objects would just be ignored.
I just would like to detect such situations -- of course by
processing the PDF in a non-standard way.
I also understand from your comments that you consider my
arguments just nonsense, okay.
I just tried to ask....
On Wed, Mar 13, 2013 at 3:49 PM, Leonard Rosenthol-3 [via
iText - General] <[hidden email]
<http://user/SendEmail.jtp?type=node&node=4657874&i=0>> wrote:
On 3/13/13 3:12 PM, "adriano" <[hidden email]
<http://user/SendEmail.jtp?type=node&node=4657816&i=0>>
wrote:
>Now, mkl, suppose you have to "process" the incoming PDF
document as a
>whole, without altering it in any way....
Yes and no.
The process by which one processes a PDF document, where
one starts with
the trailer->root/Catalog->S(, would mean that any objects
that are NOT
referenced in the current xref table OR that are not
linked into the
object tree, will be ignored.
Leonard
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
iText-questions mailing list
[hidden email]
<http://user/SendEmail.jtp?type=node&node=4657816&i=1>
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/Duplicate-indirect-objects-tp4657759p4657816.html
To unsubscribe from Duplicate indirect objects, click here.
NAML
<http://itext-general.2136553.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------------------------------------------------
View this message in context: Re: Duplicate indirect objects
<http://itext-general.2136553.n4.nabble.com/Duplicate-indirect-objects-tp4657759p4657874.html>
Sent from the iText - General mailing list archive
<http://itext-general.2136553.n4.nabble.com/> at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
iText-questions mailing list
[hidden email]
<http://user/SendEmail.jtp?type=node&node=4657882&i=1>
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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
iText-questions mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4657882&i=2>
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/Duplicate-indirect-objects-tp4657759p4657882.html
To unsubscribe from Duplicate indirect objects, click here.
NAML
<http://itext-general.2136553.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------------------------------------------------
View this message in context: Re: Duplicate indirect objects
<http://itext-general.2136553.n4.nabble.com/Duplicate-indirect-objects-tp4657759p4657884.html>
Sent from the iText - General mailing list archive
<http://itext-general.2136553.n4.nabble.com/> at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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