aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-09-09 10:35:09 +0000
committerKeiron Liddle <keiron@apache.org>2002-09-09 10:35:09 +0000
commitdd8891583eb347173ca359067098aafd2b7115f0 (patch)
tree57c4534c4545da13bccc1508b64b59da3452fa37 /src/org/apache/fop/fo
parent065009c088c0d77444db4669aadbf8e57c377375 (diff)
downloadxmlgraphics-fop-dd8891583eb347173ca359067098aafd2b7115f0.tar.gz
xmlgraphics-fop-dd8891583eb347173ca359067098aafd2b7115f0.zip
fixes some vertical alignment
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo')
-rw-r--r--src/org/apache/fop/fo/flow/PageNumber.java4
-rw-r--r--src/org/apache/fop/fo/flow/PageNumberCitation.java4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/PageNumber.java b/src/org/apache/fop/fo/flow/PageNumber.java
index 449413488..58654a866 100644
--- a/src/org/apache/fop/fo/flow/PageNumber.java
+++ b/src/org/apache/fop/fo/flow/PageNumber.java
@@ -72,6 +72,10 @@ public class PageNumber extends FObj {
return inline;
}
+
+ protected void offsetArea(LayoutContext context) {
+ curArea.setOffset(context.getBaseline());
+ }
}
);
}
diff --git a/src/org/apache/fop/fo/flow/PageNumberCitation.java b/src/org/apache/fop/fo/flow/PageNumberCitation.java
index 3093dfc37..b6ac87fad 100644
--- a/src/org/apache/fop/fo/flow/PageNumberCitation.java
+++ b/src/org/apache/fop/fo/flow/PageNumberCitation.java
@@ -75,6 +75,10 @@ public class PageNumberCitation extends FObj {
(Resolveable) inline);
}
}
+
+ protected void offsetArea(LayoutContext context) {
+ curArea.setOffset(context.getBaseline());
+ }
}
);
}