RE: [xep-support] WG: Graphic with text before and after the graphic on one page

From: David Pirkle <david.pirkle@symyx.com>
Date: Fri Nov 11 2005 - 13:14:56 PST

I'm new to XSL-FO, and was hoping that it would be a good tool for
addressing issues such as these. Sadly, though it seems to offer some
advancement in optimizing layout for pagination, I'll have to say I was
disappointed in how limited it is in this regard. Now I'm just looking
for any good solution, proprietary or not. Once I learned about the XEP
intermediate file, that at least gave me some ray of hope. Since the FO
standard isn't solving these problems, I'm willing to accept proprietary
mechanisms, and I guess that's even a good opportunity for vendors to
distinguish themselves from the competition.

Have you RenderX guys considered doing more along the lines of this
iterative layout approach that the intermediate file enables? I could
imagine a page overflow triggering a callback to the application, which
can then reformat the section that has overflowed and hand it back to
XEP. I'm sure there are a lot of complications I haven't even begun to
see, but any kind of tools in this area are, for me at least, very high
value.

-----Original Message-----
From: owner-xep-support@renderx.com
[mailto:owner-xep-support@renderx.com] On Behalf Of Eliot Kimber
Sent: Friday, November 11, 2005 7:12 AM
To: xep-support@renderx.com
Subject: Re: [xep-support] WG: Graphic with text before and after the
graphic on one page

uwe.goersch@lhsystems.com wrote:
>
> Hello, I would like to insert on one page a graphic with a text part
> above the graphic and a text part under the graphic. All text parts
> and the graphic must be on one page. Depending on how much text
> exists, the size of the graphic must be adapted accordingly. The size
> of the graphic and the text passages can be differently big.

There is no way to do this in one pass with XSL-FO because FO, by
design, does not provide this type of "layout aware" processing.

You could do it in two passes by rendering it the first time, capturing
XEP's intermediate file, examining that to see how much space the text
took up, and from that, calculate the size for the graphic and then
re-render the document, setting the graphic size.

In general, FO does not provide any features for doing this sort of copy

fitting, beyond the ability to specify minimum and maximum values for
things like space-before/after (which would allow a renderer some
flexibility in trying to keep things together, for example).

FO implementors may, of course, provide proprietary features to enable
more copy fitting.

Cheers,

Eliot

-------------------
(*) 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/terms-of-service.html

=======
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. or any of its affiliates or
subsidiaries that may be confidential, proprietary, copyrighted,
privileged and/or protected work product, and is meant solely for
the intended recipient. If you are not the intended recipient, and
have received this message in error, please contact the sender
immediately, permanently delete the original and any copies of this
email and any attachments thereto.

-------------------
(*) 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/terms-of-service.html
Received on Fri Nov 11 13:59:41 2005

This archive was generated by hypermail 2.1.8 : Fri Nov 11 2005 - 13:59:42 PST