W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2003

vertical rukes

From: Christian Brugeron <christian@barzoi.fr>
Date: Tue, 29 Jul 2003 07:38:06 +0200
To: <www-xsl-fo@w3.org>
Message-ID: <BB4BD4DE.E3D3%christian@barzoi.fr>

Hello,

I'm new to this list, and searched the archives.

I want to have a rule (vertical leader) between 2 blocks of a 2 columns
layout. I want this ruler to diseappear when I want a span-all block.

Xsl formatter has FO examples with their extensions that I was not able to
make at work with a XSL transformation producing about the same fo file.

Is there anything I missed?

Is there another way? I was thinking of a left border on the blocks, with
necessary padding to simulate a column gap, but how do I suppress the left
border of the left block?


I enclose the FO I produce first and the Antenna House example.

Thanks to all

My FO:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en"
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
    <fo:layout-master-set>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="PageMaster">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body column-count="1" border-style="none"
border-width="thin" margin-top="20mm" margin-left="0mm" margin-right="0mm"
margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="page2">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body axf:column-rule-style="solid"
axf:column-rule-width="thick" axf:column-rule-color="#BBFFBB"
column-count="2" column-gap="20mm" border-style="none" border-width="thin"
margin-top="20mm" margin-left="0mm" margin-right="0mm"
margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="page3">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body axf:column-rule-style="groove"
axf:column-rule-width="0.25in" axf:column-rule-color="#BBFFBB"
column-count="3" border-style="none" border-width="thin" margin-top="20mm"
margin-left="0mm" margin-right="0mm" margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence master-reference="page2">
        <fo:flow flow-name="xsl-region-body">
            <fo:block font-size="14pt" text-align="justify">
                <fo:block space-after="0.5em">
Another area in which we expect to see a strong need for XSL is layout and
PDF conversion of XML data.
</fo:block>
                <fo:block space-after="1em">XML format is being adopted by
corporations at an increasing rate as the preferred format for data,
including order data, exchanged within an organization, as well as between
corporations.
</fo:block>
                <fo:block space-after="1em">
While XML is appropriate for computers to exchange data, for people to see
and use the data, it must be presented in a clear and understandable format.
In this area, many dedicated form-printing tools have been available for
years.
</fo:block>
                <fo:block space-after="1em">
By combining XSL and XSLT, however, it is now possible to output your XML
data in any way you want, and in various layouts. By using the XSL
technology, you can present data from a single source in a wide variety of
forms and easily.
</fo:block>
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
    <fo:page-sequence master-reference="page3">
        <fo:flow flow-name="xsl-region-body">
            <fo:block font-size="13pt" text-align="justify">
                <fo:block space-after="1em">
Another area in which we expect to see a strong need for XSL is layout and
PDF conversion of XML data.
</fo:block>
                <fo:block space-after="1em">XML format is being adopted by
corporations at an increasing rate as the preferred format for data,
including order data, exchanged within an organization, as well as between
corporations.</fo:block>
                <fo:block space-after="1em">
While XML is appropriate for computers to exchange data, for people to see
and use the data, it must be presented in a clear and understandable format.
In this area, many dedicated form-printing tools have been available for
years.</fo:block>
                <fo:block space-after="1em">By combining XSL and XSLT,
however, it is now possible to output your XML data in any way you want, and
in various layouts. By using the XSL technology, you can present data from a
single source in a wide variety of forms and easily.</fo:block>
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
</fo:root>






Antenna example


<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en"
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
    <fo:layout-master-set>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="PageMaster">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body column-count="1" border-style="none"
border-width="thin" margin-top="20mm" margin-left="0mm" margin-right="0mm"
margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="page2">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body axf:column-rule-style="solid"
axf:column-rule-width="thick" axf:column-rule-color="#BBFFBB"
column-count="2" column-gap="20mm" border-style="none" border-width="thin"
margin-top="20mm" margin-left="0mm" margin-right="0mm"
margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-height="140mm" page-width="210mm"
margin-top="10mm" margin-left="20mm" margin-right="20mm"
margin-bottom="10mm" master-name="page3">
            <fo:region-before border-style="none" border-width="thin"
extent="15mm"/>
            <fo:region-body axf:column-rule-style="groove"
axf:column-rule-width="0.25in" axf:column-rule-color="#BBFFBB"
column-count="3" border-style="none" border-width="thin" margin-top="20mm"
margin-left="0mm" margin-right="0mm" margin-bottom="20mm"/>
            <fo:region-after border-style="none" border-width="thin"
extent="15mm"/>
        </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence master-reference="page2">
        <fo:flow flow-name="xsl-region-body">
            <fo:block font-size="14pt" text-align="justify">
                <fo:block space-after="0.5em">
Another area in which we expect to see a strong need for XSL is layout and
PDF conversion of XML data.
</fo:block>
                <fo:block space-after="1em">XML format is being adopted by
corporations at an increasing rate as the preferred format for data,
including order data, exchanged within an organization, as well as between
corporations.
</fo:block>
                <fo:block space-after="1em">
While XML is appropriate for computers to exchange data, for people to see
and use the data, it must be presented in a clear and understandable format.
In this area, many dedicated form-printing tools have been available for
years.
</fo:block>
                <fo:block space-after="1em">
By combining XSL and XSLT, however, it is now possible to output your XML
data in any way you want, and in various layouts. By using the XSL
technology, you can present data from a single source in a wide variety of
forms and easily.
</fo:block>
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
    <fo:page-sequence master-reference="page3">
        <fo:flow flow-name="xsl-region-body">
            <fo:block font-size="13pt" text-align="justify">
                <fo:block space-after="1em">
Another area in which we expect to see a strong need for XSL is layout and
PDF conversion of XML data.
</fo:block>
                <fo:block space-after="1em">XML format is being adopted by
corporations at an increasing rate as the preferred format for data,
including order data, exchanged within an organization, as well as between
corporations.</fo:block>
                <fo:block space-after="1em">
While XML is appropriate for computers to exchange data, for people to see
and use the data, it must be presented in a clear and understandable format.
In this area, many dedicated form-printing tools have been available for
years.</fo:block>
                <fo:block space-after="1em">By combining XSL and XSLT,
however, it is now possible to output your XML data in any way you want, and
in various layouts. By using the XSL technology, you can present data from a
single source in a wide variety of forms and easily.</fo:block>
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
</fo:root>
Received on Tuesday, 29 July 2003 01:50:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT