Peter Williams
502836666d
Merge remote-tracking branch 'upstream/v3' into render.v3
2018-07-21 21:20:39 +10:00
Gunnsteinn Hall
5b1b9bd504
PdfObjectArray change to struct and receivers added Elements, Get, Set, Len. Fixes to resulting broken code.
2018-07-15 17:52:53 +00:00
Gunnsteinn Hall
fc15ef442a
Cleaning up crossreferences - Unexporting, renaming, improving documentation
...
parser.Trace renamed to parser.Resolve
2018-07-14 14:07:33 +00:00
Gunnsteinn Hall
dcf9262bf6
Unexport ModelManager
2018-07-14 03:07:24 +00:00
Gunnsteinn Hall
14ee80e1fe
Preserve and allow output of hexadecimal strings
...
Refactored PdfObjectString into a struct with bool flag for hex. Fixed any code broken by the change.
Unexported non-essential functions for crypto (not used by model). Can unexport more later or refactor to internal package.
2018-07-14 02:25:29 +00:00
Peter Williams
638c3557ce
Exposed PDF version reporting to callers
2018-06-28 11:37:57 +10:00
Armen Boursalian
6613014adf
Fix #131 : Return error on pageNumber = 0
2017-12-11 16:13:21 -08:00
Gunnsteinn Hall
3261689684
Add GetObjectNums
2017-08-05 00:56:05 +00:00
Gunnsteinn Hall
5f506b7427
Fix fuzzy problems with crossrefs and add a recursive loop guard in reader (page building). Added test cases for these issues.
2017-07-21 14:12:37 +00:00
Gunnsteinn Hall
71807ecfa4
Exposed a reader function to check access rights. Fixed incorrect bit name for AccessPermissions (LimitPrintQuality->FullPrintQuality). Fix in owner password authentication. Closes #51 .
2017-07-12 09:48:16 +00:00
Gunnsteinn Hall
10c3be8c95
Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56 .
2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
b75541dcf8
Fix in AddContentStreamByString which had problems with certain PDFs.
2017-07-01 21:56:59 +00:00
Gunnsteinn Hall
57e576344c
Annotations fix
...
https://github.com/unidoc/unidoc/issues/41
2017-04-21 12:08:58 +00:00
Gunnsteinn Hall
f36575d3e4
Expanded support for forms, refactoring.
2017-04-19 12:05:20 +00:00
Gunnsteinn Hall
c2ff40c564
Simple function to get encryption information; cleanup
2017-03-08 16:54:40 +00:00
Gunnsteinn Hall
e8c0a4be98
Export trailer dict from reader
2017-03-02 12:50:45 +00:00
Gunnsteinn Hall
9247f5d954
Add Trace log level and change Debug to Trace where appropriate. Add log levels to Console logger.
2017-02-28 12:16:46 +00:00
Gunnsteinn Hall
80fa077d15
1) Fix trailer dict parsing bug, 2) Get Read/Write OCProps, 3) Read/Write Page Resource Properties
2017-02-15 14:21:20 +00:00
Gunnsteinn Hall
f6ffa2aa33
Support for LZW stream decoding. Support for content streams with inline images.
2017-02-12 21:37:07 +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
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
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
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
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