aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layoutmgr/LayoutContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layoutmgr/LayoutContext.java')
-rw-r--r--src/org/apache/fop/layoutmgr/LayoutContext.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/org/apache/fop/layoutmgr/LayoutContext.java b/src/org/apache/fop/layoutmgr/LayoutContext.java
index d53cd4b23..bc0976fa8 100644
--- a/src/org/apache/fop/layoutmgr/LayoutContext.java
+++ b/src/org/apache/fop/layoutmgr/LayoutContext.java
@@ -67,6 +67,9 @@ public class LayoutContext {
private HyphContext m_hyphContext = null;
/** Stretch or shrink value when making areas. */
+ private double ipdAdjust = 0.0;
+
+ /** Stretch or shrink value when adding spaces. */
private double m_dSpaceAdjust = 0.0;
private int m_iLineHeight;
@@ -185,6 +188,14 @@ public class LayoutContext {
return m_dSpaceAdjust;
}
+ public void setIPDAdjust(double ipdA) {
+ ipdAdjust = ipdA;
+ }
+
+ public double getIPDAdjust() {
+ return ipdAdjust;
+ }
+
public void setLineHeight(int lh) {
m_iLineHeight = lh;
}