summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/fop/area/Area.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/Area.java b/src/java/org/apache/fop/area/Area.java
index 23f62af34..d1158423b 100644
--- a/src/java/org/apache/fop/area/Area.java
+++ b/src/java/org/apache/fop/area/Area.java
@@ -94,11 +94,16 @@ public class Area extends AreaNode implements Cloneable {
return content;
}
- protected void setMargins(
- double before, double after, double start, double end) {
+ protected void setBeforeMargin(double before) {
spaces.setBefore(before);
+ }
+ protected void setAfterMargin(double after) {
spaces.setAfter(after);
+ }
+ protected void setStartMargin(double start) {
spaces.setStart(start);
+ }
+ protected void setEndMargin(double end) {
spaces.setEnd(end);
}
/** Translates this area into position in its parent area */