Reporting an Issue HereIncorrect number of pages found in a particular pdf.
More Info:Pages aren't being detected in specific pdf. It only brings back 1 page, but there are 26 pages. I have tried debugging. It looks like the issue is related to the retrieval of iref. Based on what I am seeing, 8 0 R is the 1 page it is retrieving, then I believe 123 0 R are the additional pages which has kids inside of kids, but it looks like the iref value is null so it is removed during removetrailing. As a result, PageCount is 1 and number of page elements is 1.
Expected BehaviorShould find 26 pages. When saving, should still have 26 pages.
Actual BehaviorFinds 1 page. If saved, will only have 1 page.
Steps to Reproduce the BehaviorProviding IssueSubmission.
GDI:https://github.com/empira/PDFsharp/files/2737828/IssueSubmission.zipPDFXplorer layout:using podofobrowser as an example of what PDFSharp is finding:
using podofobrowser as an example of what PDFSharp is finding after saving in Adobe Reader (NOTE: Posted wrong screenshot, will change later, but after saving in Adobe Reader, it looks to have the 26 pages)