On Wed, 2016-11-30 at 08:41 +0000, Dependahl, Hendrik wrote:
> So I had a closer look at the PDF-structure generated by Podofo and I
> recognized, that there were two PDF-objects with the same Object-ID.
> But this only happened when I tried it with the PdfStreamedDocument.
> With the PdfMemDocument there was no problem. After all I found out
> that the error occurred because objects were deleted from the
> PdfVecObject-vector. When the method “PdfDocument::Append(..)” tried
> to append the objects from the second PDF-file, it starts with the
> wrong Object-number.

        Hi,
I tried to reproduce this with the current svn, revision 1803, in a
hope that I'd commit your suggested change, but when I call the
PdfDocument::Append() for a PdfStreamedDocument, then it ends with an
exception:

   PoDoFo encountered an error. Error: 48 ePdfError_ChangeOnImmutable
        Error Description: Changing values on immutable objects is not allowed.
        Callstack:
        #0 Error Source: ..../src/base/PdfDataType.h:148

What am I missing, please?
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
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

Reply via email to