Re: [Podofo-users] PoDoFo Patch - Count as reference in page tree

2014-06-11 Thread zyx
On Wed, 2014-06-11 at 22:28 +0200, Petr Pytelka wrote: > -int GetChildCount( const PdfObject* pNode ) const; > +static int GetChildCount( const PdfObject* pNode ); >   > Reasons to change signature of the method: > 1. GetChildCount does not need any member variables from PdfPagesTree

Re: [Podofo-users] PoDoFo Patch - Count as reference in page tree

2014-06-11 Thread Petr Pytelka
Hi, thank you for integrating the patch. I've tested solution with another set of PDF files and found another places where number of pages is requested using: ... static_cast(this->GetObject()->GetDictionary().GetKeyAsLong( "Count", 0LL )) I've prepared new version of the patch to repl

Re: [Podofo-users] How to add Appearance Steam (AP) annotations

2014-06-11 Thread Leonard Rosenthol
You need to read ISO 32000 (the PDF standard) more – or try a book such as my “Developing with PDF” () to better under the various data structures in a PDF, how they go together and then finally combine to make an appearance stream for an annotation. Leonard From: VED P

[Podofo-users] How to add Appearance Steam (AP) annotations

2014-06-11 Thread VED PRAKASH
Hi, I have used your library to add FreeText annotations, the problem with the annotations is it doesn't appear in any preview tool, includes Google, Adobe Reader, FoxIT etc. I tried to edit an added annotation through Mac inbuilt Preview tool, which added an AP tag in the stream. I compar