Hi! I've downloaded PoDoFo trunk rev. 1598 and had to apply some changes to get it compiled under WIN7 VS2008. I've asked Dominik to review and commit the changes, as we used to, but he is quite busy in the moment. So I ask somebody on the list (perhaps zyx) to do this. These are the changes:
* PdfEncrypt.cpp: I have introduced an new define PODOFO_HAVE_OPENSSL.
If this is not set, all of the encyption functionality is removed and
openssl-lib is not needed. The CreatePdfEncrypt-members return NULL in this
case and the return of GetMD5String is not used. As I do not work with CMake
under Windows/VS2008 and only adapt .vcproj, please introduce this define in
CMakeLists.txt
* PdfExtension.h: Return type of getLevel changed to pdf_int64, as the
member variable is also pdf_int64
* PdfFiltersPrivate.cpp: VS2008 spits on #pragma GCC, therefore
removed with #ifndef _MSC_VER
* PdfIdentityEncoding.h/cpp: Argument of GetUnicodeValue und return of
GetCIDValue changed from long to pdf_utf16be
* PdfImage.cpp: Included PdfFiltersPrivate.h, this eliminates the
manual declaration of jpeg_memory_src. In LoadFromJpegData jpeg_memory_src
is used instead of jpeg_mem_src, to be independend of new API-function
introduced in Jpeg9-library
* PdfSigIncMemDocument.cpp: Removed collision between windows and
jpeg-headers
* PdfSigIncSignatureField.cpp: Was implicitly dependend on
Jpeg-library. Now if PODOF_HAVE_JPEG is not defined, NULL will be returned
as image
Thanks in advance
Uli
PoDoFoPatch for 1598.patch
Description: Binary data
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
