[xep-support] Intrusion-displace in lists

Nikolai Grigoriev grig at renderx.com
Wed Apr 21 07:57:59 PDT 2004


Roxane,

> I try to render a list with labels of different sizes.  I want the body to be
> pushed out when the label is wider than the provisional-distance-between-starts.
> I have tried to set the intrusion-displace attribute on the list-block and the
> list-item but none seem to work.  The content of the label is automatically
> wrapped so I have set the wrap-option to no-wrap on the label with the
> consequence that the content of the label overlaps the body.

This cannot be achieved with lists; but you can do it with floats.
For each item, put your body into an ordinary fo:block, and wrap 
the label into a side float at the beginning of that block; specify 
intrusion-displace on the block to make it shrink as a whole. 
Something like this:

<fo:block intrusion-displace="block">
  <fo:float float="start">
    <fo:block>Your label here</fo:block>
  </fo:float>
  <fo:block>Your body here</fo:block>
</fo:block>

Best regards,
Nikolai Grigoriev
RenderX

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list