The following FO-document displays a three-column table with a single row and 
three table-cells. The last table-cell should display "John" italic and bold. 
However, using AWT Preview of FOP 0.94 (MIME_FOP_AWT_PREVIEW) just 
displays "John" plain vanilla. Using AWT Preview of FOP 0.20.5 outputs "John" 
as expected.

Beat Hoermann



<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

<fo:layout-master-set>
   <fo:simple-page-master master-name="A4" page-width="210mm"
                page-height="297mm" margin-top="1cm" margin-bottom="0.5cm">
   <fo:region-body margin-left="2.4cm" margin-top="3.1cm"
                margin-right="1.2cm" margin-bottom="1.5cm" />
      <fo:region-before extent="5cm" />
      <fo:region-after  extent="1cm" />
      <fo:region-start  extent="2.4cm" />
      <fo:region-end    extent="1.2cm" />
   </fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="A4">
   <!-- Page Content -->
   <fo:flow flow-name="xsl-region-body">

      <fo:table table-layout="fixed" >
         <fo:table-column column-width="6.4cm" />
         <fo:table-column column-width="0.5cm" />
         <fo:table-column column-width="10.5cm" />
         <fo:table-body font-family="Arial, sans-serif" font-size="8pt">
            <fo:table-row>
               <fo:table-cell>
                  <fo:block>
                     Person Data
                  </fo:block>
               </fo:table-cell>
               <fo:table-cell><fo:block />
               </fo:table-cell>
               <fo:table-cell>
                  <fo:block>
                     <fo:inline>
                        Name:
                     </fo:inline>
                     <fo:inline font-style="italic" font-weight="bold">
                        John
                     </fo:inline>
                  </fo:block>
               </fo:table-cell>
            </fo:table-row>
         </fo:table-body>
      </fo:table>

   </fo:flow>
</fo:page-sequence>
</fo:root>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to