Method Summary |
|
public void | addText(Phrase phrase) Adds a Phrase to the current text array. |
public void | addText(Chunk chunk) Adds a Chunk to the current text array. |
protected PdfLine | createLine(float width) Creates a line from the chunk array. |
public int | getAlignment() Gets the alignment. |
public float | getHeight() |
public float | getLeading() Gets the separation between the vertical lines. |
public int | getMaxLines() Gets the maximum number of available lines. |
public float | getOriginX() Gets the X coordinate where the next line will be writen. |
public float | getOriginY() Gets the Y coordinate where the next line will be writen. |
public int | go() Outputs the lines to the document. |
public int | go(boolean simulate) Outputs the lines to the document. |
public void | setAlignment(int alignment) Sets the alignment. |
public void | setHeight(float height) |
public void | setLeading(float leading) Sets the separation between the vertical lines. |
public void | setMaxLines(int maxLines) Sets the maximum number of lines. |
public void | setOrigin(float startX, float startY) Sets the new text origin. |
public void | setVerticalLayout(float startX, float startY, float height, int maxLines, float leading) Sets the layout. |
protected void | shortenChunkArray() Normalizes the list of chunks when the line is accepted. |
void | writeLine(PdfLine line, PdfContentByte text, PdfContentByte graphics) |