Hi,

Which version of PoDoFo do you use? Current trunk or 0.7.0?

Best regards,
        Dom

Am Donnerstag, 5. November 2009 schrieb Bogdan PANUS:
> Hi there,
>
>
>
> While trying to create a multipage pdf document, with the possibility to
> write on any page at any moment, I got some problems. When creating a new
> page, I got errors accessing some of the previously created ones. By
> studying a little the library I resolved my problem in this way:
>
>
>
> PdfPagesTree.cpp
>
>
>
>   170     //InsertPage( this->GetTotalNumberOfPages() - 1, pPage );
>
>   170     InsertPage( this->GetTotalNumberOfPages() , pPage );
>
>
>
> The first version was causing  PdfPagesTreeCache.cpp to set NULL over
> existing data in line:
>
>
>
> 79         m_deqPageObjs.insert( m_deqPageObjs.begin() + nIndex, NULL );
>
>
>
>   Can anybody confirm if this is the best fix for the bug?
>
>
>
> Thanks
>
> Bogdan P.



-- 
**********************************************************************
Dominik Seichter - domseich...@web.de
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to