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

void PoDoFo::PdfDocument::AddNamedDestination ( const PdfDestination rDest,
const PdfString rsName 
) [inherited]

Adds a PdfDestination into the global Names tree with the specified name, optionally replacing one of the same name

rDestthe destination to be assigned
rsNamethe name for the destination

Definition at line 710 of file PdfDocument.cpp.

References PoDoFo::PdfNamesTree::AddValue(), PoDoFo::PdfDocument::GetNamesTree(), PoDoFo::PdfDestination::GetObject(), and PoDoFo::PdfObject::Reference().

    PdfNamesTree* nameTree = GetNamesTree();
    nameTree->AddValue( PdfName("Dests"), rName, rDest.GetObject()->Reference() );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index