[xep-support] Problem when using block-container with absolute-position="fixed" in static content

From: Mattias Moltkesson <mattias.moltkesson@itello.se>
Date: Thu Sep 17 2009 - 11:48:50 PDT

Hi!

I'm having a problem with disappearing block-containers in static
content when the block-containers absolute-position is "fixed" and the
page has a reference-orientation other than 0. The problem is
demonstrated by the FO below. Am I doing something wrong, or is XEP to
blame?

Regards,
/MM

<fo:root>
    <fo:layout-master-set>

        <!-- Page-master with reference-orientation 0 -->
        <fo:simple-page-master master-name="ref-0-page"
page-width="210mm" page-height="297mm"
                               margin="0.7cm 2cm 0.7cm 2cm"
reference-orientation="0">
            <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
            <fo:region-before extent="3cm" display-align="before"/>
            <fo:region-after extent="2cm" border-top="0.25pt"
border-top-style="solid"/>
        </fo:simple-page-master>

        <!-- Page-master with reference-orientation 90 -->
        <fo:simple-page-master master-name="ref-90-page"
page-width="210mm" page-height="297mm"
                               margin="0.7cm 2cm 0.7cm 2cm"
reference-orientation="90">
            <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
            <fo:region-before extent="3cm" display-align="before"/>
            <fo:region-after extent="2cm" border-top="0.25pt"
border-top-style="solid"/>
        </fo:simple-page-master>
        
        <fo:page-sequence-master master-name="page-seq">
            <fo:single-page-master-reference
master-reference="ref-0-page"/>
            <fo:repeatable-page-master-reference
master-reference="ref-90-page"/>
        </fo:page-sequence-master>

    </fo:layout-master-set>

    <fo:page-sequence master-reference="page-seq">
        
        <fo:static-content flow-name="xsl-region-before">
            <fo:block-container absolute-position="fixed">
                <fo:block>
                    Text in a block-container with
absolute-position="fixed". Disappears if the
                    simple-page-master has a reference-orientation other
than 0.
                </fo:block>
            </fo:block-container>
        </fo:static-content>

        <fo:static-content flow-name="xsl-region-after">
            <fo:block-container absolute-position="absolute">
                <fo:block>
                    Text in a block-container with
absolute-position="absolute". Works fine regardless of
                    reference-orientation.
                </fo:block>
            </fo:block-container>
        </fo:static-content>
        
        <fo:flow flow-name="xsl-region-body">
            <fo:block>
                reference-orientation=0.
            </fo:block>

            <fo:block page-break-before="always">
                reference-orientation=90.
            </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/terms-of-service.html
Received on Thu Sep 17 12:11:09 2009

This archive was generated by hypermail 2.1.8 : Thu Sep 17 2009 - 12:11:16 PDT