Hi, Yes, it makes sense to write the producer only on new documents. I committed a fix to SVN, providing an enum so that one can control very detailed what will be written to the information dictionary.
By default the producer is only written to new documents.
best regards,
Dom
Am Dienstag, 18. August 2009 schrieb Leonard Rosenthol:
> Producer shouldn't change unless explicitly asked to. It should get set
> on a newly created document, but not on a modified/read one.
>
> Leonard
>
> -----Original Message-----
> From: Mike Slegeir [mailto:[email protected]]
> Sent: Tuesday, August 18, 2009 12:53 PM
> To: [email protected]
> Subject: [Podofo-users] PoDoFo will overwrite the Producer of a
> PdfMemDocument
>
> I'm not sure if this is the intended behavior or not, but the attached
> podofo-producer.cpp will try to read the Producer of a PdfMemDocument (as
> specified as the first argument), but will read PoDoFo as the producer.
> producer.diff changes this behavior, but I understand that it may be
> intentional. -Mike Slegeir
>
> ---------------------------------------------------------------------------
>--- 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [email protected]
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
**********************************************************************
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 [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
