diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2016-03-15 16:33:22 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-04-19 18:30:40 +0100 |
commit | 1bbde93ba39613877ded2015965aaab2341d3d36 (patch) | |
tree | f2a4936de895c6ddc40deb7bc93ccfb66de514d3 /platform | |
parent | 335798189cbd40cd518ce49d1fa4c7eaa2811977 (diff) | |
download | mupdf-1bbde93ba39613877ded2015965aaab2341d3d36.tar.xz |
Add mutool merge
This commit adds a page merging tool. The tool demonstrates the
use of object grafting. The object grafting function recursively
goes through the object to add all referenced objects. A map is
maintained to ensure that objects that have already been copied are
not copied again.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/win32/libmupdf.vcproj | 8 | ||||
-rw-r--r-- | platform/win32/mutool.vcproj | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj index 384e27cf..a760821d 100644 --- a/platform/win32/libmupdf.vcproj +++ b/platform/win32/libmupdf.vcproj @@ -1186,6 +1186,10 @@ RelativePath="..\..\source\pdf\pdf-glyphlist.h" > </File> + <File + RelativePath="..\..\source\pdf\pdf-graft.c" + > + </File> <File RelativePath="..\..\source\pdf\pdf-image.c" > @@ -1373,6 +1377,10 @@ RelativePath="..\..\include\mupdf\pdf\font.h" > </File> + <File + RelativePath="..\..\include\mupdf\pdf\graft.h" + > + </File> <File RelativePath="..\..\include\mupdf\pdf\javascript.h" > diff --git a/platform/win32/mutool.vcproj b/platform/win32/mutool.vcproj index 9d16ada5..1bf3e485 100644 --- a/platform/win32/mutool.vcproj +++ b/platform/win32/mutool.vcproj @@ -486,6 +486,10 @@ RelativePath="..\..\source\tools\pdfextract.c" > </File> + <File + RelativePath="..\..\source\tools\pdfmerge.c" + > + </File> <File RelativePath="..\..\source\tools\pdfinfo.c" > |