Patent ID: 7853872

Claim:
An information processing apparatus performing layout processing to arrange one or more sub-templates in which contents data is inserted, comprising: a creation unit configured to create a first flow area and a second flow area on a page, wherein the sub-templates are not arranged in the first flow area and the second flow area as created by said creation unit; a setting unit configured to set sync information to decide layout such that a number of the sub-templates arranged in the first flow area is equal to a number of the sub-templates arranged in the second flow area; an insertion unit configured to insert contents data into the sub-templates; a deciding unit configured to decide a number of the sub-templates which can be arranged in the second flow area as the number of the sub-templates for the first flow area and the second flow area, when the number of the sub-templates in which the contents data is inserted, which can be arranged in the first flow area, is more than the number of the sub-templates in which the contents data is inserted, which can be arranged in the second flow area; and an arranging control unit configured to arrange the sub-template(s) in which the contents data is inserted in both the first and the second flow areas in accordance with the number of sub-templates decided by said deciding unit, wherein said apparatus further comprises at least one processor and a memory, and wherein said processor and said memory serve as each of said units.