RE: [xep-support] On XSL FO and reporting of unexpected behavior

From: Peter Kester <peter.kester@daidalos.nl>
Date: Wed Sep 27 2006 - 06:44:45 PDT

Hello David,

Thanks for your sample fo file on side floats.
I have another question. We have a lot of content in lists. We want to place some of those contents in a side float.
That works well as long as the content does not sit in the first line of the list-item
I've taken your sample and changed it a bit to show you what we get.

As you can see in the fo that I put below the first side float should start on the first line of the list-item.
If you look at the attached PDF it starts at the second line. What do I have to do to let the float start at the first line?

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
   <fo:layout-master-set>
       <fo:simple-page-master master-name="default-page">
           <fo:region-body/>
       </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="default-page">
       <fo:flow flow-name="xsl-region-body" start-indent="25mm" end-indent="0pt">
            <fo:block>
         <fo:list-block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" space-after.optimum="1em" space-after.minimum="0.8em" space-after.maximum="1.2em" provisional-label-separation="0.2em" provisional-distance-between-starts="1.0em" id="d0e51">
            <fo:list-item space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" id="d0e52">
               <fo:list-item-label end-indent="label-end()">
                  <fo:block>•</fo:block>
               </fo:list-item-label>
               <fo:list-item-body start-indent="body-start()">
        <fo:block>+<fo:float float="start">
        <fo:block-container background="red" width="21mm">
        <fo:block>
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        </fo:block>
        </fo:block-container>
        </fo:float> ++++++++ ++ +++++++++++++ +.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        
        <fo:float float="start" clear="both">
        <fo:block-container background="blue" width="21mm">
        <fo:block>
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        * ******* **** ************ **** **.
        </fo:block>
        </fo:block-container>
        </fo:float>
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        + +++++++ ++++ ++++++++++++ ++++ ++.
        </fo:block>
               </fo:list-item-body>
            </fo:list-item>
            </fo:list-block>
            </fo:block>
       </fo:flow>
   </fo:page-sequence>

Kind regards,

Peter Kester

   
 
Ing. P.A. Kester
Senior Consultant
 
 

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984

De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
 

Van: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] Namens David Tolpin
Verzonden: zaterdag 22 januari 2005 11:42
Aan: xep-support@renderx.com
Onderwerp: Re: [xep-support] On XSL FO and reporting of unexpected behavior

Hi Eliot,

in this and the previous message, you describe behavior that seems to
you not corresponding to your expectations; and you declare it buggy.
However,

1) you don't provide complete XSL FO source examples that demonstrate
the bugginess of the behavior
2) your explanations are contradictory, contain typos (what is the
second block following the first float in the text below) and do not
provide enough detail to guess.

In particular, in the attached example, the floats behave exactly as
expected.

Subscribers of XEP-support mailing list, both users of XEP and RenderX
engineers, are ready to answer each other's questions. But in asking a
question, things acceptable from a user of XEP and XSL FO, trying to
master a technology new for them, are not from you as the
representative of a member of W3C in XSL Working Group.

In the future, please provide short examples illustrating behavior that
puzzles you so that we can explain what is happening.

David Tolpin

-------------------
(*) 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 Wed Sep 27 06:55:48 2006

This archive was generated by hypermail 2.1.8 : Wed Sep 27 2006 - 06:55:49 PDT