Hi,

PdfDocument->Write should indeed save your changes again to the PDF.
You might want to use PoDoFoBrowser to check which actual values are written 
and where the problem lies

Cheers,
        Dominik

On Monday, July 11, 2011 12:37:56 pm Alexander Repty wrote:
> Hi,
> 
> one of the requirements for an iPad app I'm currently working on is to
> view, add and edit PDF annotations. I chose to use PoDoFo for this task,
> and so far it's working great for the viewing and adding part of the
> requirements.
> 
> However, I'm not quite sure how I would go about editing existing
> annotations. When I grab a PdfAnnotation off a PdfPage and make changes to
> it, PdfDocument->Write() doesn't save these changes back to disk. I'm
> probably just missing a step or overlooked something in the documentation,
> but I couldn't find an answer for this (documentation, Google, list
> archives).
> 
> So far, the only solution I see is using PdfPage->CreateAnnotation() to
> create a new annotation with the same values, deleting the old one and
> saving the document, but that strikes me as odd.
> 
> Can someone point me in the right direction?
> 
> Cheers,
> Alex
> 
> --
> Alexander Repty
> Mac & iOS Software
> 
> http://alexrepty.com/
> [email protected]
> http://twitter.com/arepty
> 
> 
> ---------------------------------------------------------------------------
> --- All of the data generated in your IT infrastructure is seriously
> valuable. Why? It contains a definitive record of application performance,
> security threats, fraudulent activity, and more. Splunk takes this data
> and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to