lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] help with orphan-control in xsl-fo


From: Vaclav Slavik
Subject: Re: [lmi] help with orphan-control in xsl-fo
Date: Sun, 17 May 2009 12:34:06 +0200

On Sun, 2009-05-17 at 03:36 +0000, Greg Chicares wrote:
>   table-layout="fixed" and width="auto", but auto-layout not supported

I silenced this warning by explicitly asking FOP to do what it falls
back to, i.e. use width=100%. Looking at the other tables in LMI's XSL
files, this seems to be the right thing to do to me.

=== modified file 'reg_d_individual.xsl'
--- reg_d_individual.xsl        revid:address@hidden
+++ reg_d_individual.xsl        2009-05-17 10:31:07 +0000
@@ -598,7 +598,7 @@
     <xsl:param name="logo_only"/>
     <xsl:param name="displaycontractlanguage"/>
     <xsl:param name="displaydisclaimer"/>
-    <fo:table table-layout="fixed" padding-after="2.5pt" font-weight="bold" 
font-size="13.0pt" font-family="sans-serif">
+    <fo:table table-layout="fixed" width="100%" padding-after="2.5pt" 
font-weight="bold" font-size="13.0pt" font-family="sans-serif">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="90mm"/>
       <fo:table-column column-width="50mm"/>
@@ -739,7 +739,7 @@
 
   <xsl:template name="plain-header">
     <xsl:param name="logo_only"/>
-    <fo:table table-layout="fixed" padding-after="2.5pt" font-weight="bold" 
font-size="13.0pt" font-family="sans-serif">
+    <fo:table table-layout="fixed" width="100%" padding-after="2.5pt" 
font-weight="bold" font-size="13.0pt" font-family="sans-serif">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="90mm"/>
       <fo:table-column column-width="50mm"/>

=== modified file 'variable_annuity.xsl'
--- variable_annuity.xsl        revid:address@hidden
+++ variable_annuity.xsl        2009-05-17 10:31:19 +0000
@@ -697,7 +697,7 @@
 
   <xsl:template name="standard-header">
     <xsl:param name="logo_only"/>
-    <fo:table table-layout="fixed" padding-after="2.5pt" font-weight="bold" 
font-size="13.0pt" font-family="sans-serif">
+    <fo:table table-layout="fixed" width="100%" padding-after="2.5pt" 
font-weight="bold" font-size="13.0pt" font-family="sans-serif">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="90mm"/>
       <fo:table-column column-width="50mm"/>


Regards,
Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]