I found out that
PdfAction::HasURI() is checking if a key "URI" exists in the dictionary,
PdfAction::GetURI() is to get the related URI. Unfortunately, GetURI() is only
calling
return this->GetObject()->GetDictionary().GetKey( "URI" )->GetString();
but there are also PDF documents that store the URI as a reference to a string.
Wouldn't it be good to have a possibility to get these ones also? Then,
GetURI() has to be changed to something like
PdfAction::GetURI(PdfDocument* document=NULL)
to get access to all objects if necessary and to stay compatible with the
current implementation.
Hardy
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users