Line spacing is not kept while converting sfdt to word

Hi,

I am using Syncfusion.EJ2.DocumentEditor in asp.net mvc to convert sfdt files to word (docx files) but in document editor (vue js) I set line-spacing to "single" and when I try to convert the sfdt generated by the editor to word, the line-spacing "double" is back.

This is the code used for the conversion : 
Stream document = WordDocument.Save(sftdString, FormatType.Docx);

In attachement I put the sfdt text, the word output of the conversion and how it's displayed in the editor.

I'm using the latest (v18.4.43) version on both vue js and asp.net

Best regards,
Guillaume ANDRES



Attachment: bug_interligne_b9f006f0.zip

11 Replies 1 reply marked as answer

KB Kurthis Banu Abdul Majeeth Syncfusion Team February 19, 2021 09:57 AM UTC

Hi Guillaume, 

We tried to reproduce the reported issue by provided steps. When exporting the provided Sfdt in server side, single line spacing is exported as 1.5 and not double. Currently, we are validating this issue and we will get back to you with validation details by February 23,2021. 

Please check below screenshot for reference: 
 

Please check the server-side code snippet which we have tried and attached the exported word document for reference: 
Code Snippet: 
public string ExportSFDT([FromBody]SaveParameter data) 
             
Stream document = Syncfusion.EJ2.DocumentEditor.WordDocument.Save(data.content, Syncfusion.EJ2.DocumentEditor.FormatType.Docx); 
   
string path = System.Web.HttpContext.Current.Server.MapPath("~/App_Data/"); 
FileStream file1 = new FileStream(path+ "/LineSpacing2.docx", FileMode.OpenOrCreate, FileAccess.ReadWrite); 
document.CopyTo(file1); 
document.Close(); 
             
return "Sucess"; 
 
public class SaveParameter 
  public string content { get; set; } 
 




Please let us know if you have any questions. 

Regards, 
Kurthis Banu A. 





KB Kurthis Banu Abdul Majeeth Syncfusion Team February 25, 2021 03:41 AM UTC

Hi Guillaume,  

Please ensure it last update. We need additional timeline for this reported issue validation. we will update the further details by Feb 26,2021. 

Regards,   
Kurthis Banu A.   



KB Kurthis Banu Abdul Majeeth Syncfusion Team February 27, 2021 02:20 PM UTC

Hi Guillaume,  

We have considered the reported scenario as bug and logged defect report. Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on March 17, 2021. Once included, will update you. You can track the status from the below feedback.     


Regards, 
Kurthis Banu A. 



KB Kurthis Banu Abdul Majeeth Syncfusion Team March 17, 2021 04:20 PM UTC

Hi Guillaume,   

Sorry for inconvenience caused.  

We regret for not including the fix for the reported issue in our latest weekly NuGet release (18.4.0.48) We will include it in our next weekly NuGet release which scheduled on March 24,2021.      

The status of this bug task can be tracked through the below link:   

Regards,     
Kurthis Banu A.   



KB Kurthis Banu Abdul Majeeth Syncfusion Team March 25, 2021 04:34 PM UTC

Hi Guillaume,    

We are not possible to include the fix for reported issue in our latest patch release.  

We will include the fix in our next Ej2 patch release which is tentatively scheduled on April 7,2021. If we fixed earlier, we will provide custom package with fix March 31,2021. 


You can track the status of bug through below feedback link:    


Regards, 
Kurthis Banu A. 



KB Kurthis Banu Abdul Majeeth Syncfusion Team March 31, 2021 04:01 PM UTC

Hi Guillaume,    
 Sorry for inconvenience caused.   
We will include the fix in our next Ej2 patch release which is tentatively scheduled on April 7,2021.  
You can track the status of bug through below feedback link:     

Regards,  
Kurthis Banu A.  



KB Kurthis Banu Abdul Majeeth Syncfusion Team April 8, 2021 07:56 AM UTC

Hi Guillaume,   

We are deeply regret the inconvenienced caused. We are not possible to include the fix in our latest patch release. Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on April 14, 2021. Once included, will update you. You can track the status from the below feedback.      

Regards,   
Kurthis Banu A.   



KB Kurthis Banu Abdul Majeeth Syncfusion Team April 8, 2021 08:41 AM UTC

Hi Guillaume,    

We resolved issue in below custom package. For now, we had created custom package for that issue. Kindly check it.  

Custom package:   
 
Steps:   
   
  1. Extract the custom package from above link.
  2. Copy the items inside the folder.
  3. Then go to the sample location and then navigate to the folder node_modules\@syncfusion. You can see the ej2-documenteditor folder.
4.       Then paste it inside the ej2-documenteditor folder.     
5.       Then build and run the project.    
 
Note: Please don’t give npm install or npm update .it will refresh the whole package.  
  
Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on April 14, 2021. Once included, will update you. You can track the status from the below feedback.       
  
Please let us know if you have any questions.  

Regards,  
Kurthis Banu A.  



GA Guillaume ANDRES April 8, 2021 03:39 PM UTC

Hi Kurthis, 

I've just tested your fix and it works well! Thank you for your help. 

I'm very excited for the upcoming release. 

Best regards,
Guillaume ANDRES


KB Kurthis Banu Abdul Majeeth Syncfusion Team April 8, 2021 03:49 PM UTC

Hi Guillaume,    

Thank you for your update. 

Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on April 14, 2021. Once included, will update you. You can track the status from the below feedback.       

Regards,    
Kurthis Banu A.  



KB Kurthis Banu Abdul Majeeth Syncfusion Team April 14, 2021 12:02 PM UTC

 Hi Guillaume,   

We are glad to announce that our patch release (v19.1.56) is rolled out successfully and In that release, we have added the fix for reported issue.         
      
Please upgrade to the latest version packages to resolve this issue.               

You can track the status of bug through below feedback link:      
     
Please let us know if you have any questions.  

Regards,  
Kurthis Banu A.  


Marked as answer
Loader.
Up arrow icon