I’m using the Aspose.Words.Reporting library in Version 21.5.
We use a word template which consists of a table with two colums:
Column 1 displays the heading which is only supposed to show if values in an array are existing.
<<if [...]>> <<foreach [...]>>
Column 2 then displays the result of the array.
<<[...]>> <</foreach>> <</if>>
This line of code is followed by more rows displaying different items.
The above structure itself works. If no entrires are part of the array, nothing is displayed. Unfortunately if that happens, the pdf shows a large white empty space and my assumption was that not even this space is shown.
The reason might be the table structure? Any possibility to fix that?