Class LegacyTextLayoutAssessor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.text.LegacyTextLayoutAssessor
-
- All Implemented Interfaces:
TextLayoutAssessor
public class LegacyTextLayoutAssessor extends 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 int
COMPEX_LAYOUT_END_CHAR
protected static int
COMPEX_LAYOUT_START_CHAR
protected static Set<Character.UnicodeBlock>
simpleLayoutBlocks
-
Constructor Summary
Constructors Constructor Description LegacyTextLayoutAssessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasComplexLayout(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 Set<Character.UnicodeBlock> simpleLayoutBlocks
-
-
Method Detail
-
hasComplexLayout
public boolean hasComplexLayout(char[] chars)
Description copied from interface:TextLayoutAssessor
Determines if a text chunk requires complex text layout.- Specified by:
hasComplexLayout
in interfaceTextLayoutAssessor
- Parameters:
chars
- the text chunk- Returns:
- whether the text requires complex text layout
-
-