Hi  Markus,

PDF properties processing is planned
(http://framework.zend.com/issues/browse/ZF-294), but not done yet.

It's not the first request for the feature and implementation is
relatively simple. I think it should be done in the near future.


With best regards,
   Alexander Veremyev.

> -----Original Message-----
> From: Markus Fischer [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, August 26, 2007 10:37 PM
> To: Zend Framework General
> Subject: [fw-general] Extracting data out of PDF with Zend_Pdf?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> is it supported to extra metadata information from a PDF? The 
> information I'm seeking is
> * title
> * number of pages
> * author
> 
> (of course as long as the information is contained in the PDF).
> 
> I've gone through quite some PDFs where Adobes Reader shows 
> me title and author information but from Zend_Pdf I get nothing back.
> 
> Following the documentation I thought I can get this 
> information from the properties() method, e.g.
> 
> $oPdf = Zend_Pdf::load($sFile);
> var_dump( $oPdf->properties() );
> 
> But the returned array was empty in all cases.
> 
> I know I can get the number of pages by counting the "pages" 
> property, but what about the other information?
> 
> If it's not possible with Zend_Pdf, although off-topic, what 
> other possibilities are out there? fpdf? Or some unix 
> commands (I'm on Linux)?
> 
> thanks,
> - - Markus
> 
> ps: I was using 1.0.1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFG0chf1nS0RcInK9ARAiDlAJ4+aAH7QO1b7zKFS1H6UucYZ8aKPwCeO90x
> VYXJNZ9ZR+3Jv1IYoArZlNY=
> =qqMV
> -----END PGP SIGNATURE-----
> 

Reply via email to