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>, 
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
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