From: Chen, Cindy \(C\)\(STP\) (Cindy.Chen@guidant.com)
Date: Fri Oct 22 2004 - 08:13:33 PDT
> Your overflow= is not being specified on either an
> absolutely-positioned
> block-container or on a perimeter region specification.
I have tried all of these, it seems none of them worked. I have attached my full FO at the end of the email.
>
> 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.
That's what I want to achieve so far. I would like the text to just show for the given length.
Thanks,
Cindy
-----------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="all-pages" page-width="7in" page-height="11in">
<fo:region-body region-name="xsl-region-body" margin="0.7in" column-gap="0.25in" border="0.25pt solid gray" padding="6pt"/>
<fo:region-before region-name="xsl-region-before" extent="0.7in" display-align="after" padding="6pt 0.7in" overflow="hidden"/>
<fo:region-after region-name="xsl-region-after" extent="0.7in" display-align="before" padding="6pt 0.7in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="all-pages">
<fo:static-content flow-name="xsl-region-before" overflow="hidden">
<fo:block-container inline-progression-dimension="2.5in" overflow="hidden" absolute-position="absolute">
<fo:block wrap-option="no-wrap" inline-progression-dimension="2in">
Header long text here here here here here here here here here here here here here here here here here here here here here here here here here here
</fo:block>
</fo:block-container>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block>footer</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>
content
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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
This archive was generated by hypermail 2.1.5 : Fri Oct 22 2004 - 08:34:17 PDT