Sha256: 698b1e4bcd681bbdac79bf2b5fcad21df378bf2450ce6147a4fc27e4fb32740e

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

require_relative 'itext'

class FillablePDF
  class Field
    # PdfName has a constant "A" and a constant "a". Unfortunately, RJB does not differentiate
    # between these constants and tries to create the same constant ("A") for both, which causes
    # an annoying warning "already initialized constant Rjb::Com_itextpdf_kernel_pdf_PdfName::A".
    # As long as RJB has not fixed this issue, this warning will remain suppressed.

    BUTTON = ITEXT::PdfName.Btn.toString
    CHOICE = ITEXT::PdfName.Ch.toString
    SIGNATURE = ITEXT::PdfName.Sig.toString
    TEXT = ITEXT::PdfName.Tx.toString
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fillable-pdf-0.9.6 lib/fillable-pdf/field.rb