We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Inserting Contents from Another Word Doc Loses Formatting

Hello,

This question actually combines two Syncfusion products: DocumentEditor (Vue.js), and FileFormats DocIO.

I'd like to design a way for my users to be able to build a table in the browser using SyncFusion's Vue.js Document Editor, which will then be inserted into a Word Doc template file replacing a wildcard placeholder piece of text. So far I have the first part complete and am successfully saving the generated browser-built table as a string in a table.

However when I take that SFDT string and convert it into a new Word Doc then insert that into the base Word Doc Template, the formatting for the inserted table is not maintained. See attached file for additional snips and examples of what is occurring.

Is there any method to keep that original formatting when inserting into the base Word Doc template file?

Thank you.


Attachment: Supporting_Documentation_b0dd3afb.7z

4 Replies

KM Kavitha Muralitharan Syncfusion Team March 28, 2023 04:01 PM UTC

Hi Doug,


At present, we are investigating this scenario and will provide an update with details by March 30, 2023. In the meantime, could you kindly share the Template document and a simple sample of the code you used on your end for further validation?


Regards,

Kavitha M




KM Kavitha Muralitharan Syncfusion Team March 30, 2023 12:05 PM UTC

Doug, could you kindly share the Template document and the sample with the used codes on your end for further validation?



DT Doug Thierjung March 30, 2023 04:35 PM UTC

Hello,


I realized I was running an older version of SF (19.x). Once I updated, this issue went away.


We can close to issue.


Thank you.



KM Kavitha Muralitharan Syncfusion Team March 31, 2023 05:04 AM UTC

Thanks for the update, Doug.

 

We are happy to hear that your issue has been resolved. Please get back to us if you need any other assistance. We would be happy to assist you as always.



Loader.
Up arrow icon