aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/xml/XMLRenderer.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-01-20 08:40:41 +0000
committerJeremias Maerki <jeremias@apache.org>2005-01-20 08:40:41 +0000
commit7ab0cd84eca074d50c6e0827efb2e00c877450e3 (patch)
tree704a30a0d3e8b1f4438fa725cf6137cd8c2beb17 /src/java/org/apache/fop/render/xml/XMLRenderer.java
parentd7dc6ad2295d9188d96049d30e018b7b99fc0be2 (diff)
downloadxmlgraphics-fop-7ab0cd84eca074d50c6e0827efb2e00c877450e3.tar.gz
xmlgraphics-fop-7ab0cd84eca074d50c6e0827efb2e00c877450e3.zip
Output clip trait for BlockViewports
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/xml/XMLRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLRenderer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java
index 45c90d02d..297c0dcef 100644
--- a/src/java/org/apache/fop/render/xml/XMLRenderer.java
+++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java
@@ -471,6 +471,9 @@ public class XMLRenderer extends AbstractRenderer {
addAttribute("top-position", bvp.getYOffset());
}
addAttribute("ctm", bvp.getCTM().toString());
+ if (bvp.getClip()) {
+ addAttribute("clipped", "true");
+ }
} else {
if (block.getPositioning() == Block.RELATIVE) {
addAttribute("positioning", "relative");