On Mar 22, 2007, at 23:11, Daniel Noll wrote:
Andreas L Delmelle wrote:
I just tried with FOP Trunk, and it seems to work correctly...
Can you give a bit more context? Where exactly are you specifying
it? Note that text-decoration does not apply to an fo:inline. If
you need to apply underline to only a portion of text in an
fo:block, you can use an fo:wrapper.
Makes you wonder why they even have <fo:inline> in XSL if you can't
even use font properties on it. :-)
Well, funny thing is that most font properties /do/ apply to an
fo:inline, along with border and background which is what they're
mostly used for. An fo:wrapper is normally used to specify bundles of
inherited properties for its descendants.
It is a strange situation, though, because text-decoration is a non-
inherited property. It defines its own particular inheritance. So one
could argue that fo:wrapper is actually being abused here... but it
works, nonetheless. :-)
Since one cannot set borders through an fo:wrapper, if one wanted
borders *and* underline on an inline sequence, this would make it
necessary to write:
<fo:block>
....
<fo:inline border="0.5pt solid black">
<fo:wrapper text-decoration="underline">
...
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]