Sha256: 917f4e59a7a477e7671808299419115f4464b275624b05047beeb1fa2d4a2801
Contents?: true
Size: 828 Bytes
Versions: 1
Compression:
Stored size: 828 Bytes
Contents
require File.dirname(__FILE__) + "/../../node/base" require "PDFlib" module FN module PDF module Node def FitPdiPage(var) FN::Node::Base("fit_pdi_page", :page => var) end module FitPdiPage include FN::Node::Base def visit(struct) @logger = Logger.new("#{RAILS_ROOT}/log/pdf_writer_logs/#{Time.now.strftime('pdf_writer_log_%Y_%m_%d')}.log") # @logger.info "HELP "*88 # @logger.info "self[:page] => #{self[:page]}" # yields {page} # @logger.info "struct[self[:page]] => #{struct[self[:page]]}" # yields -1 # @logger.info "struct => #{struct.inspect}" has_no_children struct.fit_pdi_page(struct[self[:page]], 0, struct[CURRENT_PAGE_HEIGHT], "") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fn_document-0.9.2 | lib/fn/pdf/node/fit_pdi_page.rb |