# File lib/pdf/writer/object/annotation.rb, line 35 35: def to_s 36: res = "\n#{@oid} 0 obj\n<< /Type /Annot" 37: res << "\n/Subtype /Link" if TYPES.include?(@type) 38: res << "\n/A #{@action.oid} 0 R\n/Border [0 0 0]\n/H /I\n/Rect [" 39: @rect.each { |v| res << "%.4f " % v } 40: res << "]\n>>\nendobj" 41: end