jdbreport.model.io
Class Content

java.lang.Object
  extended by jdbreport.model.io.Content

public class Content
extends Object

Version:
1.0 10.08.2009
Author:
Andrey Kholmanskih

Constructor Summary
Content(String text, AttributeSet attrs)
           
 
Method Summary
 CellStyle createTextStyle(CellStyle parentStyle)
           
 CellStyle createTextStyle(CellStyle parentStyle, CellStyle style)
           
 AttributeSet getAttributeSet()
           
static List<Content> getHTMLContentList(HTMLDocument doc)
           
 String getText()
           
static short pointToSize(short point)
           
static short sizeToPoints(short size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content(String text,
               AttributeSet attrs)
Method Detail

getText

public String getText()

getAttributeSet

public AttributeSet getAttributeSet()

getHTMLContentList

public static List<Content> getHTMLContentList(HTMLDocument doc)

createTextStyle

public CellStyle createTextStyle(CellStyle parentStyle)

createTextStyle

public CellStyle createTextStyle(CellStyle parentStyle,
                                 CellStyle style)

sizeToPoints

public static short sizeToPoints(short size)

pointToSize

public static short pointToSize(short point)