You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Peter Drivas <pe...@gexinc.com> on 2002/01/10 19:55:24 UTC

Indenting tables

Hi,

I'm trying to indent a table with the following XSL FO code using FOP-0.20.2. What I'm seeing is that the table contents are indented, but not the borders. Is this a known FOP issue?

XSL FO Code:
--------------------
         <fo:table start-indent="1.0in">
            <fo:table-column column-width="1.5in"/>
            <fo:table-column column-width="1.5in"/>
            <fo:table-column column-width="1.5in"/>
            <fo:table-header>
               <fo:table-row font-family="Helvetica" line-height="12pt" font-size="10pt" font-weight="bold" background-color="#000000">
                  <fo:table-cell border-right-style="solid" border-bottom-style="solid" border-width="1pt" border-right-color="white" padding-start="4pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>
                        <fo:inline color="white">col1</fo:inline>
                     </fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-right-style="solid" border-bottom-style="solid" border-width="1pt" border-right-color="white" padding-start="4pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>
                        <fo:inline color="white">col2</fo:inline>
                     </fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-right-style="solid" border-bottom-style="solid" border-width="1pt" border-right-color="black" padding-start="4pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>
                        <fo:inline color="white">col3</fo:inline>
                     </fo:block>
                  </fo:table-cell>
               </fo:table-row>
            </fo:table-header>
            <fo:table-body>
               <fo:table-row font-family="Helvetica" line-height="10pt" font-size="9pt" background-color="#FFFFFF">
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>Unlicensed Band</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>Frequency</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>Total Bandwidth</fo:block>
                  </fo:table-cell>
               </fo:table-row>
               <fo:table-row font-family="Helvetica" line-height="10pt" font-size="9pt" background-color="#FFFFFF">
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>Industrial, Scientific and Medical (ISM)</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>902-928MHz</fo:block>
                     <fo:block>2.4-2.4835GHz</fo:block>
                     <fo:block>5.725 - 5.85GHz</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>234.5MHz</fo:block>
                  </fo:table-cell>
               </fo:table-row>
               <fo:table-row font-family="Helvetica" line-height="10pt" font-size="9pt" background-color="#FFFFFF">
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>Unlicensed National Information Infrastructure (U-NII)</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>5.15-5.25GHz</fo:block>
                     <fo:block>5.25-5.35GHz</fo:block>
                     <fo:block>5.725-5.825GHz</fo:block>
                  </fo:table-cell>
                  <fo:table-cell border-top-style="solid" border-bottom-style="solid" border-right-style="solid" border-left-style="solid" border-width="1pt" padding-start="5pt" padding-top="3pt" padding-bottom="3pt" display-align="before">
                     <fo:block>300Mhz</fo:block>
                  </fo:table-cell>
               </fo:table-row>
            </fo:table-body>
         </fo:table>