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

const PdfString PoDoFo::PdfButton::GetCaption (  ) const [inherited]
the caption of this button

Definition at line 409 of file PdfField.cpp.

References PoDoFo::PdfField::GetAppearanceCharacteristics(), PoDoFo::PdfVariant::GetDictionary(), PoDoFo::PdfDictionary::GetKey(), PoDoFo::PdfVariant::GetString(), and PoDoFo::PdfDictionary::HasKey().

    PdfObject* pMK = this->GetAppearanceCharacteristics( false );
    if( pMK && pMK->GetDictionary().HasKey( PdfName("CA") ) )
        return pMK->GetDictionary().GetKey( PdfName("CA") )->GetString();

    return PdfString::StringNull;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index