2009-08-27 09:34:23 UTC
Hi,
To accomplish this you can create a property value for the leading and then change that in the loop. E.g.
<set-property name="myleading" type="float" value="7.0"/>
<for-each loop-variable="x" sequence="1-10">
<paragraph leading="${myleading}">your paragraph[x] here</paragraph>
<set-property name="myleading" type="float" value="0.0"/>
</for-each>
Incidentally I'm not sure that "leading" is the right attribute - that defines the space between lines of text and will affect the spacing of all lines in the paragraph. You might want to look at the "spacing-before" attribute.
Regards
Martin