diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-03-01 08:55:35 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-03-01 08:55:35 +0000 |
commit | dc201205b77460b582ef6df7b737fba405260b6a (patch) | |
tree | f981e1922874de2cc81e974b835ef3d5d8bf1ecd /src/java/org/apache/fop/afp | |
parent | 7d5beca43a09ad988822dfb910f395e7d9f073f6 (diff) | |
download | xmlgraphics-fop-dc201205b77460b582ef6df7b737fba405260b6a.tar.gz xmlgraphics-fop-dc201205b77460b582ef6df7b737fba405260b6a.zip |
Added support for adding extension elements and foreign attributes on fo:page-sequence.
AFP: Added support for Invoke Medium Map (IMM).
AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/afp')
-rw-r--r-- | src/java/org/apache/fop/afp/DataStream.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/afp/DataStream.java b/src/java/org/apache/fop/afp/DataStream.java index 492669311..b1ff96859 100644 --- a/src/java/org/apache/fop/afp/DataStream.java +++ b/src/java/org/apache/fop/afp/DataStream.java @@ -486,10 +486,10 @@ public class DataStream { * The tag value */ public void createTagLogicalElement(String name, String value) { - if (currentPageGroup != null) { - currentPageGroup.createTagLogicalElement(name, value); - } else { + if (currentPage != null) { currentPage.createTagLogicalElement(name, value, tleSequence++); + } else { + currentPageGroup.createTagLogicalElement(name, value); } } |