aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2012-10-22 14:13:42 +0000
committerVincent Hennebert <vhennebert@apache.org>2012-10-22 14:13:42 +0000
commiteb45e0a46510827c4c58a7358d1c674a89c0becb (patch)
tree63ac5ac516249936b8464dd0e2129700c6448feb /src/java/org/apache/fop/layoutmgr
parent1a5394a6bec2b67910062a8e45c92a473aec8627 (diff)
downloadxmlgraphics-fop-eb45e0a46510827c4c58a7358d1c674a89c0becb.tar.gz
xmlgraphics-fop-eb45e0a46510827c4c58a7358d1c674a89c0becb.zip
Bugzilla #54037: Issue a warning when accessibility is enabled for PDF output and language information is missing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1400890 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr')
-rw-r--r--src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
index f62d7f946..1420d1b98 100644
--- a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
@@ -31,6 +31,7 @@ import org.apache.fop.area.Area;
import org.apache.fop.area.Block;
import org.apache.fop.area.LineArea;
import org.apache.fop.datatypes.Length;
+import org.apache.fop.fo.FONode;
import org.apache.fop.fo.properties.KeepProperty;
import org.apache.fop.fonts.Font;
import org.apache.fop.fonts.FontInfo;
@@ -381,6 +382,8 @@ public class BlockLayoutManager extends BlockStackingLayoutManager implements Co
startIndent, endIndent,
this);
+ curBlockArea.setLocale(getBlockFO().getCommonHyphenation().getLocale());
+ curBlockArea.setLocation(FONode.getLocatorString(getBlockFO().getLocator()));
setCurrentArea(curBlockArea); // ??? for generic operations
}
return curBlockArea;