# File lib/pdf/writer.rb, line 1815 1815: def reopen_object(id) 1816: @stack << { :contents => @current_contents, :page => @current_page } 1817: @current_contents = id 1818: # if this object is the primary contents for a page, then set the 1819: # current page to its parent 1820: @current_page = @current_contents.on_page unless @current_contents.on_page.nil? 1821: @current_contents 1822: end