Hi ,

I need to add couple of annotation to a document and then save it again .

currently I have been doing 

PoDoFo::PdfMemDocument* document = new PoDoFo::PdfMemDocument( somePath )
PoDoFo::PdfPage* document->GetPage(someIndex);
pAnnot = pPage->CreateAnnotation( ePdfAnnotation_Line, annotationRect );
...

then later

document->Write( someNewPath );


this work quite well and was really nice and easy .

but on large document it take some time and looking at the debugger it look 
like the entire document get parsed before it can be saved again ? is that the 
case ?

is there a way to sort of copy the file and then "append those " objects as 
revision to the PDF , I think the format allow for that ?

Thanks again for a really great library !

Damien


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to