org.apache.poi.hslf.model
Class TextPainter

java.lang.Object
  extended by org.apache.poi.hslf.model.TextPainter

public class TextPainter
extends java.lang.Object

Paint text into java.awt.Graphics2D

Author:
Yegor Kozlov

Field Summary
protected  TextShape _shape
           
protected  POILogger logger
           
 
Constructor Summary
TextPainter(TextShape shape)
           
 
Method Summary
 java.text.AttributedString getAttributedString(TextRun txrun)
          Convert the underlying set of rich text runs into java.text.AttributedString
 void paint(java.awt.Graphics2D graphics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected POILogger logger

_shape

protected TextShape _shape
Constructor Detail

TextPainter

public TextPainter(TextShape shape)
Method Detail

getAttributedString

public java.text.AttributedString getAttributedString(TextRun txrun)
Convert the underlying set of rich text runs into java.text.AttributedString


paint

public void paint(java.awt.Graphics2D graphics)


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.