I recently started playing with the PoDoFo library for an app I'm making, and I'm having some issues. I can't find any examples for getting metadata from a pdf file, and I'm not talking about the basic metadata like Title and Author, I mean custom metadata.
First let me say the pdf file I'm testing with I extracted it's info with pdftk, and it has a whole lot of metadata. The pdf file I'm testing with I've been trying to use PdfMemDocument's GetMetadata method, but the PdfObject returned is NULL, I'm assuming this is just an issue with the way the metadata was added to the file right? So then I'm trying to find another way to get the metadata, but I just can't find any examples, I can find examples for adding metadata, but not getting it. Another thing I tried is PdfMemDocument's GetCatalog, the PdfObject return by that is not NULL, but if I use it's HasStream method it returns false. Would the catalog have all the metadata in it? Also, when looking through the few examples I can find online I see a lot of things that don't seem to be in the API, for instance PdfDictionary is not a class in the API, I'm assuming it's a PdfVariant type right? Then I see that the PdfDictionary type has methods GetKey AddKey and HasKey, but once again they are nowhere to be found in the API. Does anyone have links to good examples for getting metadata? ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users