aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2011-01-15 18:38:39 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2011-01-15 18:38:39 +0000
commita00c4f3eeaf76bc695cb3a5389c012df2a5df30d (patch)
treec2c3ff2e057787a6d54298f744ff1f74469a2152
parentdb3ce3727946ec2a7d7b18093b8bc58783faa89e (diff)
downloadxmlgraphics-fop-a00c4f3eeaf76bc695cb3a5389c012df2a5df30d.tar.gz
xmlgraphics-fop-a00c4f3eeaf76bc695cb3a5389c012df2a5df30d.zip
Associate id of fo:root with every new page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059386 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractPageSequenceLayoutManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractPageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractPageSequenceLayoutManager.java
index f5c9d0779..fba571df3 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractPageSequenceLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractPageSequenceLayoutManager.java
@@ -293,6 +293,7 @@ public abstract class AbstractPageSequenceLayoutManager extends AbstractLayoutMa
+ (isBlank ? "*" : "") + "]");
}
+ addIDToPage(pageSeq.getRoot().getId());
addIDToPage(pageSeq.getId());
return curPage;
}