Hi All
I believe this has been posted before.
As per PDF reference 1.7, the values in names tree can be either direct objects
or indirect object reference(except for stream objects).
<<<The values associated with the keys may be objects of any type. Stream
objects are required to be specified by indirect object references. It is
recommended, though not required, that dictionary, array, and string objects be
specified by indirect object references, and other PDF objects (nulls, numbers,
booleans, and names) be specified as direct objects.>>>
However the podofo code which retrieves value from names tree assumes the value
to be always of reference type. I have faced problem because of this while
retrieving named destinations in a particular file.
The part which finally returns the value from names tree is here
https://sourceforge.net/p/podofo/code/1853/tree/podofo/trunk/src/doc/PdfNamesTree.cpp#l414
I am not exactly sure how to fix this. But I guess it won't be too difficult if
you are somewhat familiar with PoDoFo architecture.
Please let me know of your comments / fixes.
Regards
Ali
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and
other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users