Patent ID: 8086958

Claim:
An information processing apparatus with a processor, the information processing apparatus comprising: an instruction unit configured to instruct, using the processor, changing of layout for document data including a first page on which objects are arranged and a second page following the first page; a display control unit configured to display, using the processor, a definition screen to define a page range; a definition unit configured to define, using the processor, a page number as the page range of changing target in accordance with instruction input via the definition screen; a reducing unit configured to reduce a distance between the objects arranged on a first page included in the page range to a predetermined distance shorter than the distance between the objects arranged on the first page when the changing of layout is instructed; an arranging unit configured to arrange an object arranged on the second page in a space of the first page generated by reducing the distance between the objects arranged on the first page to the predetermined distance; a determining unit configured to determine whether a ratio of the object arranged on the second page exceeds a threshold value; and an eliminating unit configured to eliminate the second page by arranging the object arranged on the second page in the space of the first page, wherein the reducing unit is configured to reduce the distance between the objects arranged on the first page included in the page range to the predetermined distance when the determining unit determines that the ratio does not exceed the threshold value.