Thanx a lot!!! That works like a charm.

Best Regards,

Andreas

-----Ursprüngliche Nachricht-----
Von: Andreas Lehmkühler [mailto:[email protected]] 
Gesendet: Freitag, 5. Februar 2010 10:37
An: [email protected]
Betreff: Re: AW: PDF contains any text?
I didn't test your source in detail, but I think you should use 

new 
Rectangle2D.Float(rectancle.getLowerLeftX(),rectancle.getLowerLeftY(),rectancle.getWidth(),
 rectancle.getHeight());

to create the area you are looking for.


> Best Regards,
> 
> Andreas

BR
Andreas Lehmkühler

> -----Ursprüngliche Nachricht-----
> Von: Erik Scholtz, ArgonSoft GmbH [mailto:[email protected]] 
> Gesendet: Mittwoch, 3. Februar 2010 17:03
> An: [email protected]
> Betreff: Re: PDF contains any text?
> 
> 
> Andreas,
> 
> without parsing the content of a document and telling about its contents 
>   sounds to me like you are looking for the 
> PDDocument.oracle_of_delphi() method :)
> 
> But to answer your question: No - you have to look at the resources of 
> each page whether there are text-resources or not, to find out about 
> that. There is no "central resource_available dictionary" in PDF.
> 
> 
> Best regards,
> Erik
> 
> Roeder, Andreas wrote:
> > Hi,
> > 
> > Is there a way to find out if a PDF contains any text without parsing 
> > the whole document? Some PDF contain just images.
> > 
> > Best Regards,
> > 
> > Andreas
> > 
> 
> 

--- original Nachricht Ende ----

Reply via email to