1. A document processing apparatus comprising: an input unit that inputs image information from a plurality of documents; a separation unit that separates content included in the plurality of documents from the image information; a holding unit that (i) learns relation of a layout location in which the content has been laid out to the content separated by the separation unit and frequency of the layout location, and (ii) holds the learning as learning information; an indication unit that indicates one or more items of content in a target document; and a layout unit that lays out the one or more items of content indicated by the indication unit to a template for the target document, wherein the template is selected based on the held learning information, wherein the holding unit comprises a non-transitory computer-readable storage medium.