aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layoutmgr/LayoutContext.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-22 13:57:49 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-22 13:57:49 +0000
commit68b21a99b13332f92bb896e818e17bc1dc17f74c (patch)
treef009e115770da2f1daadc027a1175d6623625b9a /src/org/apache/fop/layoutmgr/LayoutContext.java
parent764bcf89165659d00a6a9e026457c1cb15d62186 (diff)
downloadxmlgraphics-fop-68b21a99b13332f92bb896e818e17bc1dc17f74c.tar.gz
xmlgraphics-fop-68b21a99b13332f92bb896e818e17bc1dc17f74c.zip
implemeneted leader with leader-pattern of rule
adjusts line area ipd to best fit (spaces not handled yet) and aligns git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195112 13f79535-47bb-0310-9956-ffa450edef68
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;
}