[xep-support] Space-before ignored and background color overlap?

From: i.de.jong@everest.nl
Date: Tue Jul 29 2003 - 06:05:15 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] Space-before ignored and background color overlap?"

    Hello
    We're having trouble understanding why XEP doesn't honour the space-before
    of the first
    block (the text is rendered at the top of the page, rather than 35mm
    down).
    Subsequent blocks are okay.

    Why is the first space-before ignored?

    Secondly, where is the red square with the text "Relative"? It appears to
    be
    hidden behind the yellow container (by looking at XEP's XML output).
    If we remove the yellow background of the outer block-container, it shows
    up.

    Thanks for any clarification,
       Irmen de Jong
       Everest b.v.

    PS. the FO used is as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fox="http://xml.apache.org/fop/extensions">
            <fo:layout-master-set>
                    <fo:simple-page-master master-name="onePage"
    margin-left="0mm" margin-right="0mm" margin-bottom="0mm" margin-top="0mm"
    page-width="210mm" page-height="297mm">
                            <fo:region-body region-name="body"
    margin-top="0mm" margin-bottom="0mm" margin-left="0mm"/>
                    </fo:simple-page-master>
                    <fo:page-sequence-master master-name="normalPages">
                            <fo:single-page-master-reference
    master-reference="onePage"/>
                    </fo:page-sequence-master>
            </fo:layout-master-set>
            <fo:page-sequence master-reference="normalPages">
                    <fo:flow flow-name="body">
                            <fo:block space-before="35mm">Just some
    text</fo:block>
                            <fo:block space-before="35mm">Just some more
    text</fo:block>
                            <fo:block-container position="absolute"
    left="10mm" top="240mm" height="50mm" width="100mm"
    background-color="yellow">
                                    <fo:block>Some text at a specific
    location</fo:block>
                                    <fo:block-container position="absolute"
    left="15mm" top="15mm" height="10mm" width="20mm" background-color="red">
                                            <fo:block>Relative</fo:block>
                                    </fo:block-container>
                            </fo:block-container>
                    </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



    This archive was generated by hypermail 2.1.5 : Tue Jul 29 2003 - 06:05:27 PDT