From 9d501657902bc18c1aa8dbe1bd0556205929b1fe Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Tue, 26 Sep 2006 14:54:45 +0000 Subject: [PATCH] FOP fix from bug #39086 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450068 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hdf/extractor/WordDocument.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java b/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java index 24de6b583..e9b4ba14b 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java +++ b/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java @@ -815,10 +815,14 @@ public class WordDocument int marginLeft = sep._dxaLeft/20; int marginRight = sep._dxaRight/20; - return ""; + return ""; +// 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)