# US 2008/0189603 A1 · Information processing apparatus, information processing method, and information processing program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0189603 A1
- Document ID: US20080189603A1
- Status: Published application
- Kind: A1
- Application number: 12/015,304
- Filed: 2008-01-16
- Published: 2008-08-07
- Earliest claimed: 2007-01-16
- Assignees: Canon Kabushiki Kaisha
- Inventors: Koji Kikuchi
- Web page: https://patentgrep.com/patent/US20080189603A1

## CPC

- G06F 40/186: Templates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing apparatus for generating a template in which is arranged a plurality of areas where content data can be inserted, includes a setting unit configured to associate the areas with one another, a determination unit configured to determine based on the content data whether the areas are to be arranged in a vertical direction or in a horizontal direction as an arrangement direction, a layout unit configured to arrange the areas in the arrangement direction determined by the determination unit, an input unit configured to input the content data into the areas arranged by the layout unit, and an output unit configured to output the areas where the content data is inserted by the input unit.

## Claims

### Claim 1

An information processing apparatus for generating a template in which is arranged a plurality of areas where content data is inserted, comprising:
a setting unit configured to associate the areas with one another;
a determination unit configured to determine based on the content data whether the areas are to be arranged in a vertical direction or in a horizontal direction as an arrangement direction in the template;
a layout unit configured to arrange the areas in the arrangement direction determined by the determination unit;
an input unit configured to insert the content data into the areas; and
an output unit configured to output the areas where the content data is inserted by the input unit.

### Claim 2 (depends on 1)

The information processing apparatus according to claim 1, wherein the determination unit determines to arrange the plurality of areas in a vertical direction if horizontally long image data is inserted into at least one of the areas, and to arrange the plurality of areas in a horizontal direction if vertically long image data is inserted into at least one of the areas.

### Claim 3 (depends on 2)

The information processing apparatus according to claim 2, wherein the setting unit includes a second setting unit configured to assign priorities to the areas, and
the determination unit determines to arrange the areas in a horizontal direction if vertically long image data is inserted as content data to a higher-priority area to be processed in accordance with the priorities assigned by the second setting unit and horizontally long image data is inserted as content data into a lower-priority area, and the determination unit determines to arrange the areas in a vertical direction if horizontally long image data is inserted as content data into a higher-priority area to be processed in accordance with the priorities assigned by the second setting unit and vertically long image data is inserted as content data to a lower-priority area.

### Claim 4 (depends on 2)

The information processing apparatus according to claim 2, further comprising:
a comparison unit configured to compare an amount of change in size necessary for inserting first content data and second content data into a template where first and second areas are arranged in a vertical direction, with an amount of change in size necessary for inserting the first and second content data into a template where the first and second areas are arranged in a horizontal direction, when the first content data is inserted as vertically long image data into the first area and the second content data is inserted as horizontally long image data into the second area,
wherein the determination unit determines to arrange the first and second areas in a direction that reduces the amount of change in size based on a comparison result from the comparison unit.

### Claim 5 (depends on 1)

The information processing apparatus according to claim 1, wherein the setting unit sets an attribute by which an arrangement direction of the areas is changed in accordance with the content data inserted into the areas, and
the determination unit determines an arrangement direction of the areas when the attribute is set.

### Claim 6 (depends on 5)

The information processing apparatus according to claim 5, wherein the setting unit sets a link to associate the attribute with the areas, and
the determination unit determines the arrangement direction of the areas in response to the link.

### Claim 7

An information processing method for generating a template in which is arranged a plurality of areas where content data can be inserted, comprising:
associating the areas with one another;
automatically determining based on the content data whether the areas associated with one another are to be arranged in a vertical direction or in a horizontal direction as an arrangement direction;
automatically arranging the areas in the determined arrangement direction;
inserting the content data into the arranged areas; and
outputting the areas where the content data is inserted.

### Claim 8 (depends on 7)

The information processing method according to claim 7, further comprising:
determining to arrange the areas in a vertical direction if horizontally long image data is inserted into the areas, and to arrange the plurality of areas in a horizontal direction if vertically long image data is inserted into the areas.

### Claim 9 (depends on 8)

The information processing apparatus according to claim 8, further comprising:
assigning priorities to the areas; and
determining to arrange the areas in a horizontal direction if vertically long image data is inserted as content data into a higher-priority area to be processed in accordance with the assigned priorities and horizontally long image data is inserted as content data into a lower-priority area, and determining to arrange the areas in a vertical direction if horizontally long image data is inserted as content data into a higher-priority area to be processed in accordance with the assigned priorities and vertically long image data is inserted as content data into a lower-priority area.

### Claim 10 (depends on 8)

The information processing method according to claim 8, further comprising:
comparing an amount of change in size necessary for inserting first content data and second content data into a template where first and second areas are arranged in a vertical direction, with an amount of change in size necessary for inserting the first and second content data into a template where the first and second areas are arranged in a horizontal direction, when the first content data is inserted as vertically long image data into the first area and the second content data is inserted as horizontally long image data into the second area; and
determining to arrange the first and second areas in a direction that reduces the amount of change in size based on a result of the comparison.

### Claim 11 (depends on 7)

The information processing method according to claim 7, further comprising:
setting an attribute by which an arrangement direction of the areas is changed in accordance with the content data inserted into the areas; and
determining an arrangement direction of the areas when the attribute is set.

### Claim 12 (depends on 11)

The information processing method according to claim 11, further comprising setting a link to associate the attribute with the plurality of areas, and
determining the arrangement direction of the areas in response to the link.

### Claim 13

A program, embodied on a computer readable medium, that causes the computer to execute a method of generating a template in which is arranged a plurality of areas where content data can be inserted, the method comprising:
associating the areas with one another;
determining based on the content data whether the areas associated with one another are to be arranged in a vertical direction or in a horizontal direction as an arrangement direction;
arranging the areas in the determined arrangement direction;
inserting the content data to each of the arranged areas; and
outputting the plurality of areas where the content data is inserted.
