XObjects are **never** direct objects.  That's the whole point.

--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
> -----Original Message-----
> From: sal salaimani [mailto:newoutlo...@yahoo.com]
> Sent: Friday, June 04, 2010 8:49 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] getting text for form xobject or image
xobject
> 
> 
> I have a PDF document which has a form xobject. The form xobject
contains
> some text. I want to extract the text from the form xobject.
> 
> Right now, I have the following steps to get the text from the form
> xobject
>       Get a page object for the PDF document
>       Get resource dictionary for the page object
>       Get xobject dictionary for the resource dictionary
>       get keys for the xobject dictionary
>       Iterate thru each key and get direct object for each key
>       if the direct object is form xobject and get text string for the
> object.
> 
> I have coded all steps except last step. I am looking for a way to get
> text
> out of form xobject. Any help is appreciated.
> 
> Sal
> 
> --
> View this message in context: http://itext-
> general.2136553.n4.nabble.com/getting-text-for-form-xobject-or-image-
> xobject-tp2243414p2243414.html
> Sent from the iText - General mailing list archive at Nabble.com.
> 
>
------------------------------------------------------------------------
--
> ----
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.itextpdf.com/book/
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.829 / Virus Database: 271.1.1/2913 - Release Date:
06/03/10
> 23:25:00

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to