Re: [Podofo-users] PdfDocument->append does not support inheritable page objects

2010-11-10 Thread Dominik Seichter
Hi Ronny, I think, I was able to fix the problem with the information from Adobe preflight. References in inherited attributes (especially resources), have not been adapted. This is fixed now in SVN. Could you please check if this solves your problem? Cheers, Dominik Am Wednesday 10 N

Re: [Podofo-users] Including identifiers with annotations + hidden text in PDFs

2010-11-10 Thread Leonard Rosenthol
When you have the Annotation you can get its Dictionary and then add whatever keys (with whatever values) you want. Then you can just scan all annotations and check for your key. -Original Message- From: Matias Piipari [mailto:matias.piip...@gmail.com] Sent: Wednesday, November 10, 201

Re: [Podofo-users] Including identifiers with annotations + hidden text in PDFs

2010-11-10 Thread Matias Piipari
Nevermind, not my brightest day :-) ... I suppose to add custom key-value pair to annotation objects, I just do getObject() on the annotation, then setString(...) on that object to add my custom field. On 10 Nov 2010, at 16:17, Leonard Rosenthol wrote: > 1 - use a custom second class dictionary

Re: [Podofo-users] Including identifiers with annotations + hidden text in PDFs

2010-11-10 Thread Matias Piipari
On 10 Nov 2010, at 16:17, Leonard Rosenthol wrote: > 1 - use a custom second class dictionary key as described in ISO 32000-1, > Annex E. Be sure to register your prefix as described there as well. Ok, from the specification I understand how to register for a prefix and include the informat

Re: [Podofo-users] Including identifiers with annotations + hidden text in PDFs

2010-11-10 Thread Leonard Rosenthol
1 - use a custom second class dictionary key as described in ISO 32000-1, Annex E. Be sure to register your prefix as described there as well. 2 - Sure. Just set the text render mode to 3 when drawing. -Original Message- From: Matias Piipari [mailto:matias.piip...@gmail.com] Sent: Wed

Re: [Podofo-users] PdfPagesTree::GetPageNode does not work correct on structured page trees

2010-11-10 Thread Dominik Seichter
Hi Ronny, Thank you for the fix and test case. I commited the fix. Very good catch. Cheers, Dominik Am Wednesday 10 November 2010 schrieb ronny.ban...@nexgo.de: > Yes, I have a example pdf (see attached file): > > The sample code shows this failure: > PdfMemDocument sourceDoc; > sourceD

Re: [Podofo-users] PdfPagesTree::GetPageNode does not work correct on structured page trees

2010-11-10 Thread Martin Schröder
2010/11/10 : > Yes, I have a example pdf (see attached file): Is this really created by OOO 2.4 or is it a specially crafted edge case? Best Martin -- The Next 800 Companies to Lead America's Growth: New Video Whitep

[Podofo-users] Including identifiers with annotations + hidden text in PDFs

2010-11-10 Thread Matias Piipari
Hi everyone I have two PoDoFo related questions to ask. Any pointers with either of these is much appreciated. 1) Including an identifier with annotations. I have written an application X which modifies a PDF document by adding annotations to it, using PoDoFo. Is there a way to associate some

Re: [Podofo-users] PdfDocument->append does not support inheritable page objects

2010-11-10 Thread Dominik Seichter
Hi Ronny, Thanks for the info, your fix for the loop is correct. My bad. I commited it to SVN. This change should not cause a corrupt PDF file ... maybe there is another issue? Do you have an example PDF? Cheers, Dominik Am Wednesday 10 November 2010 schrieb ronny.ban...@nexgo.de: > Hi

Re: [Podofo-users] PdfPagesTree::GetPageNode does not work correct on structured page trees

2010-11-10 Thread Dominik Seichter
Do you have a testcase for this? Or an example PDF? Am Wednesday 10 November 2010 schrieb ronny.ban...@nexgo.de: > Hi, > > I have found out that podofo does not read pdf document with structured > page trees (balanced page trees) correctly. I have debugged this and if > you change the order of th

[Podofo-users] PdfPagesTree::GetPageNode does not work correct on structured page trees

2010-11-10 Thread ronny . bantin
Hi, I have found out that podofo does not read pdf document with structured page trees (balanced page trees) correctly. I have debugged this and if you change the order of the code: // Skip a normal page if(nPageNum > 0 ) nPageNum--;

Re: [Podofo-users] Question on podofo support for Incremental Updates

2010-11-10 Thread Dominik Seichter
Correct, PoDoFo does not do incremental updates at the moment. Cheers, Dominik Am Wednesday 10 November 2010 schrieb Andy: > Just want to confirm that PoDoFo doesn't support saving pdfs using > incremental updates, from looking at the API and experimentation it > appears that writing out