Class PdfTextArray

java.lang.Object
com.aowagie.text.pdf.PdfTextArray

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 Details

    • arrayList

      private final ArrayList arrayList
    • lastStr

      private String lastStr
    • lastNum

      private Float lastNum
  • Constructor Details

    • PdfTextArray

      PdfTextArray(String str)
    • PdfTextArray

      public PdfTextArray()
  • Method Details

    • add

      void add(float number)
    • add

      void add(String str)
    • getArrayList

      ArrayList getArrayList()
    • replaceLast

      private void replaceLast(Object obj)