Sha256: 24e0a7daba7aa2b5d72f09c736d212b42f73e6d68ae92ed63e70679e478b96bc
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 Bytes
Contents
require File.dirname(__FILE__) + "/../../node/base" require "PDFlib" module FN module PDF module Node def OpenPdiPage(pdi_var, page_number, page_var) FN::Node::Base("open_pdi_page", :pdi => pdi_var, :number => page_number, :assigns => page_var).extend(OpenPdiPage) end module OpenPdiPage include FN::Node::Base def visit(struct) pg = struct.open_pdi_page(struct[self[:pdi]], self[:number].to_i, "") struct.assigns self, pg visit_children struct struct.close_pdi_page(pg) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fn_document-0.9.6 | lib/fn/pdf/node/open_pdi_page.rb |
fn_document-0.9.4 | lib/fn/pdf/node/open_pdi_page.rb |
fn_document-0.9.3 | lib/fn/pdf/node/open_pdi_page.rb |