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

size_t PoDoFo::PdfListField::GetItemCount (  ) const
Returns:
the number of items in this list

Definition at line 848 of file PdfField.cpp.

References PoDoFo::PdfVariant::GetArray(), PoDoFo::PdfVariant::GetDictionary(), PoDoFo::PdfDictionary::GetKey(), PoDoFo::PdfDictionary::HasKey(), and PoDoFo::PdfArray::size().

Referenced by GetSelectedItem().

{
    PdfArray   opt;
    
    if( m_pObject->GetDictionary().HasKey( PdfName("Opt") ) )
        opt = m_pObject->GetDictionary().GetKey( PdfName("Opt") )->GetArray();
    
    return opt.size();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index