Sha256: b529acd3d3200d5e2465c37f1ab63c39eca03f3944734a72d1e759c341e8a7c4

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 Bytes

Contents

module BrDanfe
  class Issqn
    Y = 24.60 + SPACE_BETWEEN_GROUPS

    def initialize(pdf, xml)
      @pdf = pdf
      @xml = xml

      @ltitle = Y - 0.42
      @l1 = Y
    end

    def render
      @pdf.ititle 0.42, 10.00, 0.25, @ltitle, "issqn.title"

      @pdf.lbox LINE_HEIGHT, 5.14, 0.25, @l1, @xml, "emit/IM"
      @pdf.lnumeric LINE_HEIGHT, 5.14, 5.39, @l1, @xml, "total/ISSQNtot/vServ"
      @pdf.lnumeric LINE_HEIGHT, 5.14, 10.53, @l1, @xml, "total/ISSQNtot/vBC"
      @pdf.lnumeric LINE_HEIGHT, 5.14, 15.67, @l1, @xml, "total/ISSQNtot/vISS"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
br_danfe-0.0.9 lib/br_danfe/issqn.rb
br_danfe-0.0.8 lib/br_danfe/issqn.rb
br_danfe-0.0.7 lib/br_danfe/issqn.rb
br_danfe-0.0.6 lib/br_danfe/issqn.rb