diff options
author | Glen Mazza <gmazza@apache.org> | 2005-06-08 22:24:34 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2005-06-08 22:24:34 +0000 |
commit | 20f78af0c947fad6fe491decfb6579cdfbd3628c (patch) | |
tree | f20fe7b8003ca53199ab1c689a3499f00138a051 | |
parent | 650436066caa8ad2632862f2d2995879e4fe8451 (diff) | |
download | xmlgraphics-fop-20f78af0c947fad6fe491decfb6579cdfbd3628c.tar.gz xmlgraphics-fop-20f78af0c947fad6fe491decfb6579cdfbd3628c.zip |
Multiple getWordChar() methods placed together.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198722 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java index 188eebc8b..c11914962 100644 --- a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java @@ -163,10 +163,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants } - public void getWordChars(StringBuffer sbChars, Position bp1, - Position bp2) { - } - /* --------------------------------------------------------- * PROVIDE NULL IMPLEMENTATIONS OF METHODS from LayoutManager * interface which are declared abstract in AbstractLayoutManager. @@ -184,10 +180,16 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants return element; } - public void getWordChars(StringBuffer sbChars, Position pos) { + public void getWordChars(StringBuffer sbChars, Position bp1, + Position bp2) { log.warn("null implementation of getWordChars() called!"); } + // This version is not in LayoutManager but is the only version being + // called within the application. + public void getWordChars(StringBuffer sbChars, Position pos) { + } + public void hyphenate(Position pos, HyphContext hc) { log.warn("null implementation of hyphenate called!"); } |