An action object, used to link to URLS initially
# File lib/pdf/writer/object/action.rb, line 24 def to_s res = "\n#{@oid} 0 obj\n<< /Type /Action" if @type == :ilink res << "\n/S /GoTo\n/D #{@parent.destinations[@label].oid} 0 R" elsif @type == 'URI' res << "\n/S /URI\n/URI (" res << PDF::Writer.escape(@label) res << ")\n" end res << ">>\nendobj" end
Generated with the Darkfish Rdoc Generator 2.