Package net.sf.jasperreports.engine.fill
Class ComplexTextLineWrapper
java.lang.Object
net.sf.jasperreports.engine.fill.ComplexTextLineWrapper
- All Implemented Interfaces:
TextLineWrapper
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbaseTextLine(int index) charcharAt(int index) getLineText(int start, int end) voidinit(TextMeasureContext context) lastLineWrapper(String lineText, int start, int textLength, boolean truncateAtChar) floatmaxFontsize(int start, int end) nextLine(float width, int endLimit, boolean requireWord) intintprotected voidsetAttributes(AttributedString string, AttributedCharacterIterator attributes, int stringOffset) protected voidsetAttributes(AttributedString string, Map<AttributedCharacterIterator.Attribute, Object> attributes, int startIndex, int endIndex) booleanstart(JRStyledText styledText) voidstartEmptyParagraph(int paragraphStart) voidstartParagraph(int paragraphStart, int paragraphEnd, boolean truncateAtChar) protected voidstartParagraph(AttributedCharacterIterator paragraph, boolean truncateAtChar)
-
Constructor Details
-
ComplexTextLineWrapper
public ComplexTextLineWrapper() -
ComplexTextLineWrapper
-
-
Method Details
-
init
- Specified by:
initin interfaceTextLineWrapper
-
start
- Specified by:
startin interfaceTextLineWrapper
-
startParagraph
public void startParagraph(int paragraphStart, int paragraphEnd, boolean truncateAtChar) - Specified by:
startParagraphin interfaceTextLineWrapper
-
startEmptyParagraph
public void startEmptyParagraph(int paragraphStart) - Specified by:
startEmptyParagraphin interfaceTextLineWrapper
-
startParagraph
-
paragraphPosition
public int paragraphPosition()- Specified by:
paragraphPositionin interfaceTextLineWrapper
-
paragraphEnd
public int paragraphEnd()- Specified by:
paragraphEndin interfaceTextLineWrapper
-
nextLine
- Specified by:
nextLinein interfaceTextLineWrapper
-
baseTextLine
- Specified by:
baseTextLinein interfaceTextLineWrapper
-
maxFontsize
public float maxFontsize(int start, int end) - Specified by:
maxFontsizein interfaceTextLineWrapper
-
getLineText
- Specified by:
getLineTextin interfaceTextLineWrapper
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceTextLineWrapper
-
lastLineWrapper
public TextLineWrapper lastLineWrapper(String lineText, int start, int textLength, boolean truncateAtChar) - Specified by:
lastLineWrapperin interfaceTextLineWrapper
-
setAttributes
protected void setAttributes(AttributedString string, AttributedCharacterIterator attributes, int stringOffset) -
setAttributes
protected void setAttributes(AttributedString string, Map<AttributedCharacterIterator.Attribute, Object> attributes, int startIndex, int endIndex)
-