Didn’t find the answer.
Can I implement conditional text processing based on mailMerge in the latest versions of Aspose.Words for Java?
I mean something like this. In the MSWord template I have the following text:
IF ()
END IF
If the condition is true, the text that follows it (paragraphs, tables, images etc.) is included in the document output. If the condition is false, the no text is added to the output.
The сondition may look like this:
{ MERGEFIELD someValue} > 3
{ MERGEFIELD someValue } = 3
etc.
And, of course someValue can be one of the values of a collection or a nested collection, implemented by IMailMergeDataSource.