com.pdfjet
Class TextFrame

java.lang.Object
  extended by com.pdfjet.TextFrame

public class TextFrame
extends java.lang.Object

Please see Example_47


Constructor Summary
TextFrame(java.util.List<Paragraph> paragraphs)
           
 
Method Summary
 TextFrame drawOn(Page page)
           
 TextFrame drawOn(Page page, boolean draw)
           
 TextLine drawTextLine(Page page, float x_text, float y_text, TextLine textLine, boolean draw)
           
 java.util.List<float[]> getBeginParagraphPoints()
           
 java.util.List<float[]> getEndParagraphPoints()
           
 java.util.List<Paragraph> getParagraphs()
           
 TextFrame setHeight(float h)
           
 TextFrame setLeading(float leading)
           
 TextFrame setLocation(float x, float y)
           
 TextFrame setParagraphLeading(float paragraphLeading)
           
 TextFrame setSpaceBetweenTextLines(float spaceBetweenTextLines)
           
 TextFrame setWidth(float w)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFrame

public TextFrame(java.util.List<Paragraph> paragraphs)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setLocation

public TextFrame setLocation(float x,
                             float y)

setWidth

public TextFrame setWidth(float w)

setHeight

public TextFrame setHeight(float h)

setLeading

public TextFrame setLeading(float leading)

setParagraphLeading

public TextFrame setParagraphLeading(float paragraphLeading)

getBeginParagraphPoints

public java.util.List<float[]> getBeginParagraphPoints()

getEndParagraphPoints

public java.util.List<float[]> getEndParagraphPoints()

setSpaceBetweenTextLines

public TextFrame setSpaceBetweenTextLines(float spaceBetweenTextLines)

getParagraphs

public java.util.List<Paragraph> getParagraphs()

drawOn

public TextFrame drawOn(Page page)
                 throws java.lang.Exception
Throws:
java.lang.Exception

drawOn

public TextFrame drawOn(Page page,
                        boolean draw)
                 throws java.lang.Exception
Throws:
java.lang.Exception

drawTextLine

public TextLine drawTextLine(Page page,
                             float x_text,
                             float y_text,
                             TextLine textLine,
                             boolean draw)
                      throws java.lang.Exception
Throws:
java.lang.Exception