Cell's width is changed after conversion from MHT to DOCX/PDF using .NET

Hi guys,
just facing simple issue with following code and attached document:

var document = new Aspose.Words.Document(@"c:\temp\test_cut.docx");
document.UpdateTableLayout(); // has no effect
document.Save(@"c:\temp\test.pdf", Aspose.Words.SaveFormat.Pdf);

When you open test_cut.docx in Word 2016, columns are correctly displayed.
Somehow 50/50 % width distribution.

BUT in produced PDF 1st column takes something like 90% of space.
Did i miss something?
Any idea?

Thanks and cheers!

test_cut.zip (62.4 KB)

@ondrej.hanak

There is no need to call Document.UpdateTableLayout method. Please use the latest version of Aspose.Words for .NET 19.9 to get the desired output. We have attached the output PDF with this post for your kind reference. 19.9.pdf (50.4 KB)

Hi Tahir,
thanks for quick response!
Please, could you check what is wrong with this one (MHTML):

test.zip (10.5 KB)

Thank you!

@ondrej.hanak,

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19221. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,
thank you!

Here you can find another docx example, which produces the same issue.

Summary

test_docx.zip (21.0 KB)

Thanks and cheers!

@ondrej.hanak,

We have logged this problem in our issue tracking system as WORDSNET-19223 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi guys,
it’s quite a long time…
Just checked with the newest Aspose.Words, but still the same result.
Why, please?

Thanks and cheers!

@ondrej.hanak

Unfortunately, the implementation your issues has been postponed (no estimate is available at the moment). We will inform you via this thread as soon as there is an update available on them.

We apologize for your inconvenience.

Hi @tahir.manzoor,
please, could you be more specific?
What is the problem with this issue?

Such table formatted content appears still more frequently these days.
And such result (attached) is quite badly accepted. :expressionless:

result.zip (256.5 KB)

Thank you and best regards!

@ondrej.hanak

Your issues are related to missing features WORDSNET-832 (Make table layout as close to Word as possible) and WORDSNET-19252 (Document settings in AW model do not match MS Word on loading mhtml).

After the fix of these features, we will look into your issues. We will be sure to inform you via this forum thread as soon as your issues are resolved. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-19221,WORDSNET-19223) have been fixed in this Aspose.Words for .NET 23.12 update also available on NuGet.