Sha256: e33437cd2c24d69831d94ea9243438f5fffaf97d5e8ab19758a90d580a156b15

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

require_relative 'kernel'
require 'rjb'

Rjb.load(Dir.glob(File.expand_path('../../ext/*.jar', __dir__)).join(':'))

module ITEXT
  suppress_warnings do
    ByteArrayOutputStream = Rjb.import 'com.itextpdf.io.source.ByteArrayOutputStream'
    Canvas = Rjb.import 'com.itextpdf.layout.Canvas'
    Div = Rjb.import 'com.itextpdf.layout.element.Div'
    HorizontalAlignment = Rjb.import 'com.itextpdf.layout.properties.HorizontalAlignment'
    Image = Rjb.import 'com.itextpdf.layout.element.Image'
    ImageDataFactory = Rjb.import 'com.itextpdf.io.image.ImageDataFactory'
    PdfAcroForm = Rjb.import 'com.itextpdf.forms.PdfAcroForm'
    PdfDictionary = Rjb.import 'com.itextpdf.kernel.pdf.PdfDictionary'
    PdfDocument = Rjb.import 'com.itextpdf.kernel.pdf.PdfDocument'
    PdfFormXObject = Rjb.import 'com.itextpdf.kernel.pdf.xobject.PdfFormXObject'
    PdfName = Rjb.import 'com.itextpdf.kernel.pdf.PdfName'
    PdfReader = Rjb.import 'com.itextpdf.kernel.pdf.PdfReader'
    PdfWriter = Rjb.import 'com.itextpdf.kernel.pdf.PdfWriter'
    Rectangle = Rjb.import 'com.itextpdf.kernel.geom.Rectangle'
    VerticalAlignment = Rjb.import 'com.itextpdf.layout.properties.VerticalAlignment'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fillable-pdf-0.9.5.2 lib/fillable-pdf/itext.rb
fillable-pdf-0.9.5.1 lib/fillable-pdf/itext.rb
fillable-pdf-0.9.5 lib/fillable-pdf/itext.rb
fillable-pdf-0.9.4 lib/fillable-pdf/itext.rb