xsl fo - Get FOP to add space-before and space-after -



xsl fo - Get FOP to add space-before and space-after -

i have 2 paragraphs. how fop add together values of space-after attribute of first , space-before attribute of sec paragraph?

for example:

<fo:block space-after="20mm">text 1</fo:block> <fo:block space-before="20mm">text 2</fo:block>

i want space between 2 blocks 40mm instead of 20mm. tried .minimum, .optimum , space-after.conditionality="retain", nil seems work.

thanks help

you need utilize .precedence="force" sub-property, perchance on both space-after , space-before. otherwise, neighboring spaces collapse largest space of set (simplified rule).

the ".conditionality" sub-property omitting space first or lastly space on reference area (ex. page). not used resolve neighboring spaces.

xsl-fo fop

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -