Patent ID: 8578269
Filing Date: 2013-11-05
Classification: G06F

Abstract:
1. An information processing apparatus comprising a processor which executes a program stored in a memory and execute a layout processing for a document including the first, second and third page, wherein the processor functions as: a setting unit which sets a repeated page setting to the second page; a first obtaining unit which obtains the first and third pages to which the repeated page setting is not set from the document; a first layout unit which lays out a sub-template selected from a plurality of sub-templates in the first and third pages; a first determining unit which determines whether all the sub-templates are laid out in the first and third pages; a deleting unit which deletes the third page when all the sub-templates are not laid out in the first and third pages, wherein the sub-templates laid out in the third page are deleted by deleting the third page; a second obtaining unit which obtains the second page to which the repeated page setting is set; a second layout unit which lays out the sub-templates deleted by the deleting unit in the second page; a second determining unit which determines whether all the sub-templates are laid out in the first and second pages, wherein, when it is determined that all the sub-templates are not laid out in the first and second pages, the first layout unit lays out the remaining sub-templates which are not laid out in any page in the third page and the first determining unit determines whether all the sub-templates are laid out in the first, second and third pages, and wherein, when it is determined that all the sub-templates are not laid out in the first, second and third pages, the process of deleting the third page by the deleting unit, the process of obtaining the second page by the second obtaining unit, the process of laying out the deleted sub-templates to the second page by the second layout unit, and the process of laying out the remaining sub-templates in the third page by the first layout unit are repeatedly executed to create one or more additional second pages until all the sub-templates are laid out.