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

EPdfOutlineFormat PoDoFo::PdfOutlineItem::GetTextFormat (  ) const [inherited]

Get the text format of the title

Returns:
the text format of the title

Definition at line 282 of file PdfOutlines.cpp.

References PoDoFo::ePdfOutlineFormat_Default, PoDoFo::PdfObject::GetIndirectKey(), PoDoFo::PdfVariant::GetNumber(), and PoDoFo::PdfElement::GetObject().

{
    if( this->GetObject()->GetDictionary().HasKey( "F" ) )
        return static_cast<EPdfOutlineFormat>(this->GetObject()->GetIndirectKey( "F" )->GetNumber());

    return ePdfOutlineFormat_Default;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index