From 6631c08e40c5332c53e28d60ca5cbfa30e85839c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 30 Jun 2008 16:46:13 +0000
Subject: [PATCH] change order print out headers: - the text "Order page 1 of
 1" is in the correct cell - the "section" is centered horizontally

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22122 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_trade/Order_viewAsODTStyles.xml      | 22 +++++++++----------
 bt5/erp5_trade/bt/revision                    |  2 +-
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
index 0b788d66bd..536ba4d66e 100644
--- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
+++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
@@ -53,6 +53,12 @@ AAA=</string> </value>
               </object>
             </value>
         </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>_text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
@@ -273,6 +279,9 @@ AAA=</string> </value>
     <style:style style:name="Tableau4.A1" style:family="table-cell">\n
       <style:table-cell-properties fo:padding="0.097cm" fo:border="none"/>\n
     </style:style>\n
+    <style:style style:name="Tableau4.A2" style:family="table-cell">\n
+      <style:table-cell-properties fo:padding="0.097cm" fo:border="none" style:vertical-align="middle"/>\n
+    </style:style>\n
     <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Table_20_Contents">\n
       <style:text-properties style:font-name-asian="DejaVu Sans1" style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans1" style:font-size-complex="14pt"/>\n
     </style:style>\n
@@ -334,7 +343,7 @@ AAA=</string> </value>
                                     height image_height"/>\n
               </text:p>\n
             </table:table-cell>\n
-            <table:table-cell table:style-name="Tableau4.A1" office:value-type="string">\n
+            <table:table-cell table:style-name="Tableau4.A2" office:value-type="string">\n
               <text:p text:style-name="Header"\n
                       tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_title\'] or data_dict[\'source_decision_title\']">\n
               </text:p>\n
@@ -351,17 +360,6 @@ AAA=</string> </value>
                       tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_vatid\'] or data_dict[\'source_decision_vatid\']">\n
               </text:p>\n
             </table:table-cell>\n
-            <table:table-cell table:style-name="Tableau4.A1" office:value-type="string">\n
-              <text:p text:style-name="P1"/>\n
-            </table:table-cell>\n
-          </table:table-row>\n
-          <table:table-row>\n
-            <table:table-cell table:style-name="Tableau4.A1" office:value-type="string">\n
-              <text:p text:style-name="P1"/>\n
-            </table:table-cell>\n
-            <table:table-cell table:style-name="Tableau4.A1" office:value-type="string">\n
-              <text:p text:style-name="P1"/>\n
-            </table:table-cell>\n
             <table:table-cell table:style-name="Tableau4.A1" office:value-type="string">\n
               <text:p text:style-name="Header_20_Title"\n
                       tal:content="en_title">\n
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 6b3ed8d68b..50b04dff0e 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-400
\ No newline at end of file
+402
\ No newline at end of file
-- 
2.30.9