I am a paid customer of Aspose. I am facing issue with conditional expressions. There are some conditional expressions in the source document attached below, which will be evaluated on the basis of dynamic value. I researched on Aspose.words api but could not found any useful solution that I can implement.
I have attached my source template and output document below.
Can you please suggest the best possible way to implement this using Aspose.words api ?
Below are the information regarding source template and output document.
Source template Information:
In this document, properties and property types are used where properties are Property state, Property_County, judgment_hearing_date, principal_balance etc
which is placed inside the curly braces. Property types are DT and BR. Application identifies the property on the basis of property type and evalute its value.
Output Document Information:
Use the below mentioned dynamic values:
Property state = “AL”
Property_County = “Monroe"
judgment_hearing_date = “5/6/2020”
principal_balance = “50,000”
P1 = false
P2 = true
- Is Source template format correct ? If not please update it into correct format and send me.
- Once template format is correct, please provide the .net source code for how can we get all the properties along with its types from source template. Then pass the values (as provided the fixed values above).
- Execute the expressions then provide the final output as mentioned in Output document.
Sorce_and_Output document.zip (30.0 KB)