Re: [xep-support] floats

From: Dave Pawson <dave.pawson@gmail.com>
Date: Sun Jul 08 2007 - 08:17:29 PDT

I'm equally confused with the before floats.

AH and xep seem to process them differently?

AH places them on the same page,
xep drops them down a page!

Again, I'm missing some reference as to which is 'correct', according
the the rec.

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
      <fo:simple-page-master
          master-name="only"

          margin-top="2.5cm"
          margin-bottom="2.5cm"
>
        
                <fo:region-body
            region-name="xsl-region-body"
            border="thin black solid"
            />

        <fo:region-before
            region-name="xsl-region-before"
            extent="0.7in" />

        <fo:region-after
            region-name="xsl-region-after"
            extent="0.7in" />

      </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence
        master-reference="only">

      <fo:static-content flow-name="xsl-before-float-separator">
        <fo:block background-color="silver" font-size="10pt"
                  text-align-last="justify">
        before-float separator <fo:leader leader-pattern="rule"/>
        </fo:block>
        </fo:static-content>

        <fo:static-content
          flow-name="xsl-region-before">
      </fo:static-content>

        <fo:flow flow-name="xsl-region-body" >

              <fo:float float="before">
                <fo:block space-after="1em" background-color="silver"
                  font-style="italic">This is float content assigned to the
                before float area. </fo:block>
              </fo:float>
          <fo:block font-family="Helvetica" font-size="12pt">Body content</fo:block>
      </fo:flow>
    </fo:page-sequence>
   </fo:root>

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
-------------------
(*) 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 Sun Jul 8 08:47:28 2007

This archive was generated by hypermail 2.1.8 : Sun Jul 08 2007 - 08:47:29 PDT