Method and device for automatically catching special position of blank layout
An automatic capture, specific location technology, applied in special data processing applications, natural language data processing, instruments, etc., can solve problems such as inability to configure automatic positioning of objects, and inability to configure object capture.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a flow chart of a method for automatically capturing a specific position on a blank page in an embodiment of the present invention. The method includes the following steps:
[0047] S101: Designate a typesetting area;
[0048] In this embodiment, first designate the typesetting area, and confirm the position and size of the configured objects in the typesetting area, which also includes the following steps: in the typesetting area, according to the character of each character The height and character width divide the typesetting area into background grids with M rows and N columns, and each background grid can hold a text.
[0049] S102: Calculate the blank layout and divide the capture area;
[0050] In this embodiment, calculating the blank layout and dividing the capture area also includes the following steps:
[0051] Calculate the background cells that are affected by the configured objects and cannot be inserted into the text. Among them, as lon...
Embodiment 2
[0064] figure 2 It is a schematic diagram of the position and size of the typesetting area and the configured objects in the specific embodiment. In the figure, in the typesetting area, according to the character height and character width of each character, it is divided into M rows and N columns of background grids. In this specific embodiment, it is 18 rows and 15 columns, and each background grid can be arranged into a character , the gray rectangular area is the configured object.
[0065] image 3 It is a schematic diagram of determining the regions where characters cannot be placed and where characters can be placed in a specific embodiment. In the figure, as long as a part of a certain background grid is blocked by the configured object, this background grid will be included in the area that cannot be arranged in text, for example, the 4th to 7th background grids in the 5th to 9th rows cannot be arranged. Enter text, and calculate the area that cannot enter text in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 