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

PoDoFo::PdfTextField::PdfTextField ( const PdfField rhs )

Create a PdfTextField from a PdfField

rhsa PdfField that is a PdfTextField

Raises an error if PdfField::GetType() != ePdfField_TextField

Definition at line 668 of file PdfField.cpp.

References PoDoFo::ePdfError_InvalidDataType, PoDoFo::PdfField::GetType(), and PODOFO_RAISE_ERROR_INFO.

    : PdfField( rhs )
    if( this->GetType() != ePdfField_TextField )
        PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidDataType, "Field cannot be converted into a PdfTextField" );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index