Define the outlines in the doc, empty for now
[Source]
# File lib/pdf/writer/object/outlines.rb, line 13 13: def initialize(parent) 14: super(parent) 15: 16: @list = [] 17: @parent.catalog.outlines = self 18: end
# File lib/pdf/writer/object/outlines.rb, line 22 22: def to_s 23: if @list.empty? 24: "\n#{@oid} 0 obj\n<< /Type /Outlines >>\nendobj" 25: else 26: "\n#{@oid} 0 obj\n<< /Type /Outlines /First #{@list[0].oid} 0 R /Last 27: #{@list[-1].oid} 0 R>>\nendobj" 28: end 29: end
[Validate]