Free Support Forum - aspose.com

Improve and bugfix compare

Dear Aspose team,
We have conducted several tests of your Document.Compare Method (Version: 18.8) and can provide samples of text and paragraphs that do not compare correct.
We would like to engage and work with you to improve and fix the issues of the compare function, but don’t know how to best engage/proceed.
Could you pls. let us know who to work with on your side and/or whether this channel is the right way?
Thanks in advance
Kind regards
Anders

@kks4bed3,

Thanks for your inquiry. You can ask your queries in this forum (Aspose.Words’ forum).

Please ZIP and attach your input Word documents here for testing. We will investigate the issue on our side and provide you more information.

Attached pls. find to comparisons illustrating misbehaviour of the outcome.

Looking forward to hearing your response.
Kind regards
Anders

Example 1)

Error 1: The text “See lines 110-111” is moved down from residing under section (b) -> to section ©
Error 2: The text “Stowaways:” shows up both deleted and inserted even though it was unchanged from the original

Example 2)

Error 1: The text “20. Law and Arbitration … (a)* London: This Charter Party shall be governed by English law and any dispute …” is both deleted and inserted even though it was unchanged in the original.

Aspose compare errors.zip (75.7 KB)

@kks4bed3,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issues at our side. For the sake of correction, we have logged these problems in our issue tracking system as WORDSNET-17323 and WORDSNET-17324. You will be notified via this forum thread once these issues are resolved.

We apologize for your inconvenience.

Sounds good - thanks. Meantime we also have an improvement we would like to be added to your feature list. Could you therefore please consider adding separation of line numbers from the other formatting?
In essence we ask for a new parameter to the function to “Ignore Line Numbers” separated from “Ignore Formatting”. This way we retain control over fonts etc. while showing line numbers.

@kks4bed3,

Thanks for your inquiry. Please note that Aspose.Words mimics the behavior of MS Word. The compare dialog has not option “Ignore Line Numbers”. Please check the attached screenshot. However, you can use CompareOptions.IgnoreFormatting to ignore formatting.

Thanks, and understood, but we need separating line numbers from formatting and would like to hear your views on making this distinction.

@kks4bed3,

Thanks for your inquiry. Could you please share some more detail about your query along with input and expected output documents? We will then provide you more information on it.

Enclosed please find zip illustrating the issue.

“original” is without line numbers.
“changes” has added line numbers, inserts and special formatting
“result ignore formatting” shows that the line numbers are gone in the result
“result not ignore formatting” shows line numbers, inserts and special formatting

We would like a new option “Ignore Line Numbers” in order to produce a result that ignore formatting but keep the line numbers.

Hope it make sense.

Line numbers - result not ignore formatting.zip (44.6 KB)

On a more general remark. We are trying to make a business decision re. whether to use Aspose.Compare in our solution. Our problem is knowledge of how you prioritise our requests and thereby when they will be resolved. How do we best work closer with you?
We are willing to upgrade to paid support if that does the trick and need your input to how this eventually would change our position?
Thanks
Anders

@kks4bed3

Thanks for your inquiry. We have logged this feature request as WORDSNET-17371 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

Great thanks. Could you also reply to my message on “paid support”?

@kks4bed3

Thanks for your inquiry. You reported this issue in the free support forum and it will be treated with normal priority. To speed up the progress of issue’s resolution, we suggest you please check our paid support policies from following link.
Paid Support Policies

Could you please share your expected output Word document here for our reference? This will help us to investigate the issue. Thanks for your cooperation.

@kks4bed3,

Regarding WORDSNET-17371, we would like to suggest the following settings. Please check and let us know if this solution is acceptable for you?

options.Target = ComparisonTargetType.New; // Formatting will be used from the changed document.
options.IgnoreFormatting = true;

Thanks for your cooperation.