When adding a table in word document font size and name is not kept


#1

Hello,

We have a problem with the new Aspose.Words update.

With the latest 2 builds (aspose.words.18.7.0 and aspose.words.18.6.0) the style from the table is not passed to the current document.
In the “TableDocument.docx” the table is formatted as Calibri (11) but in the final document is Times New Roman(10).

Version 17.4 does not have this issue.

In the attachment there is a project that reproduce the issue. If you put the dll files in “Aspose Check\WebApplication2\Aspose” folder the table from the second page from the output file “Aspose Check\WebApplication2\File\Test.docx” will have the incorrect format.

Thank you.

Aspose Check.zip (508.6 KB)


#2

@adrian.anton,

Thanks for your inquiry. We have tested the scenario using following code example 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-17186. You will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.

Document OneParagraph = new Document(MyDir +  "OneParagraphDocument.docx");

Document Table = new Document(MyDir + "TableDocument.docx");
OneParagraph.AppendDocument(Table, ImportFormatMode.KeepSourceFormatting);
 
OneParagraph.Save(MyDir + "18.7.docx");

#3

Hello,

I see that the issue Status is Closed. Can you provide additional info? We do not have access in your ticketing system.

Thank you.


#4

@adrian.anton,

Thanks for your inquiry. Our issue tracking system is not public. You cannot access it.

Yes, this issue has been resolved. Its fix will be available in September 2018 release. We will inform you via this forum thread once it is published.


#5

The issues you have found earlier (filed as WORDSNET-17186) have been fixed in this Aspose.Words for .NET 18.9 update and this Aspose.Words for Java 18.9 update.