unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.54k stars 250 forks source link

Add reader method for checking if the AcroForm needs repair #356

Closed adrg closed 4 years ago

adrg commented 4 years ago

This change is Reviewable

codecov[bot] commented 4 years ago

Codecov Report

Merging #356 into development will increase coverage by 3.85%. The diff coverage is 71.42%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #356      +/-   ##
===============================================
+ Coverage        52.58%   56.43%   +3.85%     
===============================================
  Files              236      236              
  Lines            45753    45774      +21     
===============================================
+ Hits             24060    25834    +1774     
+ Misses           18590    16608    -1982     
- Partials          3103     3332     +229     
Impacted Files Coverage Δ
model/reader.go 47.93% <71.42%> (+3.00%) :arrow_up:
internal/jbig2/document/segments/text-region.go 41.05% <0.00%> (+0.22%) :arrow_up:
...ernal/jbig2/document/segments/symbol-dictionary.go 38.49% <0.00%> (+0.23%) :arrow_up:
internal/jbig2/bitmap/bitmap.go 76.76% <0.00%> (+0.28%) :arrow_up:
model/writer.go 75.63% <0.00%> (+0.42%) :arrow_up:
internal/jbig2/document/segments/generic-region.go 47.75% <0.00%> (+1.18%) :arrow_up:
fdf/parser.go 40.27% <0.00%> (+1.38%) :arrow_up:
internal/jbig2/document/segments/kind.go 11.59% <0.00%> (+1.44%) :arrow_up:
contentstream/contentstream.go 76.36% <0.00%> (+1.81%) :arrow_up:
...ternal/jbig2/document/segments/page-information.go 45.79% <0.00%> (+1.86%) :arrow_up:
... and 47 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80d51c5...7bd2f1c. Read the comment docs.