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

PdfPage * PoDoFo::PdfDocument::CreatePage ( const PdfRect rSize ) [inherited]

Creates a new page object and inserts it into the internal page tree. The returned page is owned by the PdfDocument and will get deleted along with it!

Parameters:
rSizea PdfRect spezifying the size of the page (i.e the /MediaBox key) in 1/1000th mm
Returns:
a pointer to a PdfPage object

Definition at line 222 of file PdfDocument.cpp.

References PoDoFo::PdfPagesTree::CreatePage().

Referenced by EncryptTest::CreatedEncrypedPdf(), PagesTreeTest::CreateTestTreePoDoFo(), and PoDoFo::Impose::PdfTranslator::impose().

{
    return m_pPagesTree->CreatePage( rSize );
}

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