[xep-support] text-decoration line-through behaving the same as overline within list-block

Justin Lipton justin.lipton at exari.com
Mon Mar 1 18:20:13 PST 2010


Hi,
I've got some fo where I'm using a list block. The text within the list
block needs to have strikethrough applied.
To do this I've been using:
text-decoration="line-through"

e.g.
       <fo:list-block background-color="transparent" color="black"
line-height-shift-adjustment="disregard-shifts" margin-right="0cm"
provisional-distance-between-starts="36pt" space-after="0cm"
space-before="12pt" text-align="left">
        <fo:list-item relative-align="baseline">
          <fo:list-item-label end-indent="label-end()" start-indent="0pt">
            <fo:block color="black" font-family="&quot;Times New
Roman&quot;, Symbol, serif" font-size="12pt" font-weight="normal"
line-height="120%" line-height-shift-adjustment="disregard-shifts"
text-decoration="line-through">A.</fo:block>
          </fo:list-item-label>
          <fo:list-item-body start-indent="body-start()">
            <fo:block font-family="&quot;Times New Roman&quot;, Symbol,
serif" font-size="12pt" font-weight="normal" id="Paragraph_0"
line-height="120%" line-height-shift-adjustment="disregard-shifts"
text-decoration="line-through"> and  wish to exchange certain information,
which may include confidential, sensitive or proprietary
information.</fo:block>
          </fo:list-item-body>
        </fo:list-item>
      </fo:list-block>

However, it appears that with xep 4.9, when used within a list-block
text-decoration="line-through" and text-decoration="overline" produce the
same output (text-decoration="underline" works correctly).
I've tried this wrapprng the text in an inline and applying the
text-decoration there instead of the clock level too.
Any guidance as to how I can get the strikethrough working within the
list-block would be appreciated.

I'm attaching a test case and its PDF output.


Regards,

Justin Lipton

Exari Systems
Boston | London | Melbourne | Munich
Test drive our software online - www.exari.com/demo-trial.html
Read our blog on document assembly - blog.exari.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20100302/99158df7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strikethrough.fo
Type: text/x-xslfo
Size: 4974 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20100302/99158df7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strikethrough.pdf
Type: application/pdf
Size: 3778 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20100302/99158df7/attachment.pdf>


More information about the Xep-support mailing list