Patent ID: 7844896
Filing Date: 2010-11-30
Classification: G06T

Abstract:
1. A layout-rule generation system that generates a layout rule on a basis of an electronic document in which a specified layout region is divided into a plurality of segmented regions, the system comprising: a layout-rule generation device that generates a layout rule on the basis of a positional relationship between at least two of the plurality of segmented regions, each of the plurality of segmented regions including a layout element to be arranged therein, the specified layout region having two sides parallel to a first direction and two sides parallel to a second direction perpendicular to the first direction as outer periphery, and in a case that it is determined that a virtual line connecting representative points of two of the plurality of segmented regions is horizontal or vertical to the layout region, the layout-rule generating device generating a first layout rule that specifies to align layout positions of layout elements to be arranged in the corresponding segmented regions, in a case that it is determined that representative points of at least three of the plurality of segmented regions are arranged on a straight line, the layout-rule generating device generating a second layout rule that specifies to arrange the layout elements to be arranged in the corresponding segmented region on a straight line, in a case that a segmented region is selected in sequence from the plurality of segmented regions and it is determined that distances between a representative point in the selected segmented region and representative points of at least two of the plurality of segmented regions other than the selected segmented region are equal, the layout-rule generating device generating a third layout rule that specifies to arrange the layout elements to be arranged in the corresponding segmented regions at an equal distance from a layout element arranged in the selected segmented region, in a case that a reference point is selected in sequence from the layout region and it is determined that distances between the selected reference point and representative points of at least three of the plurality of segmented regions are equal, the layout-rule generating device generating a fourth layout rule that specifies to arrange the layout elements to be arranged in the corresponding segmented regions at an equal distance from a reference region, in a case that a segmented region is selected in sequence from the plurality of segmented regions and it is determined that angles between virtual lines connecting a representative point of the selected segmented region and representative points of at least two of the segmented regions other than the selected segmented region are equal, the layout-rule generating device generating a fifth layout rule that specifies to arrange layout elements to be arranged in the corresponding segmented regions at an equal angle with the layout element arranged in the selected segmented region as a center, and in case a reference point is selected in sequence from the layout region and it is determined angles between virtual lines connecting the selected reference point and representative points of at least three of the plurality of segmented regions are equal, the layout-rule generating device generating a sixth layout rule that specifies to arrange layout elements to be arranged in the corresponding segmented regions at an equal angle with the reference point as a center.