[xep-support] Table column size

From: Shane Helland <shelland@salaries.com>
Date: Tue Jan 04 2005 - 14:22:50 PST

I cannot seem to control the width of a table's columns. They are all
slightly too small. I've created a simple example. I include one
column and request that it be 9 inches, but when I display it, it comes
out as slightly less than 8.75 inches. I am using XEP 4.1. Am I not
specifying enough, the wrong thing, does the specification not support
this kind of control, or is this a problem with the renderer? Can
somebody show me how to get the renderer to give the exact column widths
I specify?

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fn="http://www.w3.org/2004/10/xpath-functions"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xdt="http://www.w3.org/2004/10/xpath-datatypes"
xmlns:xs="http://www.w3.org/2001/XMLSchema" font-family="Arial"
font-size="8pt">
    <fo:layout-master-set>
        <fo:simple-page-master master-name="default-page"
page-height="8.5in" page-width="11in" margin-left=".5in"
margin-right=".5in">
            <fo:region-body margin-top=".75in" margin-bottom=".5in"/>
            <fo:region-before extent=".75in"/>
            <fo:region-after extent=".5in"/>
        </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="default-page"
initial-page-number="1" format="1">
        <fo:flow flow-name="xsl-region-body">

<fo:block>This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. This is some example text that shows some wrapping on a wide
page. </fo:block>
       

<fo:table table-layout="fixed" width="0pt">
    <fo:table-column column-width="9in"/>
    <fo:table-body>
        <fo:table-row>
            <fo:table-cell border-style="solid" border-color="black"
border-width="1pt" >
                <fo:block>text here</fo:block>
            </fo:table-cell>
        </fo:table-row>
    </fo:table-body>
</fo:table>

        </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
Received on Tue Jan 4 15:00:13 2005

This archive was generated by hypermail 2.1.8 : Tue Jan 04 2005 - 15:00:14 PST