It follows a series of patches with miscellaneous crash fixes and
improvements to the API. Most of them should be straightforward.
On some enums I added a convenience "Unknown" value following the
convention often found in Podofo that Unknown=0xff. This is helpful
for me when casting to other private enums that I use which follow
convention Unknown=0. Also I added a convenience .editorconfig file.
Francesco Pretto (13):
Fix msvc source group for podofo project headers
PdfMemDocument::Load: Fix wrong use of memcpy instead of wmemcpy
PdfPainter: Removed unneed cast
PdfAnnotation: Added SetRect
PdfPagesTree::InsertPage: Fix "atIndex" is really a 0-based index
PdfAnnotation: Removed duplicated set rect on constructor
EPdfDataType: Apply 0xff convention on unknown enum value
PdfDictionary: Added efficient TryGetKey method
PdfPage: Added SetMediaBox method
PdfVariant: Added SetString method
EPdfPageSize: Added convenience Unknown value using the 0xff
convention
Added .editorconfig
PdfDictionary: Added support for range iteration
.editorconfig | 11 +++++++++++
src/CMakeLists.txt | 16 +++++++++-------
src/base/PdfDefines.h | 6 ++++--
src/base/PdfDictionary.cpp | 23 +++++++++++++++++++++++
src/base/PdfDictionary.h | 28 ++++++++++++++++++++++++++--
src/base/PdfVariant.h | 25 +++++++++++++++++++++++++
src/doc/PdfAnnotation.cpp | 12 ++++++++----
src/doc/PdfAnnotation.h | 7 ++++++-
src/doc/PdfMemDocument.cpp | 2 +-
src/doc/PdfPage.cpp | 13 +++++++++----
src/doc/PdfPage.h | 5 +++++
src/doc/PdfPagesTree.cpp | 8 ++++----
src/doc/PdfPainter.cpp | 2 +-
13 files changed, 132 insertions(+), 26 deletions(-)
create mode 100644 .editorconfig
--
2.16.1.windows.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users