[Podofo-svn] SF.net SVN: podofo:[1397] podofo/trunk/tools/podofopdfinfo
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
From: <dom...@us...> - 2011-01-17 17:15:28
|
Revision: 1397 http://podofo.svn.sourceforge.net/podofo/?rev=1397&view=rev Author: domseichter Date: 2011-01-17 17:15:22 +0000 (Mon, 17 Jan 2011) Log Message: ----------- FIXED: Compilation with latest PdfDestination change Modified Paths: -------------- podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp podofo/trunk/tools/podofopdfinfo/podofopdfinfo.cpp Modified: podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp =================================================================== --- podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp 2011-01-17 17:13:24 UTC (rev 1396) +++ podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp 2011-01-17 17:15:22 UTC (rev 1397) @@ -141,10 +141,10 @@ sOutStream << "-"; sOutStream << ">" << pItem->GetTitle().GetString(); - PoDoFo::PdfDestination* pDest = pItem->GetDestination(); + PoDoFo::PdfDestination* pDest = pItem->GetDestination( mDoc ); if ( pDest ) { // then it's a destination - PoDoFo::PdfPage* pPage = pDest->GetPage(); + PoDoFo::PdfPage* pPage = pDest->GetPage( mDoc ); if( pPage ) sOutStream << "\tDestination: Page #" << pPage->GetPageNumber(); else Modified: podofo/trunk/tools/podofopdfinfo/podofopdfinfo.cpp =================================================================== --- podofo/trunk/tools/podofopdfinfo/podofopdfinfo.cpp 2011-01-17 17:13:24 UTC (rev 1396) +++ podofo/trunk/tools/podofopdfinfo/podofopdfinfo.cpp 2011-01-17 17:15:22 UTC (rev 1397) @@ -111,11 +111,11 @@ if(format.document) { - std::cout << "Document Info" << std::endl; - std::cout << "-------------" << std::endl; - std::cout << "\tFile: " << fName << std::endl; - myInfo.OutputDocumentInfo( std::cout ); - std::cout << std::endl; + std::cout << "Document Info" << std::endl; + std::cout << "-------------" << std::endl; + std::cout << "\tFile: " << fName << std::endl; + myInfo.OutputDocumentInfo( std::cout ); + std::cout << std::endl; } if(format.classic) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |