diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 11:30:47 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 11:30:47 +0000 |
commit | 0cebf71726b24c24dd90134dacdf0c424044c35b (patch) | |
tree | 60852d8e0bfadeb20b94e0d1b6d69d2ed9fbb0e7 /src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java | |
parent | 0389ee358b2b4f4fbe9ebfd7e9cf9d124030dcd5 (diff) | |
download | xmlgraphics-fop-0cebf71726b24c24dd90134dacdf0c424044c35b.tar.gz xmlgraphics-fop-0cebf71726b24c24dd90134dacdf0c424044c35b.zip |
Bugzilla #36476:
Border support on block, block-container and inline introduced. Nesting borders are supported partially: only two levels of nesting.
Consecutive paragraphs with identical border formatting are considered part
of a single group with the border information applying to the entire group.
Bugzilla #36477:
start-indent and end-indent are used instead of margins only to do indentation.
Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com>
Changes to the patch by jeremias:
Fix for deferred handling which didn't work for block-containers. They got ignored.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java')
-rw-r--r-- | src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java index 0cc69cc64..f71910ec5 100644 --- a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java +++ b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java @@ -52,7 +52,7 @@ public class BorderAttributesConverter { attrs.set(IBorderAttributes.BORDER_COLOR, border.getBorderColor(side)); attrs.set(convertAttributetoRtf(styleEnum)); //division by 50 to convert millipoints to twips - attrs.set(IBorderAttributes.BORDER_WIDTH, border.getBorderWidth(side, false)/50); + attrs.set(IBorderAttributes.BORDER_WIDTH, border.getBorderWidth(side, false) / 50); attributes.set(controlWord, attrs); } } |