1153 Commits

Author SHA1 Message Date
Gunnsteinn Hall
302f0eaa1e Release version 1.1.0 2017-01-03 10:53:15 +00:00
Gunnsteinn Hall
5dce3be8de Add function to check if image resource name available 2017-01-03 10:51:39 +00:00
Gunnsteinn Hall
70492f77d5 Add back needed dependency 2016-12-13 21:42:27 +00:00
Gunnsteinn Hall
c6c4d83758 Change interface for get and add page (use PdfPage). Improvements to resource handling and manipulation. 2016-12-13 19:40:33 +00:00
Gunnsteinn Hall
36ba97ca37 Fix bug with stream in rare malformant PDF cases 2016-12-13 19:39:23 +00:00
Peter Williams
1e5bc37826 Some printf's to help me understand code 2016-12-12 11:19:50 +11:00
Peter Williams
d518f13b5d Expose version and xref table in reader. 2016-12-06 14:30:58 +11:00
Gunnsteinn Hall
8846983e79 Improved handling of un-referenced Parent objects in writer 2016-12-06 01:18:44 +00:00
Gunnsteinn Hall
9fe3c5a0b9 Improved annotation object handling (parsing and writing) 2016-12-05 16:21:23 +00:00
Gunnsteinn Hall
cc0bd7572f Reduce logging to stdout 2016-12-05 11:47:38 +00:00
Peter Williams
b37635e0f5 Made PDF output determistic by sorting dicts 2016-12-05 15:15:26 +11:00
Gunnsteinn Hall
af5ea0bd00 Improved outline handling (in progress)
Structure element currently scrapped.  Later to add support for that.
Then will fix the SE of the outline item.
Still a bit of testing and validation required.
2016-12-05 00:46:27 +00:00
Gunnsteinn Hall
a9621e8c0f Improved content stream parsing 2016-12-04 00:19:24 +00:00
Gunnsteinn Hall
a0a9fa6289 Fix for invalid crypto lengths (given in bits rather than bytes) for compatibility 2016-12-02 22:32:13 +00:00
Gunnsteinn Hall
eb1edeb73e Fix Inspect definition in reader following merge 2016-12-02 16:14:00 +00:00
Gunnsteinn Hall
1564f8ab06 Updates and fixes from master merged in 2016-12-02 15:17:19 +00:00
Peter Williams
14221ddede Merge remote-tracking branch 'upstream/master' 2016-11-30 17:21:59 +11:00
Gunnsteinn Hall
5978085d87 Updated object types to check for (javascript and videos) 2016-11-28 22:21:20 +00:00
Gunnsteinn Hall
651970ba56 Expose Inspect and return the list of object types 2016-11-28 14:54:38 +00:00
Peter Williams
f728d351fa added some hacks I needed for object extraction and watermarking 2016-11-21 09:47:56 +11:00
Gunnsteinn Hall
7efa7f5334 Fix for files with corrupted U in encryption dict (only log a warning instead of returning error) 2016-11-08 22:27:39 +00:00
Gunnsteinn Hall
42bd1bbded Change error log messages to debug 2016-10-31 21:48:25 +00:00
Gunnsteinn Hall
be156811fa Change log level from error to debug for invalid stream data 2016-10-31 12:13:10 +00:00
Gunnsteinn Hall
7186f78b9e Bug fix for pdf files created by google docs 2016-10-11 10:25:45 +00:00
Gunnsteinn Hall
f597d41d4c Better handling of Contents of Signature dictionary 2016-09-29 07:59:32 +00:00
Gunnsteinn Hall
0238457a11 Ignore null instances (bug fixes) 2016-09-17 00:41:56 +00:00
Gunnsteinn Hall
bf2f1056b1 Improved handling of annotations; added markup specific fields and RichMedia, Projections annotation supported. Some fixes for noncompliant pdf files. 2016-09-13 13:19:05 +00:00
Gunnsteinn Hall
ed354edd42 Integration of annotations and form field models 2016-09-13 09:51:57 +00:00
Gunnsteinn Hall
ff67cb30a8 Improvements on PDF annotation model (in progress) 2016-09-12 17:59:45 +00:00
Gunnsteinn Hall
e8b07540dd Clean up model and primitive relationship 2016-09-11 23:17:38 +00:00
Gunnsteinn Hall
94a571a7d0 Avoid repeated repair attempts 2016-09-09 17:09:20 +00:00
Gunnsteinn Hall
f358b3e26f Refactoring in progress
Currently compiles with tests, but not fully functional yet.
2016-09-09 15:02:52 +00:00
Gunnsteinn Hall
19fd98d667 Refactoring into core and model. (in process)
As the package was growing large, there is a need to clean up.  Testing
to refactor into a core (basic pdf parsing and primitive objects) and a
higher level model package.
2016-09-08 17:53:45 +00:00
Gunnsteinn Hall
873e296b28 Work on forms, annotations 2016-09-07 17:56:45 +00:00
Gunnsteinn Hall
f7e9886d47 work on annotation objects 2016-09-06 13:51:28 +00:00
Gunnsteinn Hall
09ab93a9e3 Work on annotations 2016-09-06 09:33:58 +00:00
Gunnsteinn Hall
24628a9b4f Working on annotations, forms 2016-09-05 09:57:16 +00:00
Gunnsteinn Hall
50cc03bcf9 Working on higher level handling of forms 2016-08-31 11:18:00 +00:00
Gunnsteinn Hall
57c617ca3e Field tree in progress 2016-08-29 13:09:49 +00:00
Gunnsteinn Hall
42346b53ea Fixes in page for user committed pdf files 2016-08-26 21:20:50 +00:00
Gunnsteinn Hall
20bffefb89 Support MediaBox and others with a referenced array 2016-08-25 17:26:38 +00:00
Gunnsteinn Hall
64a7328c3c Work on forms - definitions 2016-08-25 08:01:15 +00:00
Gunnsteinn Hall
34bf57a46d Start work on higher level Form integration 2016-08-24 09:13:08 +00:00
Gunnsteinn Hall
8adcb4e04f Support for parsing content streams and extracting text 2016-08-23 01:26:45 +00:00
Gunnsteinn Hall
4e3ed4eeb8 text extraction 2016-08-22 08:46:18 +00:00
Alfred Hall
69669545f5 Merge pull request #29 from unidoc/ud-26
Higher level Outline handling (UD-26)
2016-08-20 12:58:15 +00:00
Gunnsteinn Hall
1cdea5bff1 Clean up
Removed commented out GetOutlinesForPage function.  Useful for
splitting files but will feature  in a special splitter helper later
with a more complete support (tree structure).
2016-08-20 11:51:09 +00:00
Gunnsteinn Hall
ae85beecd0 Cleanup comment 2016-08-20 11:32:22 +00:00
Gunnsteinn Hall
e8ee7ca99f Clean up 2016-08-20 11:24:43 +00:00
Gunnsteinn Hall
307f1ef8e7 Add NewPage function to simplify page creation 2016-08-20 10:15:48 +00:00