[xep-support] Tables and Borders

Marian Schedenig schedenig.marian at gft.com
Tue Jul 19 08:06:40 PDT 2005


Hi,

I'm trying to create a table with a border around a single column:

               <fo:table space-before="1.0cm">
                  <fo:table-column background-color="#d0e8b4" 
border-after-color="#000000" border-after-style="solid" 
border-after-width="medium" border-before-color="#000000" 
border-before-style="solid" border-before-width="medium" 
border-end-color="#000000" border-end-style="solid" 
border-end-width="medium" border-start-color="#000000" 
border-start-style="solid" border-start-width="medium"/>
                  <fo:table-column background-color="#daf4f0"/>
                  <fo:table-body>
                     <fo:table-row>
                        <fo:table-cell>
                           <fo:block>
                              <fo:inline>aaaa</fo:inline>
                           </fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                           <fo:block>
                              <fo:inline>bbbb</fo:inline>
                           </fo:block>
                        </fo:table-cell>
                     </fo:table-row>
                     <fo:table-row>
                        <fo:table-cell>
                           <fo:block>
                              <fo:inline>cccc</fo:inline>
                           </fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                           <fo:block>
                              <fo:inline>dddd</fo:inline>
                           </fo:block>
                        </fo:table-cell>
                     </fo:table-row>
                  </fo:table-body>
               </fo:table>

However, when creating a PDF from this code with XEP, the column only 
has a border at the left and right edges, NOT at the top and bottom. I 
have the same problem with table rows, they only get borders at the top 
and bottom, but NOT the left and right edges. I've tried playing around 
with border precedences and collapse models, but without success. As far 
as I understand the FO specification, the above code should work?

Thx,
Marian.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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/terms-of-service.html



More information about the Xep-support mailing list