@ArunaAP If I understand correctly you are using Aspose.Words for Cloud. Could you please confirm. If so I will move your question into the appropriate forum.
As for LINQ Reporting Engine you can use the following syntax:
<<foreach [q in listOfQuestions]>>
<<if [q.QuestionType == “picklist”]>>
This is picklist question
<<elseif [q.QuestionType == “text”]>>
This is text question
<<else>>
This is default option
<</if>>
<</foreach>>
Here is the code to fill the document with data:
JsonDataSource ds = new JsonDataSource(@"C:\Temp\data.json");
Document doc = new Document(@"C:\Temp\in.docx");
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, ds, "listOfQuestions");
doc.Save(@"C:\Temp\out.docx");
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.