Hi,
I’m evaluating Aspose. I have a requirement that generate Word with a part will be displayed as Tree View like below:
- ABC
1.1 BCD
1.1.1 DEF
1.1.1.1 GEF
1.2 EFC - DBCD
2.1 ASASDAsd - DSFD
…
However, I don’t know how many level will be shown by default (can be 1 or 10 level). It will be loaded from DB. I tried with LINQ but can’t find an example to solve it.
I don’t want to use HTML for this case because it will dirty code with mixing between doc template and HTML stuff (style, padding, margin…).
Note: Every level will be padded a small gap deeper from its parent.
Is it possible to reach that target with Aspose template syntax (recursive or nested call…)?
Thanks,
Tu