Sha256: 111ce460e348d4d2a989c98fe03ce7aefdcc73720bb4ddc3c162b722b57b515f

Contents?: true

Size: 627 Bytes

Versions: 12

Compression:

Stored size: 627 Bytes

Contents

module BrDanfe
  module DanfeLib
    class Issqn
      Y = 25.72 + 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.75, @ltitle, "issqn.title"

        @pdf.lbox LINE_HEIGHT, 4.64, 0.75, @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, 4.64, 15.67, @l1, @xml, "total/ISSQNtot/vISS"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
br_danfe-0.6.1 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.6.0 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.5.2 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.5.1 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.5.0 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.4.3 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.4.2 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.4.1 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.4.0 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.3.0 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.2.3 lib/br_danfe/danfe_lib/issqn.rb
br_danfe-0.2.2 lib/br_danfe/danfe_lib/issqn.rb