My use case is to compare and identify differences between 2 ppt’s. All differences in style, text, anchor positions, text alignment etc needs to be identified. I am using groupdocs 19.10.
I have a valid purchased license.
In my testing, i have noticed that if an element on the ppt is moved ( like an image got moved or a line got moved) etc the difference is not reported. Is there a specific method in the ComparisonSettings class that i should call?
I am comparing Test Sample 1 ppt with Test Compare PPT. you can notice that the position of the text “Welcoming Folks. This is a test to check if PPT’s match” is different between the 2 PPT’s.
I have attached the result page as well. It does not seem to recognize that the position of the text rectangle is different.
Also, I found this method in an older version.
settings.setMovedContentDetection. This method is depricated in the latest version.
Thanks for sharing the details. We are investigating this scenario (detect element position changings). Your investigation ticket ID is COMPARISONJAVA-764. As there is any update, you’ll be notified.
Thanks. Please let is know once this is available.
Quick Question : Is there a method to get the values of the element that are different?
Lets say in PPT1, Text is “Hello” and in the second PPT text in the same location is “Hello…”, Is there a method using which I can get both the values “Hello” and “Hello…” as they are different.
When you compare two PPTX files with different content (irrespective of the location), you will see the difference in the output. Please have a look at these source, target and output.zip (86.4 KB) files. Source file has “Hello”, target file has “Hello…” and the output clearly shows the difference in the form of inserted or deleted items.
However, my requirement is that some differences are ok (numerical values) and should pass the check. In my wrapper, I want to be able to iterate through the differences and determine at run time, if the differences are Ok to pass.
Hope my requirement is clear.
Yes, this would help. However, are these methods/classes available for PPT Comparison in Java? i cant seem to find them in Groupdocs-Comparision 19.10 jar.
Also is there any minimum system requirement for this product? We are trying to compare 2 ppt of 40 slides and we are running into out of memory issues !
There is no specific system requirements. However, you can adjust your system resources as per the processing you are going to perform. Because document comparison relies on multiple factors. For instance, PPTX documents with a lot of images, clip arts, tables may take more time and resources while comparison as compare to simple text based PPTX. Have a look at the basic system requirements. Again, it depends on you how much hardware resources you can manage. Of course, more resources (e.g. memory) will help to perform complex document comparison.