Aspose words hidden data

Aspose word we are using is Aspose word 18.12 .We use aspose.word to get word docucment and we save it to pdff.But pdf converted file is showing hidden data from the word source document.How can we tell word to not display hidden things before saving to pdf?We are a paid customer and we want a quick explanation for our customer.Please help

wordandconvertedpdf.zip (139.9 KB)
attached is the orginal word and convereted pdf. You can see the red line in the left side of converted pdf which is hidden in source document word.We want to know how we can make pdf as close to word for this particular document
This is the code
var wordDoc = new Aspose.Words.Document(fileName);
wordDoc.Save(newFileName, Aspose.Words.SaveFormat.Pdf);.

@philip.thomas,

Please also provide MS Word generated PDF file showing the correct output here for our reference.

Please also provide a comparison screenshot highlighting the problematic areas in Aspose.Words generated PDF document with respect to MS Word generated PDF document and attach it here for our reference. Please point out the exact problematic places for this issue. Thanks for your cooperation.

did you see the attached file in previous reply.See that word document.You can see the difference in word and in pdf.We were wondering why hidden track changes in word are displayed in pdf?How to handle that

I am attaching the word converted to pdf by aspose and also by office,so you can compare pdfs.We want to seewhy the left red bar comes only with asposewordsaveaspdf.zip (433.6 KB) .If you can give a quick feedback will be great,customer is waiting

AcceptAllRevisions() is the only solution you recommend or any other solution exist to handle the not accepted changes as it is when savingto pdf?

@philip.thomas,

Yes, you can either accept all “tracked changes” or reject them all before saving to PDF:

Document.AcceptAllRevisions();
Document.Revisions.AcceptAll();
Document.Revisions.RejectAll();

A post was split to a new topic: Excel hidden rows were incorrectly showing when saving as PDF