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

PdfOutlineItem * PoDoFo::PdfOutlineItem::CreateChild ( const PdfString sTitle,
const PdfDestination rDest 
) [inherited]

Create a PdfOutlineItem that is a child of this item

Parameters:
sTitletitle of this item
rDestdestination of this item

Definition at line 100 of file PdfOutlines.cpp.

References PoDoFo::PdfElement::GetObject(), PoDoFo::PdfOutlineItem::InsertChild(), and PoDoFo::PdfOutlineItem::PdfOutlineItem().

Referenced by CreateRoot().

{
    PdfOutlineItem* pItem = new PdfOutlineItem( sTitle, rDest, this, this->GetObject()->GetOwner() );

    this->InsertChild( pItem );

    return pItem;
}

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