corymickelson / NoPoDoFo

node pdf native bindings
GNU Affero General Public License v3.0
26 stars 6 forks source link

Array at reference fails #75

Closed corymickelson closed 6 years ago

corymickelson commented 6 years ago

When an array item is an indirect object, and that indirect is not available from the object owner vector, it fails.

corymickelson commented 6 years ago

Add Ref return type on this type of failure. This is not an optimal solution, but a work around for the time being. Documentation needs to be updated to reflect this work around. Added getObject on BaseDocument to resolve Array.at when owner is null