[xep-support] column spanning and spacing properties

From: Geoff Levner <geoff@n-generate.com>
Date: Mon May 02 2005 - 03:56:59 PDT

I have a page with multiple columns: a block at the top of the page
that spans all the columns, followed by other blocks which do not.

Using XEP 4.3, the space-after of the first block (which spans all
columns) and the space-before of the second (which does not) are both
retained. Is this intentional? It was my understanding that the
transition from span "all" to span "none" should generate a new
reference area, and so discard the conditional spacing between the two
areas.

I will attach a simple XSL-FO file to illustrate...

Thanks,
Geoff

Example:

<?xml version="1.0" encoding="us-ascii"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

   <fo:layout-master-set>
     <fo:simple-page-master margin="30mm" master-name="front-page"
                           page-height="297mm" page-width="210mm">
       <fo:region-body column-count="2" column-gap="7.5mm"
                      margin-top="30mm"/>
     </fo:simple-page-master>
   </fo:layout-master-set>

   <fo:page-sequence master-reference="front-page">
     <fo:flow flow-name="xsl-region-body">
       <fo:block font-size="25.0pt" span="all" space-after="30pt">
        Flyer / Selling Sheet title
       </fo:block>
       <fo:block font-size="14pt" span="all" space-after="25pt">
        Headline text, Berkeley bold, 14pt. Hannibalem, annorum ferme
        novem, queril blandientem patri Hamil cari, ducereturcum, perfecto.
       </fo:block>
       <fo:block font-size="12pt" space-before="18pt">
        One day Ricky the magic Pixie went to visit Daisy Bumble in her
        tumbledown cottage. He found her in the bedroom. Roughly he grabbed
        her heavy shoulders pulling her down on to the bed and ripping off
        her...
       </fo:block>
       <fo:block font-size="12pt" space-before="18pt">
        'Old Nick the Sea Captain was a rough tough jolly sort of
        fellow. He loved the life of the sea and he loved to hang out down
        by the pier where the men dressed as ladies...
       </fo:block>
       <fo:block font-size="12pt" space-before="18pt">
        Lorem ipsum ades dolor sit consec atetuer adipiscing elit, sed diam
        nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat
        volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation
        ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
        consequat duis autem vel eum iriure.
       </fo:block>
       <fo:block font-size="12pt" space-before="18pt">
        Penguins, yes, penguins. What relevance do penguins have to the
        furtherance of medical science? Well, strangely enough quite a lot,
        a major breakthrough, maybe. It was from such an unlikely beginning
        as an unwanted fungus accidentally growing on a sterile plate that
        Sir Alexander Fleming gave the world penicillin. James Watt watched
        an ordinary household kettle boiling and conceived the potentiality
        of steam power. Would Albert Einstein ever have hit upon the theory
        of relativity if he hadn't been clever? All these tremendous leaps
        forward have been taken in the dark. Would Rutherford ever have
        split the atom if he hadn't tried? Could Marconi have invented the
        radio if he hadn't by pure chance spent years working at the
        problem? Are these amazing breakthroughs ever achieved except by
        years and years of unremitting study? Of course not. What I said
        earlier about accidental discoveries must have been wrong.
       </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
Received on Mon May 2 04:56:25 2005

This archive was generated by hypermail 2.1.8 : Mon May 02 2005 - 04:56:25 PDT