poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r450068 - /jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java
Date Tue, 26 Sep 2006 14:54:47 GMT
Author: nick
Date: Tue Sep 26 07:54:45 2006
New Revision: 450068

URL: http://svn.apache.org/viewvc?view=rev&rev=450068
Log:
FOP fix from bug #39086

Modified:
    jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java

Modified: jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java
URL: http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java?view=diff&rev=450068&r1=450067&r2=450068
==============================================================================
--- jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java (original)
+++ jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java Tue
Sep 26 07:54:45 2006
@@ -815,10 +815,14 @@
     int marginLeft = sep._dxaLeft/20;
     int marginRight = sep._dxaRight/20;
 
-    return "<fo:region-" + where + " display-align=\"" + align + "\" extent=\"" +
-             extent + "pt\" padding-left=\"" + marginLeft + "pt\" padding-right=\"" +
-             marginRight + "pt\" padding-top=\"" + marginTop + "pt\" padding-bottom=\"" +
-             marginBottom + "pt\" " + region + "/>";
+    return "<fo:region-" + where + " display-align=\"" + align + "\" extent=\""
+             + extent + "pt\" "+region+"/>";
+// org.apache.fop.fo.expr.PropertyException: 
+// Border and padding for region "xsl-region-before" must be '0' 
+// (See 6.4.13 in XSL 1.0).
+//             extent + "pt\" padding-left=\"" + marginLeft + "pt\" padding-right=\"" +
+//             marginRight + "pt\" padding-top=\"" + marginTop + "pt\" padding-bottom=\""
+
+//             marginBottom + "pt\" " + region + "/>";
 
   }
   private String createRegion(String where, String name)



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message