[xep-support] column spanning and spacing properties

Alexander Peshkov peshkov at renderx.com
Tue May 3 02:51:04 PDT 2005


Hello Geoff,

This is a limitation of XEP and it isn't likely to change in the
nearest time.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX

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

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

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

GL> Thanks,
GL> Geoff

GL> Example:

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

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

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

GL> </fo:root>

GL> -------------------
GL> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
GL> in the body of the message to majordomo at renderx.com from the address
GL> you are subscribed from.
GL> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) 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