[poppler] Problem getting object identifier

Leonard Rosenthol leonardr at pdfsages.com
Mon Nov 12 02:41:18 PST 2007


that's it!   Thanks!!

Leonard

On Nov 11, 2007, at 11:03 AM, Albert Astals Cid wrote:

> A Dissabte 10 Novembre 2007, Leonard Rosenthol va escriure:
>> IIRC (I don't have the Xpdf/Poppler sources with me at the moment),
>> you first need to check isIndirect() on the object.  If it's
>> indirect, then you can coerce to an indirectObject or objectReference
>> (forget the name) class which has objectID and objectGen members.
>
> I think Leonard means Object::isRef() and Object::getRef() that  
> gives you a
>
> struct Ref {
>   int num;			// object number
>   int gen;			// generation number
> };
>
> Albert
>



More information about the poppler mailing list