From: Alexander Peshkov (peshkov@renderx.com)
Date: Tue Jul 29 2003 - 04:05:28 PDT
Hello Irmen,
As I already mentioned before, borders for table-header, table-footer and
table-rows works only in border-collapse='collapse' mode. So the behavior
you are expecting will be available in XEP when it implements such a mode.
Drawing those borders in border-collapse='separate' mode (currently
used by XEP) is contradictory to XSL FO spec.
In your particular case if you don't want to place borders on every
cell in a table header, you can create two additional rows above and
below actual header and place in every such row one table-cell that
spans all columns. Those cells will carry necessary border attributes
and thus you will have desired visual effect.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
idjen> Hello
idjen> We have the same problem as Els van Trigt reported in
idjen> http://xep.xattic.com/lists/xep-support/1200.html
idjen> No border lines are rendered on the table-header and table-footer and
idjen> table-column.
idjen> We are currently evaluating XEP and we need this functionality for our
idjen> documents.
idjen> In your reply to Els van Trigt it was suggested to put the borders on the
idjen> individual cells,
idjen> but this will generate a lot more XML and won't suffice if a row does not
idjen> contain all
idjen> cells (the border line will be incomplete).
idjen> (for your information: Apache FOP 0.20.4 renders the borders correctly,
idjen> but we have other issues with that product that made us look at XEP)
idjen> Will this be fixed in a new XEP?
idjen> Regards,
idjen> Irmen de Jong
idjen> Everest b.v.
idjen> P.S. The XSL-FO file we're using is as follows:
idjen> <?xml version="1.0" encoding="UTF-8"?>
idjen> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
idjen> xmlns:fox="http://xml.apache.org/fop/extensions">
idjen> <fo:layout-master-set>
idjen> <fo:simple-page-master margin-bottom="10mm" margin-left="25mm"
idjen> margin-right="25mm"
idjen> margin-top="10mm" master-name="onePage" page-height="297mm"
page-width="210mm">>
idjen> <fo:region-body margin-bottom="25mm" margin-left="0mm"
idjen> margin-top="30mm" region-name="body"/>
idjen> </fo:simple-page-master>
idjen> <fo:page-sequence-master master-name="normalPages">
idjen> <fo:repeatable-page-master-alternatives>
idjen> <fo:conditional-page-master-reference
idjen> master-reference="onePage" page-position="first"/>
idjen> <fo:conditional-page-master-reference
idjen> master-reference="onePage" page-position="rest"/>
idjen> </fo:repeatable-page-master-alternatives>
idjen> </fo:page-sequence-master>
idjen> </fo:layout-master-set>
idjen> <fo:page-sequence master-reference="normalPages">
idjen> <fo:flow flow-name="body">
idjen> <fo:block color="black" font-family="Helvetica"
idjen> font-size="10pt" font-style="normal" font-weight="normal">
idjen> <fo:block color="black" font-family="Helvetica"
font-size="12pt">>Titel</fo:block>
idjen> <fo:table border-bottom-color="red"
idjen> border-bottom-style="solid"
idjen> border-bottom-width="0.1mm" border-top-color="blue"
idjen> border-top-style="solid"
idjen> border-top-width="0.1mm" keep-together="always"
idjen> space-before="10pt"
idjen> table-layout="fixed" width="100%">
idjen> <fo:table-column column-number="1"
idjen> column-width="proportional-column-width(30)"/>
idjen> <fo:table-column column-number="2"
idjen> column-width="proportional-column-width(30)" border-left-color="yellow"
idjen> border-left-style="solid" border-left-width="0.1mm" padding="1pt"/>
idjen> <fo:table-column column-number="3"
idjen> column-width="proportional-column-width(30)"/>
idjen> <fo:table-column column-number="4"
idjen> column-width="proportional-column-width(10)"/>
idjen> <fo:table-header border-bottom-color="green"
idjen> border-bottom-style="solid" border-bottom-width="0.1mm" padding="1pt">
idjen> <fo:table-row>
idjen> <fo:table-cell
padding="1pt">><fo:block>aap</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>noot</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>mies</fo:block></fo:table-cell>
idjen> </fo:table-row>
idjen> </fo:table-header>
idjen> <fo:table-footer border-top-color="purple"
idjen> border-top-style="solid" border-top-width="0.1mm" padding="1pt">
idjen> <fo:table-row>
idjen> <fo:table-cell
padding="1pt">><fo:block>aap</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>noot</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>mies</fo:block></fo:table-cell>
idjen> </fo:table-row>
idjen> </fo:table-footer>
idjen> <fo:table-body>
idjen> <fo:table-row>
idjen> <fo:table-cell
padding="1pt">><fo:block>aap</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>noot</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>mies</fo:block></fo:table-cell>
idjen> </fo:table-row>
idjen> <fo:table-row>
idjen> <fo:table-cell
padding="1pt">><fo:block>aap</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>noot</fo:block></fo:table-cell>
idjen> <fo:table-cell
padding="1pt">><fo:block>mies</fo:block></fo:table-cell>
idjen> </fo:table-row>
idjen> </fo:table-body>
idjen> </fo:table>
idjen> </fo:block>
idjen> </fo:flow>
idjen> </fo:page-sequence>
idjen> </fo:root>
idjen> -------------------
idjen> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
idjen> in the body of the message to majordomo@renderx.com from the address
idjen> you are subscribed from.
idjen> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
-------------------
(*) 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 - 04:04:46 PDT