Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

PdfDestination * PoDoFo::PdfOutlineItem::GetDestination ( PdfDocument pDoc ) [inherited]

Get the destination of this outline.

Parameters:
pDoca PdfDocument owning this annotation. This is required to resolve names and pages.
Returns:
the destination, if there is one, or NULL

Definition at line 231 of file PdfOutlines.cpp.

References PoDoFo::PdfObject::GetIndirectKey(), and PoDoFo::PdfElement::GetObject().

{
    if( !m_pDestination )
    {
        PdfObject*      dObj = this->GetObject()->GetIndirectKey( "Dest" );
        if ( !dObj ) 
            return NULL;
    
        m_pDestination = new PdfDestination( dObj, pDoc );
    }

    return m_pDestination;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index