Module: FN::PDF::Node::OpenPdi
- Includes:
- Node::Base
- Defined in:
- lib/fn/pdf/node/open_pdi.rb
Constant Summary
Constants included from Node::Base
Node::Base::CURRENT_PAGE_HEIGHT, Node::Base::CURRENT_PAGE_WIDTH
Instance Method Summary collapse
Methods included from Node::Base
#classify, #has_no_children, #mixin, #value, #visit_children, #with_attributes_like
Instance Method Details
#visit(struct, debug = false) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/fn/pdf/node/open_pdi.rb', line 13 def visit(struct, debug = false) if debug puts "self[:file]: #{self[:file]}" end pdi = struct.open_pdi(self[:file], "", 0) struct.assigns(self, pdi) visit_children(struct, debug) struct.close_pdi(pdi) end |