We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Different structure of document for Merge Regions in v.10.2 and v.10.7

Hello,

Please see the following sample document.

If we analyze the structure of document during merging (with FieldMergingCallback) we see that the previous sibling for table is:

- for v.10.2: empty paragraph (concerning TableStart)

- for v.10.7: title paragraph (field "Title")

Please confirm that you have changed this logic between 10.2 and 10.7 and explain how to operate with TableStart and TableEnd paragraphs in the latest and future versions. Are such critical changes specified somewhere?

Best regards, Evgeniy

Hi Evgeniy,

Thanks for your query. It would be great, If you share your code for FieldMergingCallback to understand the issue in detail.

Hi Evgeniy,

Thanks for your request. Probably in your code you are using RemoveEmptyParagraphs option. In one of the most recent versions of Aspose.Words we improved behavior of this option so that the empty paragraphs generated by paragraphs with TableStart/TableEnd paragraphs were removed too. I suppose in your custom code you are doing the same. Am I right?

Best regards,

Hi Alexey,

Thanks a lot for the explanation. This is really our case.

Could you please be aware to indicate such changes as very important and place them in the Release Notes?

For us these changes got critical and broke the document layout.

Best regards, Evgeniy

Hi

Thanks for your request and sorry for inconvenience. This was a part of the fix of some issue. That is why this change was not highlighted enough in release notes. One more time sorry for inconvenience.

Best regards,