Are you saying that these keys will never appear in a PDF that makes it "out in
the wild" (aka to the real world)?
A PDF containing an undefined first class key in a dictionary is technically
not a compliant PDF, and may be flagged as such by a validator. (for example,
the PDF validator in Adobe Acrobat would flag it as such).
Additionally, sure. If someone else also chose to break the rules and use a
1st class key and you were both using them for something completely different –
all hell could break lose.
Given that there is ZERO cost to registering the prefix. I really don't
understand your objection to just "doing the right thing"
Leonard
From: Jason Kissinger
<ja...@jasonkissinger.com<mailto:ja...@jasonkissinger.com>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Wednesday, February 13, 2013 4:56 PM
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] Tagging content
This is just for our testing purposes. Not for external use by anyone.
So in the absence of an already approved generic 'identifier' key for us to
use, what are the drawbacks of us having a non-ISO approved key in our
documents?
Collision with someone else's key causing plugin or some such to err when it
hits our invalid use of their key?
On Wed, Feb 13, 2013 at 3:43 PM, Leonard Rosenthol
<lrose...@adobe.com<mailto:lrose...@adobe.com>> wrote:
Except for your not being allowed to use a first class key (aka a key w/o a
prefix), yes.
So now go to
<http://www.adobe.com/devnet/acrobat/pdfs/pdfregistry_v3.pdf><http://www.adobe.com/devnet/acrobat/pdfs/pdfregistry_v3.pdf%3E>,
fill out the form and submit it. Then you'll have your legal prefix.
Leonard
From: Jason Kissinger
<ja...@jasonkissinger.com<mailto:ja...@jasonkissinger.com>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Wednesday, February 13, 2013 2:56 PM
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] Tagging content
To answer my own question (assume I'm on right track)...
Image doesn't represent an /XObject, but PDFTemplate does. Doing:
pdfTemplate.getAdditional().put(new PdfName("myId"), new PdfString("image1"));
adds '/myId' to xobject's dictionary and I can now find the image stream by
myId.
Is that the 'correct' way to tag an image?
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net<mailto: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
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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