Sha256: a134b6186de764226eb74d24a45604709d76291092d27d8ea128164dc1e1c4e3
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
require_relative 'fillable-pdf/itext' require_relative 'kernel' 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. suppress_warnings { PDF_NAME = Rjb.import('com.itextpdf.kernel.pdf.PdfName') } BUTTON = PDF_NAME.Btn.toString CHOICE = PDF_NAME.Ch.toString SIGNATURE = PDF_NAME.Sig.toString TEXT = PDF_NAME.Tx.toString end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fillable-pdf-0.9.0 | lib/field.rb |
fillable-pdf-0.8.0 | lib/field.rb |