net.sf.jasperreports.engine.fill
Class TextMeasurer

java.lang.Object
  extended bynet.sf.jasperreports.engine.fill.TextMeasurer

public class TextMeasurer
extends java.lang.Object

Version:
$Id: TextMeasurer.java,v 1.12 2005/07/09 18:57:13 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
TextMeasurer(JRFillTextElement fillTextElement)
           
 
Method Summary
protected  float getLeadingOffset()
           
protected  float getLineSpacingFactor()
           
protected  float getTextHeight()
           
protected  int getTextOffset()
           
protected  boolean isLeftToRight()
           
 void measure(JRStyledText styledText, java.lang.String remainingText, int remainingTextStart, int availableStretchHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMeasurer

public TextMeasurer(JRFillTextElement fillTextElement)
Method Detail

measure

public void measure(JRStyledText styledText,
                    java.lang.String remainingText,
                    int remainingTextStart,
                    int availableStretchHeight)

isLeftToRight

protected boolean isLeftToRight()

getTextOffset

protected int getTextOffset()

getTextHeight

protected float getTextHeight()

getLineSpacingFactor

protected float getLineSpacingFactor()

getLeadingOffset

protected float getLeadingOffset()


© 2001-2005 JasperSoft Corporation www.jaspersoft.com