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

void PoDoFo::PdfWriter::FindCatalogDependencies ( PdfObject pCatalog,
const PdfName rName,
TPdfReferenceList *  pList,
bool  bWithDependencies 
) [private]

Find dependencies required for creating a linearized PDF of the catalog dictionary.

Definition at line 441 of file PdfWriter.cpp.

References PoDoFo::PdfVariant::GetDictionary(), PoDoFo::PdfObject::GetIndirectKey(), PoDoFo::PdfDictionary::GetKey(), PoDoFo::PdfVecObjects::GetObjectDependencies(), PoDoFo::PdfDictionary::HasKey(), PoDoFo::PdfVariant::IsReference(), m_vecObjects, and PoDoFo::PdfObject::Reference().

Referenced by ReorderObjectsLinearized().

    if( pCatalog->GetDictionary().HasKey( rName ) && pCatalog->GetDictionary().GetKey( rName )->IsReference() )
        if( bWithDependencies )
            m_vecObjects->GetObjectDependencies( pCatalog->GetIndirectKey( rName ), pList );
            pList->push_back( pCatalog->GetIndirectKey( rName )->Reference() );

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