# US 8,578,269 B2 · Information processing apparatus for performing a layout processing of sub-templates, information processing method and computer-readable medium

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

- Number: US 8,578,269 B2
- Document ID: US8578269B2
- Status: Granted
- Kind: B2
- Application number: 13/245,470
- Filed: 2011-09-26
- Published: 2012-02-09
- Granted: 2013-11-05
- Earliest claimed: 2005-02-28
- Assignees: Canon Kabushiki Kaisha
- Applicants: Hitoshi Osaka; Satoshi Ota
- Inventors: Hitoshi Osaka; Satoshi Ota
- Web page: https://patentgrep.com/patent/US8578269B2

## CPC

- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing apparatus performs a process of laying out sub-templates to a page to which a repeated page setting is not set. If all the sub-templates are not laid out in the page to which a repeated page setting is not set, the information processing apparatus repeatedly obtains pages to which the repeated page setting is set until all the sub-templates are laid out in the pages.

## Claims

### Claim 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.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the setting unit sets a flow area over the first to third pages.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the sub-templates are laid out in the flow area set by the setting unit.

### Claim 4

An information processing method which is performed by an information processing apparatus, comprising:
setting a repeated page setting to the second page;
obtaining the first and third pages to which the repeated page setting is not set from the document;
laying out a sub-template selected from a plurality of sub-templates in the first and third pages;
determining whether all the sub-templates are laid out in the first and third pages;
deleting 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;
obtaining the second page to which the repeated page setting is set;
laying out the deleted sub-templates in the second page;
determining 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 remaining sub-templates which are not laid out in any page are laid out in the third page and it is determined 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 steps of deleting the third page, obtaining the second page, laying out the deleted sub-templates to the second page, and laying out the remaining sub-templates in the third page are repeatedly executed to create one or more additional second pages until all the sub-templates are laid out.

### Claim 5 (depends on 4)

The method according to claim 4, wherein a flow area is set over the first to third pages.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the sub-templates are laid out in the flow area.

### Claim 7

A non-transitory computer-readable medium storing a program therein for causing a computer to perform an information processing method, the method comprising:
setting a repeated page setting to the second page;
obtaining the first and third pages to which the repeated page setting is not set from the document;
laying out a sub-template selected from a plurality of sub-templates in the first and third pages;
determining whether all the sub-templates are laid out in the first and third pages;
deleting 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;
obtaining the second page to which the repeated page setting is set;
laying out the deleted sub-templates in the second page;
determining 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 remaining sub-templates which are not laid out in any page are laid out in the third page and it is determined 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 steps of deleting the third page, obtaining the second page, laying out the deleted sub-templates to the second page, and laying out the remaining sub-templates in the third page are repeatedly executed to create one or more additional second pages until all the sub-templates are laid out.

### Claim 8 (depends on 7)

The non-transitory computer-readable medium according to claim 7, wherein a flow area is set over the first to third pages.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium according to claim 8, wherein the sub-templates are laid out in the flow area.
