    # File lib/prawn/stamp.rb, line 13
        def stamp(user_defined_name)
          raise Prawn::Errors::InvalidName if user_defined_name.empty?
          unless stamp_dictionary_registry[user_defined_name]
            raise Prawn::Errors::UndefinedObjectName
          end

          dict = stamp_dictionary_registry[user_defined_name]

          stamp_dictionary_name = dict[:stamp_dictionary_name]
          stamp_dictionary = dict[:stamp_dictionary]

          add_content "/#{stamp_dictionary_name} Do"

          page_xobjects.merge!(stamp_dictionary_name => stamp_dictionary)
        end