On Sun, Apr 24, 2016, 15:57 UTC, I (mabri) wrote:

> Associating a string with a destination and writing it into a document

> (of at least version PDF 1.2) is done by the (abstract base class) method
> PdfDocument::AddNamedDestination(const PdfDestination & rDest,
                                    const PdfString &      rsName)
> with rDest not constructed from a string PdfObject (and a document),
> because otherwise the internal PdfObject of the PdfDestination would become
> a string one, thus that PdfDocument method recording a reference to that
> string, which isn't conforming to the PDF 1.7 spec clause 12.3.2.3 (allowing
> only array and some dictionary).
> I consider this ("otherwise ...") to be a bug in PdfDestination's Init method.
> 
> I would fix the bug I mentioned anyway if you (PoDoFo developer/s) don't give
> me convincing reasons for that being no bug. To give you time for this I'll

> tend to another PoDoFo issue first, I hope today.

Hi all,


the bugfix attached to the e-mail this replies to is very strict: I hope you
accept it even though it will, for every PdfObject not supported yet, given
to the Init method (called by the PdfDestination(PdfObject*, PdfDocument*)
constructor), cause an exception to be thrown. I promise that I will (try to)
expand what's supported by that method to also accept pointers to PdfObject
instances whose value is a PdfName which can be found in one of the standard
places in the document, if no plan change will be needed for me, on the coming
weekend, right after the bugfix is committed (no earlier, it's a dependency).


Best regards, mabri

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to