Free Support Forum - aspose.com

Linked text box in source document corrupts NodeImporter result in destintation document

Hi,

Bug reproduction: NodeImporterWithEmptyTextBox.zip (116.9 KB)

When using NodeImporter to import a document into another one (as described here), if the source document has a linked textbox in it, the result is corrupted it seems.

In the attached reproduction, I have three variants of the source document with a red rectangle and a two textboxes, sometimes the two textboxes are linked together.The result of the merge is completely different (i.e. broken) when using the one with the linked textboxes.

Tested with v21.5.0

@dstj,

We have logged this problem in our issue tracking system. Your ticket number is WORDSNET-22298. We will further look into the details of this problem and will keep you updated here on the status. We apologize for your inconvenience.

@dstj,

Upon further investigation on WORDSNET-22298, we do not see that output documents with the linked textboxes are completely different from the document with non-linked textboxes: (see Output Screenshot.png (49.2 KB))

So, linked textboxes are still linked in the output. Please elaborate a bit more what is broken when using the one with the linked textboxes?

Strange…
This is what I get as result:
image.png (159.2 KB)

@dstj,

We have logged these details in our issue tracking system and will keep you posted here on any further updates.

@dstj,

Regarding WORDSNET-22298, can you please also provide version number and edition of MS Word application (File | Account | About Word/Office) that you’re using on your end? Please also provide the details of the operating system (OS) where MS Word is installed on your end.

Please also use 21.6 version of Aspose.Words for .NET to produce new outputs and share the generated DOCX files here for further testing on our end. Thanks for your cooperation.

With v21.6.0, both linked textbox test cases are corrupted (see image). Only the non-linked textbox test case is OK.

image.png (106.0 KB)

Word version: Microsoft® Word for Microsoft 365 MSO (16.0.14026.20202) 64-bit

@dstj,

Thanks for the additional information. Please also provide Aspose.Words 21.6 generated output DOCX files here for further testing on our end.

Here are all three result files:
result-with-empty-linked-textbox.docx (20.4 KB)
result-with-empty-non-linked-textbox.docx (20.4 KB)
result-with-non-empty-linked-textbox.docx (20.5 KB)

@dstj,

We have logged these details in our issue tracking system and will keep you posted here on any further updates.