[xep-support] floats

Dave Pawson dave.pawson at gmail.com
Sun Jul 8 08:17:29 PDT 2007


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



More information about the Xep-support mailing list