Class LegacyTextLayoutAssessor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.text.LegacyTextLayoutAssessor
-
- All Implemented Interfaces:
TextLayoutAssessor
public class LegacyTextLayoutAssessor extends java.lang.Object implements TextLayoutAssessor
Legacy complex text layout implementation.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected static intCOMPEX_LAYOUT_END_CHARprotected static intCOMPEX_LAYOUT_START_CHARprotected static java.util.Set<java.lang.Character.UnicodeBlock>simpleLayoutBlocks
-
Constructor Summary
Constructors Constructor Description LegacyTextLayoutAssessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasComplexLayout(char[] chars)Determines if a text chunk requires complex text layout.
-
-
-
Field Detail
-
COMPEX_LAYOUT_START_CHAR
protected static final int COMPEX_LAYOUT_START_CHAR
- See Also:
- Constant Field Values
-
COMPEX_LAYOUT_END_CHAR
protected static final int COMPEX_LAYOUT_END_CHAR
- See Also:
- Constant Field Values
-
simpleLayoutBlocks
protected static final java.util.Set<java.lang.Character.UnicodeBlock> simpleLayoutBlocks
-
-
Method Detail
-
hasComplexLayout
public boolean hasComplexLayout(char[] chars)
Description copied from interface:TextLayoutAssessorDetermines if a text chunk requires complex text layout.- Specified by:
hasComplexLayoutin interfaceTextLayoutAssessor- Parameters:
chars- the text chunk- Returns:
- whether the text requires complex text layout
-
-