com.lowagie.text.pdf

Class PdfTextArray

public class PdfTextArray extends Object

PdfTextArray defines an array with displacements and PdfString-objects.

A TextArray is used with the operator TJ in PdfText. The first object in this array has to be a PdfString; see reference manual version 1.3 section 8.7.5, pages 346-347. OR see reference manual version 1.6 section 5.3.2, pages 378-379.

Field Summary
ArrayListarrayList
FloatlastNum
StringlastStr
Constructor Summary
PdfTextArray(String str)
PdfTextArray()
Method Summary
voidadd(PdfNumber number)
Adds a PdfNumber to the PdfArray.
voidadd(float number)
voidadd(String str)
ArrayListgetArrayList()
voidreplaceLast(Object obj)

Field Detail

arrayList

ArrayList arrayList

lastNum

private Float lastNum

lastStr

private String lastStr

Constructor Detail

PdfTextArray

public PdfTextArray(String str)

PdfTextArray

public PdfTextArray()

Method Detail

add

public void add(PdfNumber number)
Adds a PdfNumber to the PdfArray.

Parameters: number displacement of the string

add

public void add(float number)

add

public void add(String str)

getArrayList

ArrayList getArrayList()

replaceLast

private void replaceLast(Object obj)