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

PdfAction * PoDoFo::PdfOutlineItem::GetAction ( void   ) [inherited]

Get the action of this outline.

Returns:
the action, if there is one, or NULL

Definition at line 253 of file PdfOutlines.cpp.

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

{
    if( !m_pAction )
    {
        PdfObject*      dObj = this->GetObject()->GetIndirectKey( "A" );
        if ( !dObj ) 
            return NULL;
    
        m_pAction = new PdfAction( dObj );
    }

    return m_pAction;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index