Forums / Developer / How to fetch document properties

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to fetch document properties

Author Message

Luc Chase

Wednesday 20 September 2006 4:06:37 pm

How would one fetch the properties of a PDF document.
e.g. the Number of Pages in the PDF

The Web Application Service Provider

Claudia Kosny

Friday 22 September 2006 2:22:40 pm

Hi Luc

Everything I have read about pdf for EZ points to EZ being able to create PDF but not to read them. I might have overlooked something (I haven't done much with pdf yet), but I think it is not possible to get information from a pdf file this way.

It might be possible to write an extension that uses e.g. the http://www.fpdf.org/ library. I am not sure how good that works as this as well is mainly directed to creating pdf instead of reading it.

Good Luck

Claudia