Ritendra Mall

Ritendra Mall

  • NA
  • 316
  • 33.3k

Create a Word File using Open XML in c#

May 16 2020 7:48 AM
Hello,
 
Thanks in advance, i want to create an c# application in which if i pass json data at runtine that should be saved in word format below are the more details :-
 
 
Queries     // this is json object "Queries" inside this there is one more object named as Query & inside it we                         have  our entities .
-Query
-CName
-Overview
-CKill
-Usage
-ACR
-KeyStep
-Tag
 
Value's should be passed at runtime time and below is format in which this json data should be save in word format --
 
 
 
And if the Title Tag is name is same then the data should be add on the same table for ex:-
 
 I've passed following details 
-CName -- ABC
-Overview-- XYZ
-CKill -- ASD
-Usage -- 23-39
-ACR -- $200k
-KeyStep -- XYZ
-Tag -- Strategic Planning 
 
this should be add to the above mentioned table format but if i pass the differnent data with SAME tag nam -"Strategic Planning "  instead of creating the new table it should use the  Strategic Planning table and add the data in new row but if the user pass different tag then is should create a table format .
 
The whole thing should be done using OPEN XML in c#.
 
Please advise me how i can accomplish this task .
 
Thank you  please let me know if you required any more details .
 
Thanks  
 

Answers (1)