Hi,

Seems I was misguided by your reference to IPropertyStore and Windows
property handler. So my reply was based on that.

There indeed are PDF metadata firstly in document information directory for
which there is PdfInfo class in podofo and secondly part in PDF metadata
stream since PDF 1.4 which is stored as XML. XML from such PDF stream can
be retrieved using podofo and then parsed by some XML parser like rapidxml.
Although there probably is not direct method like GetMetadata in podofo but
you would need to use lower level api and search for metadata streams as
described in PDF Reference.

These are distinct metadata than you would obtain using IPropertyStore. And
are part of PDF file.

On Thu, Jun 20, 2019 at 7:07 PM Adam Topel <amto...@gmail.com> wrote:

> Actually I've learned that metadata is stored in the PDF files, but you
> can do that with Adobe's XMP SDK.  Thank you very much for your response,
> though.
>
> On Thu, Jun 20, 2019 at 12:08 PM Michal Sudolsky <sudols...@gmail.com>
> wrote:
>
>> Hi,
>>
>> If I am not wrong such properties are stored in NTFS filesystem
>> "metadata". It has nothing to do with PDF file itself. These properties are
>> not PDF properties. Yes podofo is unnecessary for this.
>>
>> On Thu, Jun 20, 2019 at 11:31 AM <amto...@gmail.com> wrote:
>>
>>>
>>> Hi!  I’d like to implement a Windows property handler for reading and
>>> writing PDF properties (using the IPropertyStore interface).  Is that
>>> something I would use PoDoFo for, or is PoDoFo unnecessary for that kind of
>>> job?  Thanks for everything you do!
>>> _______________________________________________
>>> Podofo-users mailing list
>>> Podofo-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>>>
>>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to