Author: deepak
Date: Sat Nov 21 10:14:05 2015
New Revision: 1715493
URL: http://svn.apache.org/viewvc?rev=1715493&view=rev
Log:
(OFBIZ-6241) Fixed table-layout="auto" FOP warning. Used table-layout="fixed"
to fix the warning.
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl
ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.fo.ftl
ofbiz/trunk/applications/accounting/webapp/ap/reports/CommissionReport.fo.ftl
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl
ofbiz/trunk/applications/product/webapp/facility/facility/NotReadyToPick.fo.ftl
ofbiz/trunk/applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl
ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl
ofbiz/trunk/framework/widget/templates/foScreenMacroLibrary.ftl
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl
(original)
+++
ofbiz/trunk/applications/accounting/webapp/accounting/reports/CostCentersReport.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -18,7 +18,7 @@ under the License.
-->
<#escape x as x?xml>
<#if glAcctBalancesByCostCenter?has_content &&
glAccountCategories?has_content>
- <fo:table border="1pt solid" border-width=".1mm" width="19cm">
+ <fo:table table-layout="fixed" border="1pt solid" border-width=".1mm"
width="19cm">
<fo:table-header>
<fo:table-cell border="1pt solid" border-width=".1mm">
<fo:block
text-align="center">${uiLabelMap.FormFieldTitle_glAccountId}</fo:block>
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.fo.ftl
(original)
+++
ofbiz/trunk/applications/accounting/webapp/accounting/reports/GlAccountTrialBalanceReport.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -18,7 +18,7 @@ under the License.
-->
<#escape x as x?xml>
<#if glAcctgTrialBalanceList?has_content>
- <fo:table border="1pt solid" border-width=".1mm" width="19cm">
+ <fo:table table-layout="fixed" border="1pt solid" border-width=".1mm"
width="19cm">
<fo:table-column column-number="1" column-width="60%"/>
<fo:table-column column-number="2" column-width="40%"/>
<fo:table-header>
@@ -44,7 +44,7 @@ under the License.
</fo:table-row>
</fo:table-body>
</fo:table>
- <fo:table border="1pt solid" border-width=".1mm" width="19cm">
+ <fo:table table-layout="fixed" border="1pt solid" border-width=".1mm"
width="19cm">
<fo:table-column/>
<fo:table-column/>
<fo:table-column/>
Modified:
ofbiz/trunk/applications/accounting/webapp/ap/reports/CommissionReport.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ap/reports/CommissionReport.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/webapp/ap/reports/CommissionReport.fo.ftl
(original)
+++
ofbiz/trunk/applications/accounting/webapp/ap/reports/CommissionReport.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -92,7 +92,7 @@ under the License.
</fo:table>
<fo:block space-after="50pt"/>
<#if commissionReportList?has_content && totalQuantity?has_content &&
totalCommissionAmount?has_content && totalNetSales?has_content &&
totalNumberOfOrders?has_content>
- <fo:table font-size="14pt">
+ <fo:table table-layout="fixed" font-size="14pt">
<fo:table-body font-size="10pt">
<fo:table-row>
<fo:table-cell>
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
(original)
+++
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -81,7 +81,7 @@ under the License.
<#-- Components -->
<#if productionRunComponentsData?has_content>
- <fo:table width="22cm">
+ <fo:table table-layout="fixed" width="22cm">
<fo:table-column column-width="20%"/>
<fo:table-column column-width="40%"/>
<fo:table-column column-width="10%"/>
@@ -126,7 +126,7 @@ under the License.
<#-- Tasks -->
<#if productionRunRoutingTasks?has_content>
- <fo:table width="100%">
+ <fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="20%"/>
<fo:table-column column-width="30%"/>
<fo:table-column column-width="30%"/>
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl
(original)
+++
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -34,7 +34,7 @@ under the License.
<#assign index = 1>
<#list records as record>
<#if index == 1>
- <fo:table border="0.5pt solid black">
+ <fo:table table-layout="fixed" border="0.5pt
solid black">
<fo:table-column column-width="252pt"/>
<fo:table-body>
<fo:table-row>
@@ -119,7 +119,7 @@ under the License.
</#if>
<#assign index = index + 1>
</#list>
- <fo:table border="0.5pt solid black">
+ <fo:table table-layout="fixed" border="0.5pt solid black">
<fo:table-column column-width="84pt"/>
<fo:table-column column-width="84pt"/>
<fo:table-column column-width="84pt"/>
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl
(original)
+++
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -40,7 +40,7 @@ under the License.
<fo:block
font-size="14pt">${uiLabelMap.ManufacturingOperationRunForShipment}:${shipmentIdPar}</fo:block>
<fo:block><fo:leader/></fo:block>
<fo:block space-after.optimum="8pt" font-size="8pt"/>
- <fo:table font-size="8pt" border="0.5pt solid black">
+ <fo:table table-layout="fixed" font-size="8pt"
border="0.5pt solid black">
<fo:table-column column-width="45pt"/>
<fo:table-column column-width="45pt"/>
<fo:table-column column-width="60pt"/>
@@ -101,7 +101,7 @@ under the License.
</#list>
</fo:table-body>
</fo:table>
- <fo:table font-size="8pt">
+ <fo:table table-layout="fixed" font-size="8pt">
<fo:table-column column-width="450pt"/>
<fo:table-body>
<fo:table-row>
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl
(original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportBody.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -18,7 +18,7 @@ under the License.
-->
<#escape x as x?xml>
<fo:block>
- <fo:table font-size="9pt">
+ <fo:table table-layout="fixed" font-size="9pt">
<fo:table-column column-width="40pt"/>
<fo:table-column column-width="160pt"/>
<fo:table-column column-width="58pt"/>
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
(original)
+++
ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -18,7 +18,7 @@ under the License.
-->
<#escape x as x?xml>
- <fo:table border-spacing="3pt">
+ <fo:table table-layout="fixed" border-spacing="3pt">
<fo:table-column column-width="3.75in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
@@ -49,7 +49,7 @@ under the License.
</fo:table>
- <fo:table border-spacing="3pt" space-before="0.5in"
space-after="0.5in">
+ <fo:table table-layout="fixed" border-spacing="3pt"
space-before="0.5in" space-after="0.5in">
<fo:table-column column-width="1.5in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
(original)
+++
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -38,7 +38,7 @@ under the License.
<#-- Items returned -->
<fo:block font-size="10pt">
- <fo:table border-style="solid" border-width="0.2pt" width="7.25in"
height="5in">
+ <fo:table table-layout="fixed" border-style="solid"
border-width="0.2pt" width="7.25in" height="5in">
<fo:table-column column-width="0.875in"/>
<fo:table-column column-width="0.875in"/>
<fo:table-column column-width="2.25in"/>
@@ -98,7 +98,7 @@ under the License.
</fo:block>
<#-- total -->
- <fo:table space-before="5mm" font-size="10pt">
+ <fo:table table-layout="fixed" space-before="5mm" font-size="10pt">
<fo:table-column column-width="0.875in"/>
<fo:table-column column-width="0.875in"/>
<fo:table-column column-width="2.25in"/>
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl
(original)
+++
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -29,7 +29,7 @@ under the License.
<fo:table-row>
<fo:table-cell>
- <fo:table border-style="solid" border-width="0.2pt" height="1in">
+ <fo:table table-layout="fixed" border-style="solid"
border-width="0.2pt" height="1in">
<fo:table-column column-width="3.50in"/>
<fo:table-body>
<fo:table-row><fo:table-cell border-style="solid"
border-width="0.2pt" padding="1mm"><fo:block
font-weight="bold">${uiLabelMap.OrderReturnFromAddress}</fo:block></fo:table-cell></fo:table-row>
@@ -49,7 +49,7 @@ ${postalAddressFrom.city}<#if (postalAdd
<fo:table-cell/>
<fo:table-cell>
- <fo:table border-style="solid" border-width="0.2pt" height="1in">
+ <fo:table table-layout="fixed" border-style="solid"
border-width="0.2pt" height="1in">
<fo:table-column column-width="2.75in"/>
<fo:table-body>
<fo:table-row><fo:table-cell padding="1mm"
border-style="solid" border-width="0.2pt"><fo:block
font-weight="bold">${uiLabelMap.OrderReturnToAddress}</fo:block></fo:table-cell></fo:table-row>
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl
(original)
+++
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -18,7 +18,7 @@ under the License.
-->
<#escape x as x?xml>
<fo:table><fo:table-column
column-width="0.3in"/><fo:table-body><fo:table-row><fo:table-cell>
- <fo:table font-size="10pt">
+ <fo:table table-layout="fixed" font-size="10pt">
<fo:table-column column-width="1in"/>
<fo:table-column column-width="1in"/>
<fo:table-column column-width="1in"/>
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/NotReadyToPick.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/NotReadyToPick.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/webapp/facility/facility/NotReadyToPick.fo.ftl
(original)
+++
ofbiz/trunk/applications/product/webapp/facility/facility/NotReadyToPick.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -30,7 +30,7 @@ under the License.
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body" font-family="Helvetica">
<#include
"component://order/webapp/ordermgr/order/companyHeader.fo.ftl"/>
- <fo:table border-width="1pt" border-style="solid">
+ <fo:table table-layout="fixed" border-width="1pt"
border-style="solid">
<fo:table-column column-width="250pt"/>
<fo:table-body>
<fo:table-row>
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl
(original)
+++
ofbiz/trunk/applications/product/webapp/facility/facility/PrintPickSheets.fo.ftl
Sat Nov 21 10:14:05 2015
@@ -116,7 +116,7 @@ under the License.
<fo:table-row>
<fo:table-cell></fo:table-cell>
<fo:table-cell padding="2pt">
- <fo:table border-width="1pt"
border-style="solid">
+ <fo:table
table-layout="fixed" border-width="1pt" border-style="solid">
<fo:table-column
column-width="150pt"/>
<fo:table-column
column-width="250pt"/>
<fo:table-body>
@@ -138,7 +138,7 @@ under the License.
</#if>
</#list>
<fo:block space-after.optimum="10pt" font-size="12pt">
- <fo:table border-width="1pt" border-style="solid">
+ <fo:table table-layout="fixed" border-width="1pt"
border-style="solid">
<fo:table-column column-width="90pt"/>
<fo:table-column column-width="90pt"/>
<fo:table-column column-width="110pt"/>
Modified: ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl Sat Nov 21
10:14:05 2015
@@ -83,7 +83,7 @@ under the License.
<#macro renderFormClose focusFieldName formName containerId
hasRequiredField></fo:block></#macro>
<#macro renderMultiFormClose></#macro>
-<#macro renderFormatListWrapperOpen formName style columnStyles><fo:table
border="solid black" <@getFoStyle style/>><#list columnStyles as
columnStyle><fo:table-column<#if columnStyle?has_content> <@getFoStyle
columnStyle/></#if>/></#list></#macro>
+<#macro renderFormatListWrapperOpen formName style columnStyles><fo:table
table-layout="fixed" border="solid black" <@getFoStyle style/>><#list
columnStyles as columnStyle><fo:table-column<#if columnStyle?has_content>
<@getFoStyle columnStyle/></#if>/></#list></#macro>
<#macro renderFormatListWrapperClose
formName></fo:table-body></fo:table></#macro>
<#macro renderFormatHeaderOpen><fo:table-header></#macro>
Modified: ofbiz/trunk/framework/widget/templates/foScreenMacroLibrary.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/foScreenMacroLibrary.ftl?rev=1715493&r1=1715492&r2=1715493&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/foScreenMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/foScreenMacroLibrary.ftl Sat Nov 21
10:14:05 2015
@@ -73,7 +73,7 @@ under the License.
<#macro renderScreenletPaginateMenu lowIndex actualPageSize ofLabel listSize
paginateLastStyle lastLinkUrl paginateLastLabel paginateNextStyle nextLinkUrl
paginateNextLabel paginatePreviousStyle paginatePreviousLabel previousLinkUrl
paginateFirstStyle paginateFirstLabel firstLinkUrl></#macro>
<#macro renderColumnContainerBegin id style>
- <fo:table width="100%"<#if id?has_content> id="${id}"</#if><#if
style?has_content> <@getFoStyle style/></#if>>
+ <fo:table table-layout="fixed" width="100%"<#if id?has_content>
id="${id}"</#if><#if style?has_content> <@getFoStyle style/></#if>>
<fo:table-body>
<fo:table-row>
</#macro>