From eb45e0a46510827c4c58a7358d1c674a89c0becb Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 22 Oct 2012 14:13:42 +0000 Subject: 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 --- src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/java/org/apache/fop/layoutmgr') 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; -- cgit v1.2.3