Missing Revision information for PDF files

Hi Team,

I am comparing two files using a Python library. When comparing PDF files, no revision information is available. However, for .docx files, we can retrieve the revision information. Is this feature not available for PDF files?
PythonCode_compare.zip (4.1 KB)

@munish.singla

Can you please specify which Aspose library you are using for comparing PDF files and if you are looking for a specific type of revision information?

@munish.singla Could you please elaborate? Do you mean revision in the output PDF document? If so, this is an expected behavior, because PDF document does not have such feature as revisions.

In addition, please note, Aspose.Words is designed to work with MS Word documents. MS Word documents are flow documents and they have structure very similar to Aspose.Words Document Object Model. But on the other hand PDF documents are fixed page format documents. While loading PDF document, Aspose.Words converts Fixed Page Document structure into the Flow Document Object Model. Unfortunately, such conversion does not guaranty 100% fidelity.