Patent ID: 7861160

Claim:
An information processing apparatus which lays out, in a page, field regions for inserting data, comprising: detection means for detecting a region of interest in image data to be inserted into a first field region in the page; deleting means for deleting a region different from the region of interest in the image data detected by said detection means; layout means for laying out the image data of the region of interest that is not deleted by said deleting means in the first field region in the page; moving means for moving the first field region in which the image data of the region of interest is inserted so as to bridge a space generated by laying out the image data of the region of interest in the first field region; setting means for setting a link to connect the first field region and a second field region; and rotating means for rotating image data of a region of interest inserted into the second field region through an arbitrary angle, wherein said layout means lays out the image data of the region of interest rotated through the arbitrary angle in the second field region when a first distance is shorter than a second distance, wherein the first distance is a distance between image data of the region of interest inserted into the first field region and image data of the region of interest rotated through the arbitrary angle and inserted into the second field region, and wherein the second distance is a distance between image data of the region of interest inserted into the first field region and image data of the region of interest inserted into the second field region before being rotated through the arbitrary angle.