PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Pages aren't being detected in specific pdf http://forum.pdfsharp.com/viewtopic.php?f=3&t=3902 |
Page 1 of 1 |
Author: | zaryk [ Mon Jan 14, 2019 4:55 pm ] |
Post subject: | Pages aren't being detected in specific pdf |
Reporting an Issue Here Incorrect 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 Behavior Should find 26 pages. When saving, should still have 26 pages. Actual Behavior Finds 1 page. If saved, will only have 1 page. Steps to Reproduce the Behavior Providing IssueSubmission. GDI: https://github.com/empira/PDFsharp/files/2737828/IssueSubmission.zip PDFXplorer 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) |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |