...
Where RTF Template A has header 1 defined as first header style and RTF Template B has Header 2 defined as first header style. That should give you the desired result of nesting header levels.
If package 2 and 3 need different RTF template as the layout is different then just add another Model Document with the Package 3 and another RTF template.
Make sure your model documents are ordered in the project browser to get the desired order.
...
Hi Sunshine,
Thank you for your response

We attempted your approach, and it works like a charm.
The challenge is to move Package 2 and Package 3 as children of Package1 and maintain separate templates for each package. So, based on trial and error, we created a single Document Model and referred it to Package 1 (now with child package 2 and 3) and also assigned a template (RTF Template A). The report generator used the Document Model's template and applied the template to all three packages.
If we take the approach provided -- each package is referenced by its Document Model and respective template -- then this approach works a charm. This approach works as long as each package is not nested.
Do you think this scenario (nested packages with assigned template) is impossible(?) to achieve without hard-coding scripts or designing templates and fragments? Hard-coding is always a terrible approach and breaks easily the moment the Browser order of packages change.
However, if this ability is merely not yet supported, I'm happy to log this as a feature request. Unfortunately, as I'm sure many have experienced, logging feature requests is like throwing a surprise party… for yourself! Better that than the zero response/acknowledgement from the Sparx team. It's a silly mindset given that active community feedback ought to be welcomed.
Such feedback drives improvements to the product that has induced countless episodes of Stockholm-Syndrome.