PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Nov 10, 2024 7:17 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jan 14, 2019 4:55 pm 
Offline

Joined: Tue Nov 15, 2016 3:58 pm
Posts: 8
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:
Image

using podofobrowser as an example of what PDFSharp is finding:
Image

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)
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group