Setting correct page style in report

Hi,

in my report template I have defined two styles, one for the first page (with an extended company header) and a default page style for all other pages.
The problem now is, that if for example I just insert an address at the top with

<for each="line in address.splitlines()">
<line>
</for>

the exported report only shows the default page style. However, if I insert the address without splitlines it correctly shows the first page style on the first page.
Am I missing something here? Or is it not possible to correctly use different page styles from the odt templates?
Thanks for your help.

This is probably because the ODT store the style on the first paragraph that is removed by the <for each>. So you should probably leave a first empty paragraph before it.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.