[xep-support] overflow properly as "hidden"
G. Ken Holman
gkholman at CraneSoftwrights.com
Thu Oct 21 23:07:36 PDT 2004
At 2004-10-21 15:57 -0500, Chen, Cindy \(C\)\(STP\) wrote:
>According to XEP4.0 reference guide, "overflow" property is supported with
>following limitations:
>"Supported on absolutely positioned elements with fixed dimensions, and
>regions that host static content.
That seems pretty explicit as to where overflow= is supported.
>What I would like to achieve is to allow text to be truncated if the text
>overflows the reference area. So I defined block-container as:
> <fo:block-container inline-progression-dimension="2in"
> overflow="hidden">
Your overflow= is not being specified on either an absolutely-positioned
block-container or on a perimeter region specification.
Note that setting the inline-progression-dimension sets a new wrapping
length for the line, so text naturally wraps at the end of the
inline-progression-dimension. I believe you cannot ask XSL-FO 1.0 to
truncate at the *end* of a line, only at the after-edge of the area of a
given length.
Did you mean to say block-progression-dimension? Even so, you have yet to
specify the kind of area documented to support the overflow= property, so I
would not expect your snippet to work.
I hope this helps.
........................... Ken
--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
-------------------
(*) 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