itext-dotnet
itext-dotnet copied to clipboard
StructTreeRoot element with null role , null ref bug with legacy pdf
trafficstars
legacy pdf documents with StructTreeRoot the first element contains null role is causing null object reference bug.
Hi @jorgeafc00h and thank you for your PR! Would you mind adding a unit test for it? We also require a signed Contributor's License Agreement before reviewing the PRs, would it be okay for you to sign it? You can contact me at alexey.subach[at]itextpdf.com to get a copy