Hello,
so I have a problem with pdf converted from docx not preserving its original page number (more appropriately section number) in footer. The third section of my document (page 7) starts with 4 instead of 1 even though the original document has it marked as page 1. I’ve attached said document below (most of the contents are removed for confidentiality, but header/footer are preserved). no other modification is done other than saving the file to pdf. any help would be much appreciated, thanks.
Code used to save to stream (C#):
doc.Save(outStream, SaveFormat.Pdf)
example.docx (170.5 KB)
Edit: so I tried to save it back to docx, and page number are preserved just fine. is this a bug? if so, then is there any way to temporarily fix this issue from my end? thanks