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

pdf_long PoDoFo::PdfTextField::GetMaxLen (  ) const
the max length of this textfield in characters or -1 if no max length was specified

Definition at line 711 of file PdfField.cpp.

References PoDoFo::PdfVariant::GetDictionary(), PoDoFo::PdfDictionary::GetKey(), PoDoFo::PdfVariant::GetNumber(), and PoDoFo::PdfDictionary::HasKey().

Referenced by SetText().

    return static_cast<pdf_long>(m_pObject->GetDictionary().HasKey( PdfName("MaxLen") ) ? 
                                 m_pObject->GetDictionary().GetKey( PdfName("MaxLen") )->GetNumber() : -1);

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