# File lib/pdf/writer.rb, line 1752 1752: def reopen_object(id) 1753: @stack << { :contents => @current_contents, :page => @current_page } 1754: @current_contents = id 1755: # if this object is the primary contents for a page, then set the 1756: # current page to its parent 1757: @current_page = @current_contents.on_page unless @current_contents.on_page.nil? 1758: @current_contents 1759: end