org.jopendocument.renderer
Class ODTCellText

java.lang.Object
  extended by org.jopendocument.renderer.ODTCellText

public class ODTCellText
extends java.lang.Object


Constructor Summary
ODTCellText(java.awt.Graphics2D g, TextP textp, double resizeFactor, StyleStyle cellStyle)
           
 
Method Summary
 void draw(int startX, int y)
           
 void drawJustified(int x, int y, java.lang.String verticalAlign, int padding, int cellWidth)
           
 java.lang.String getFullText()
           
 int getHeight()
           
 int getWidth()
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODTCellText

public ODTCellText(java.awt.Graphics2D g,
                   TextP textp,
                   double resizeFactor,
                   StyleStyle cellStyle)
Method Detail

getFullText

public java.lang.String getFullText()

isEmpty

public boolean isEmpty()

getHeight

public int getHeight()

getWidth

public int getWidth()

draw

public void draw(int startX,
                 int y)

drawJustified

public void drawJustified(int x,
                          int y,
                          java.lang.String verticalAlign,
                          int padding,
                          int cellWidth)