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

pdf_long PoDoFo::PdfFileInputStream::GetFileLength (  )

Get the length of the file.

the file length

Definition at line 76 of file PdfInputStream.cpp.

Referenced by PoDoFo::PdfFileSpec::EmbeddFile(), PoDoFo::PdfFontCID::EmbedFont(), PoDoFo::PdfFontTrueType::EmbedFontFile(), and TestUtils::readDataFile().

    pdf_long lOffset = ftello( m_hFile );
    pdf_long lLen;

    fseeko( m_hFile, 0L, SEEK_END );
    lLen = ftello( m_hFile );
    fseeko( m_hFile, lOffset, SEEK_SET );

    return lLen;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index