diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2012-05-25 15:15:28 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2012-05-25 15:15:28 +0000 |
commit | 89b98e43e014d7045a548b7f88be265c2621a328 (patch) | |
tree | 2fd521a451fb8be4e28a2c54706f62740028e16e /test/java/org/apache/fop/render | |
parent | f227dce56c9bed87a8cd0daec86267e43d2b2ae1 (diff) | |
download | xmlgraphics-fop-89b98e43e014d7045a548b7f88be265c2621a328.tar.gz xmlgraphics-fop-89b98e43e014d7045a548b7f88be265c2621a328.zip |
Added support for the role property on fo:page-sequence, fo:flow and fo:static-content.
This allows to change the mapping of those FOs to PDF structure types when enabling accessibility.
Suggested by Martin Koegler as part of Bugzilla #50852
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/render')
-rw-r--r-- | test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java b/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java index 65c6b25a6..6819fed79 100644 --- a/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java +++ b/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java @@ -61,7 +61,7 @@ public class IFStructureTreeBuilderTestCase { // Expected } - sut.startPageSequence(null); + sut.startPageSequence(null, null); sut.endPageSequence(); sut.replayEventsForPageSequence(handler, 0); @@ -89,7 +89,7 @@ public class IFStructureTreeBuilderTestCase { final String nodeName = "block"; final ContentHandler handler = mock(ContentHandler.class); - sut.startPageSequence(null); + sut.startPageSequence(null, null); sut.startNode(nodeName, createSimpleAttributes(attributes)); sut.endPageSequence(); @@ -105,7 +105,7 @@ public class IFStructureTreeBuilderTestCase { final String nodeName = "block"; final ContentHandler handler = mock(ContentHandler.class); - sut.startPageSequence(null); + sut.startPageSequence(null, null); sut.endNode(nodeName); sut.endPageSequence(); |