[SFDT] Is there any TypeScript type defining the shape of a SFDT object?

I have just implemented a feature that involves manipulating the SFDT of a Word document in order to make some changes to said document.
To do that, I needed to know the SFDT shape, so I just imported some Word documents to SFDT and looked into them.
Thing is, I wanted a somewhat more rigorous type.
Since the API to export a Word document to SFDT is written in both .Net and Java (both being typed languages), I imagine there is a type which defines the shape of a SFDT.
If there is such a thing, can anyone share it with me?

1 Reply 1 reply marked as answer

SM Suriya Murugan Syncfusion Team May 26, 2021 12:33 PM UTC

Hi Henrique, 

Syncfusion Greetings! 

Please check sfdt structure for below shape: 

 


 

You can manipulate above sfdt structure and modify it based on your requirement. 

Attached sfdt structure for your reference: 

Note: Manipulating sfdt structure and small minor mistake will affect the whole document loading. 

Please let us know if you have any questions. 

Regards, 
Suriya M. 



Marked as answer
Loader.
Up arrow icon