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

PdfObject * PoDoFo::PdfPage::GetContentsForAppending (  ) const [virtual]

Get access an object that you can use to ADD drawing to. If you want to draw onto the page, you have to add drawing commands to the stream of the Contents object.

Returns:
a contents object

Implements PoDoFo::PdfCanvas.

Definition at line 119 of file PdfPage.cpp.

References CreateContents(), and PoDoFo::PdfContents::GetContentsForAppending().

Referenced by PoDoFo::Impose::PdfTranslator::impose().

{ 
    if( !m_pContents ) 
    {
        const_cast<PdfPage*>(this)->CreateContents();
    }

    return m_pContents->GetContentsForAppending(); 
}

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