Hi David,

Which action to excactly mean with "A" action. Action names are listed in the 
PDFReference 1.7 on page 653 and none is named "A". 

I guess you need the information from the /Goto action. Well, PoDoFo allows 
you to always access any internal information of PdfObjects, wether they are 
supported by PoDoFo or not. So you can easily retrieve the information 
without requiring PoDoFo to have the relevant APIs. Well, of course I would 
prefer, if you could just send a patch for the new APIs in PdfAction. 

I will outline shortly how you could implement this stuff. The code is not 
absolutely correct, but I hope it is somewhat understandable.

bool PdfAction::HasDestination() const {
 return m_pObject->HasKey( PdfName("D") );
}

PdfDestination PdfAction::GetDestination() const {
        PdfObject* pObj = m_pObject->GetKey( PdfName("Destination") );
       if( pObj ) 
     {
        return PdfDestination( pObj );
     }
     else return PdfDestination();
}

I hope this helps!

best regards,
  Dom

Am 21.10.2008 23:37 schrieben Sie:
> Dom,
>
> We have migrated the project successfully to Linux and so far all is
> working as expected.  We have to parse the Table Of Contents and have
> noticed that the "A" action is not supported.  We need to be able to
> determine what page the "A" Action goto is addressing.  Have you added
> anything with respect to "A" action goto.
>
>
> For example PdfOutlineItem has a way to get the Destination page of the
> table of contents if the "Dest" is present.  We need to be able to do this
> with the "A" goto action as well.  Any help in this area would be
> appreciated.
>
>
> Kindest regards,
>
> David
>
>
> Development Manager
> Core Technology
>
> T. (905) 761-5301, ext. 205
> F. (905) 761-5294
> C. (905) 407-8204
> www.iseemedia.com
>
> iseemedia... delivering any document, any image, any device, any size,
> anywhere.
>
>
>
> -----Original Message-----
> From: Dominik Seichter [mailto:[EMAIL PROTECTED]
> Sent: Sat 10/11/2008 6:12 AM
> To: David Roach
> Subject: Re: Marketing - Podofo PDF issue
>
> Hi David,
>
> PdfError::EnableLogging( false ); should disable most logging message. Any
> message that is left is to be consideres as a bug :)
>
> best regards,
>       Dom
>
> Am Samstag, 11. Oktober 2008 schrieben Sie:
> > Dom,
> >
> > It may be something on our end that is causing the issue then.
> >
> > I was also wondering if there was a way externally to shut off all the
> > warnings and visible logging that appears on the console.
> >
> > Perhaps a pre-processor definition?
> >
> >
> > Kindest regards,
> >
> > David
> >
> >
> > Development Manager
> > Core Technology
> >
> > T. (905) 761-5301, ext. 205
> > F. (905) 761-5294
> > C. (905) 407-8204
> > www.iseemedia.com
> >
> > iseemedia... delivering any document, any image, any device, any size,
> > anywhere.
> >
> >
> >
> > -----Original Message-----
> > From: Dominik Seichter [mailto:[EMAIL PROTECTED]
> > Sent: Fri 10/10/2008 5:36 AM
> > To: David Roach
> > Cc: Sergey Bakayev
> > Subject: Re: Marketing - Podofo PDF issue
> >
> > Hi David,
> >
> > Am Donnerstag, 9. Oktober 2008 schrieb David Roach:
> > > Dom,
> > >
> > > I apologize for not getting back to you sooner with respect to your
> > > request for a future artical that describes the integration of PoDoFo
> > > with our server product.  I have passed the information onto marketing
> > > and once will revist the topic once PoDoFo has proven itself in the
> > > market with respect to our server component.
> >
> > Thanks a lot. Of course it is better to write something once PoDoFo is
> > used as part of your product by real constumers and everything works fine
> > for them.
> >
> > > We have recently discovered a problematic PDF file that I am attaching
> > > to this email.   It appears that parsing the first page is not a
> > > problem, but attempting to gain a PdfPage object of the 2nd page of the
> > > document throws a low level excpetion in PoDoFo.
> > >
> > > If you could be so kind as to take a look at this problematic file and
> > > help us remedy this problem, it would be greatly appreciated.
> >
> > I tried to reproduce your issue but everything works fine for me. My test
> > was parsing the file you sent with podofopdfinfo. Well, podofopdfinfo
> > lists correctly 4 pages and is able to retrieve annotation information
> > for every PdfPage object.
> >
> > Do you have another example of this issue? Are you doing something
> > special before retrieving the PdfPage objects like creating new pages in
> > an existing document?
> >
> > BTW, even running through valgrind does not show anything suspicious. So
> > this shouldn't be an issue of uninitialized variables.
> >
> > best regards,
> >     Dom
> >
> > > Kindest regards
> > >
> > > David Roach
> > > iseemedia


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to