CN102110086B - Method and system enabling layout object to be automatically adjusted along with layout - Google Patents

Method and system enabling layout object to be automatically adjusted along with layout Download PDF

Info

Publication number
CN102110086B
CN102110086B CN2009102440503A CN200910244050A CN102110086B CN 102110086 B CN102110086 B CN 102110086B CN 2009102440503 A CN2009102440503 A CN 2009102440503A CN 200910244050 A CN200910244050 A CN 200910244050A CN 102110086 B CN102110086 B CN 102110086B
Authority
CN
China
Prior art keywords
page
layout
adjustment
center
coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102440503A
Other languages
Chinese (zh)
Other versions
CN102110086A (en
Inventor
周继
苏舜
梅林�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2009102440503A priority Critical patent/CN102110086B/en
Publication of CN102110086A publication Critical patent/CN102110086A/en
Application granted granted Critical
Publication of CN102110086B publication Critical patent/CN102110086B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a system enabling a layout object to be automatically adjusted along with a layout, and belongs to the technical field of computer typesetting. The method comprises steps as follows: firstly, layout position information and layout object position information are obtained before and after the layout adjustment; then position deviation of the layout object before and after the layout adjustment is determined according to the layout position information and the layout object position information; and finally, the layout object is adjusted according to the position deviation of the layout object. The system comprises an obtaining device used for obtaining the layout position information and the layout object position information before and after the layout adjustment; a determining device used for determining the position deviation of the layout object before and after the layout adjustment according to the layout position information and the layout object position information; and an adjusting device used for adjusting the layout object according to the position deviation of the layout object. By adopting the method and the system provided by the invention, the layout object in the layout can be quickly and correctly adjusted in an automatic way along with the layout adjustment without the need of manual adjustment by a typesetting staff after the layout is adjusted, thereby improving the typesetting efficiency.

Description

A kind of page object is with the self-adjusting method and system of the space of a whole page
Technical field
Computer composition technical field of the present invention is specifically related to a kind of page object with the self-adjusting method and system of the space of a whole page.
Background technology
In process of typeset, the composing personnel need hold the integral layout of the space of a whole page on the one hand, also need pay close attention to the treatment of details of a certain part of the space of a whole page on the one hand.Therefore the size of the space of a whole page or direction change, i.e. after the space of a whole page adjustment, and the problem of on the new space of a whole page, how accurately to locate with regard to the object that has produced on the original space of a whole page.
At present, after the adjustment of space of a whole page size or direction, the processing of page object generally there is following dual mode.A kind of is that the locator meams of the page object on the former space of a whole page on the new space of a whole page remained unchanged, and promptly the page object on the space of a whole page also keeps its correspondence position relation and size on the former space of a whole page, for example software such as word.This possibly cause original very big page object after space of a whole page adjustment, has exceeded the type page of the new space of a whole page because of the page object size remains unchanged, and can not adapt to the new space of a whole page automatically.Another kind of mode is that the position of page object is adjusted; This possibly appear at, and disjoint page object the problem that page object intersects occurs after adjusting through the space of a whole page on the former space of a whole page; Need the size of operating personnel's manual setting page object and the demand that the new space of a whole page is satisfied in the position; Thereby composing efficient is reduced, and lose time and manpower.
Summary of the invention
To the defective that exists in the prior art; The purpose of this invention is to provide a kind of page object with the self-adjusting method and system of the space of a whole page, these method and system can accurately be located and adjust after space of a whole page adjustment page object; Need not to carry out manual operations, improved composing efficient.
To achieve these goals, the technical scheme of the present invention's employing is following:
A kind of page object may further comprise the steps with the self-adjusting method of the space of a whole page:
(1) obtains space of a whole page adjustment front and back layout position information and page object positional information;
(2) confirm the offset of page object before and after the space of a whole page adjustment according to layout position information and page object positional information;
(3) adjust page object according to the offset of page object.
Aforesaid page object is with the self-adjusting method of the space of a whole page; In the step (1), said layout position information comprises in the upper left corner point coordinate, top of the page and type page in point coordinate, upper right corner point coordinate, the right in point coordinate, lower right corner point coordinate, the base point coordinate, center point coordinate in point coordinate, lower left corner point coordinate, the left side;
Said page object positional information comprises in the upper left corner point coordinate, top of page object in point coordinate, upper right corner point coordinate, the right in point coordinate, lower right corner point coordinate, the base point coordinate, center point coordinate in point coordinate, lower left corner point coordinate, the left side.
Aforesaid page object in the step (2), confirms that the process of the offset of space of a whole page adjustment front and back page object may further comprise the steps with the self-adjusting method of the space of a whole page:
1. confirm reference point;
2. obtain the coordinate of the preceding page object reference point of space of a whole page adjustment with respect to the page or type page reference point, horizontal ordinate is designated as X, and ordinate is designated as Y; Obtain the coordinate of space of a whole page adjustment back page object reference point with respect to the page or type page reference point, horizontal ordinate is designated as X ', and ordinate is designated as Y ';
3. page object is adjusted the offset P on the horizontal direction of back at the space of a whole page x=X '-X, the offset P of in the vertical direction y=Y '-Y.
Aforesaid page object is with the self-adjusting method of the space of a whole page, step 1. in, said reference point is upper left angle point, top mid point, upper right angle point, the right mid point, bottom right angle point, base mid point, lower left corner point, left side mid point or central point.
Aforesaid page object, also comprises according to layout position information and page object positional information in the step (2) with the self-adjusting method of the space of a whole page, judge and write down former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between the step of position relation.
Aforesaid page object is with the self-adjusting method of the space of a whole page, wherein, said former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between the position relation comprise:
(a) left side of page object overlaps with the left side of the type page or the page;
(b) top of page object overlaps with the top of the type page or the page;
(c) the right of page object overlaps with the right of the type page or the page;
(d) bottom of page object overlaps with the bottom of the type page or the page;
(e) left side of page object overlaps with the right of the type page or the page;
(f) top of page object overlaps with the bottom of the type page or the page;
(g) the right of page object overlaps with the left side of the type page or the page;
(h) bottom of page object overlaps with the top of the type page or the page.
Aforesaid page object is with the self-adjusting method of the space of a whole page, in the step (3), according to former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between position related key justifying in the face of resembling, make it keep on the former space of a whole page and the position relationship between the type page and the page.If relative both sides, position all overlap with the limit of the type page or the page in the page object, then adjust the width or the height of page object, make it keep before the space of a whole page adjustment and the position relationship between the type page and the page; Otherwise, move page object, make it keep before the space of a whole page adjustment and the position relationship between the type page and the page.
Aforesaid page object is with the self-adjusting method of the space of a whole page; Wherein, When four limits of page object all do not overlap with four limits of the type page and the page; Calculate the space of a whole page adjustment back page or the wide and high scaling of type page, the size of page object is adjusted according to the page or the wide and high scaling of type page.
Aforesaid page object is with the self-adjusting method of the space of a whole page; Wherein, Calculate the space of a whole page adjustment back page or the wide and high scaling of type page; According to the page or the wide and high scaling of type page the limit of not carrying out adjusted size in the page object is adjusted, but do not changed the position relation between page object and the type page or the page.
Aforesaid page object is with the self-adjusting method of the space of a whole page; In the step (3), after space of a whole page adjustment, if there is page object to exceed space of a whole page scope; Then this page object is moved back in the space of a whole page, the limit of this page object is overlapped with the limit of the space of a whole page and displacement the shortest.
A kind of page object comprises the deriving means that is used to obtain space of a whole page adjustment front and back layout position information and page object positional information with the self-adjusting system of the space of a whole page; Be used for confirming definite device of page object offset before and after the space of a whole page adjustment according to layout position information and page object positional information; And the adjusting gear that is used for adjusting page object according to the offset of page object.
Aforesaid page object also comprises being used for according to layout position information and page object positional information with the self-adjusting system of the space of a whole page, judge and write down former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between the pen recorder of position relation.
Aforesaid page object is with the self-adjusting system of the space of a whole page; Wherein, Adjusting gear also be used for according to the former space of a whole page adjustment of the printing plate of recording device records in the face of resemble and the type page and the page between position related key justifying in the face of resembling, make it keep on the former space of a whole page and the position relationship between the type page and the page.
Aforesaid page object is with the self-adjusting system of the space of a whole page, also comprises the calculation element that is used to calculate the wide and high scaling of the space of a whole page adjustment back page or type page.
Aforesaid page object is with the self-adjusting system of the space of a whole page; Wherein, When four limits of page object did not all overlap with four limits of the type page and the page, said adjusting gear also was used for the page or the wide and high scaling of type page according to calculation element calculating, and the size of page object is adjusted.
Aforesaid page object is with the self-adjusting system of the space of a whole page; Wherein, Adjusting gear also is used for according to the page or the wide and high scaling of type page that calculation element calculates the limit that page object did not carry out adjusted size being adjusted, but does not change the position relation between page object and the type page or the page.
The method of the invention and system, after space of a whole page adjustment, the page object in the space of a whole page can be fast and accurately along with the space of a whole page be adjusted automatically, the personnel's manual adjustment that need not to set type, thus reduced the composing time, improved composing efficient.
Description of drawings
Fig. 1 is that page object described in the embodiment 1 is with the structured flowchart of space of a whole page automatic adjustment system;
Fig. 2 is that page object described in the embodiment 2 is with the structured flowchart of space of a whole page automatic adjustment system;
Fig. 3 is that page object described in the embodiment 3 is with the structured flowchart of space of a whole page automatic adjustment system;
Fig. 4 is that page object described in the embodiment 1 is with the process flow diagram of space of a whole page automatic adjusting method;
Fig. 5 is a process flow diagram of confirming the offset method of space of a whole page adjustment front and back page object described in the embodiment 1;
Fig. 6 is a space of a whole page synoptic diagram among the embodiment 1;
Fig. 7 is to be reference point to the space of a whole page shown in Figure 6 with upper left angle point among the embodiment 1, by the space of a whole page synoptic diagram after vertically being adjusted into laterally;
Fig. 8 is to be reference point to the space of a whole page shown in Figure 6 with the bottom right angle point among the embodiment 1, by the space of a whole page synoptic diagram after vertically being adjusted into laterally;
Fig. 9 amplifies the space of a whole page shown in Figure 6 among the embodiment 2, and adjusted space of a whole page synoptic diagram is carried out in the page object position;
Figure 10 faces the effect synoptic diagram after resembling to the space of a whole page shown in Figure 9 according to the position related key justifying of the page object and the page and type page in the former space of a whole page among the embodiment 2.
Embodiment
Below in conjunction with embodiment and accompanying drawing, describe the present invention.
Embodiment 1
Fig. 1 has shown the structured flowchart of the said page object of present embodiment with space of a whole page automatic adjustment system.This system comprises deriving means 11, the definite device 12 that is connected with deriving means 11, the adjusting gear 13 that is connected with definite device 12.
Wherein, deriving means 11 is used to obtain space of a whole page adjustment front and back layout position information and page object positional information.Confirm that device 12 is used for confirming according to layout position information and page object positional information the offset of page object before and after the space of a whole page adjustment.Adjusting gear 13 is used for the offset adjustment page object according to page object.
Fig. 4 has shown the method flow diagram that adopts system shown in Figure 1 adjustment page object.This method may further comprise the steps:
(1) deriving means 11 obtains space of a whole page adjustment front and back layout position information and page object positional information.
The adjustment space of a whole page comprises the size and Orientation of adjust space of a whole page, as amplifying the space of a whole page, dwindle the space of a whole page, with space of a whole page direction by vertically becoming laterally or by laterally becoming vertically etc.The space of a whole page as shown in Figure 6, rectangle frame 60 is space of a whole page border, and rectangle frame 61 is a page boundary, and rectangle frame 62 is the type page border, and all rectangle frames in the type page are the page object border.Is that reference point is as shown in Figure 7 by the space of a whole page after vertically becoming laterally with the space of a whole page shown in Figure 6 with upper left angle point, is that reference point is as shown in Figure 8 by the space of a whole page after vertically becoming laterally with the bottom right angle point.Adjustment space of a whole page size and Orientation can also with other points be reference point, di sopra mid point, upper right angle point, the right mid point, base mid point, lower left corner point, left side mid point and central point etc.
The positional information of the space of a whole page comprise before the space of a whole page adjustment with the upper left corner point coordinate of the space of a whole page adjustment back page and type page, top in point coordinate, center point coordinate in point coordinate, lower left corner point coordinate, the left side in point coordinate, lower right corner point coordinate, the base in the point coordinate, upper right corner point coordinate, the right.
The positional information of page object comprise before the space of a whole page adjustment with the upper left corner point coordinate of space of a whole page adjustment back page object, top in point coordinate, center point coordinate in point coordinate, lower left corner point coordinate, the left side in point coordinate, lower right corner point coordinate, the base in the point coordinate, upper right corner point coordinate, the right.
(2) confirm that device 12 confirms specifically to may further comprise the steps the offset of page object before and after the space of a whole page adjustment according to layout position information and page object positional information, as shown in Figure 5:
1. confirm reference point.
Reference point can select in upper left angle point, top mid point, upper right angle point, the right mid point, bottom right angle point, base mid point, lower left corner point, left side mid point or the central point more arbitrarily.
2. obtain the coordinate of the preceding page object reference point of space of a whole page adjustment with respect to type page (also can be the page, down together) reference point, horizontal ordinate is designated as X, and ordinate is designated as Y; Obtain the coordinate of space of a whole page adjustment back page object reference point with respect to the type page reference point, horizontal ordinate is designated as X ', and ordinate is designated as Y ';
3. page object is adjusted the offset P on the horizontal direction of back at the space of a whole page x=X '-X, the offset P of in the vertical direction y=Y '-Y.
For example; Select upper left angle point as reference point among Fig. 6, then page object 63 upper left angle points are adjusted the horizontal ordinate of back page object 63 upper left angle points with respect to the upper left angle point of type page with respect to the horizontal ordinate-space of a whole page of the upper left angle point of type page before page object 63 offset=space of a whole page adjustment in the horizontal direction; Page object 63 upper left angle points are adjusted the ordinate of back page object 63 upper left angle points with respect to the upper left angle point of type page with respect to the ordinate-space of a whole page of the upper left angle point of type page before the offset of page object 63 in the vertical directions=space of a whole page adjustment.
Confirm the offset of all page objects on the space of a whole page according to the method described above.
(3) adjusting gear 13 is according to all page objects in the offset adjustment space of a whole page of page object.After space of a whole page adjustment, if there is page object to exceed space of a whole page scope, then this page object is moved back in the space of a whole page, the limit of this page object is overlapped with the limit of the space of a whole page and displacement the shortest.For example, if page object has exceeded the lower boundary of the space of a whole page, the page object that then moves up overlaps with the lower boundary of the space of a whole page up to the lower boundary of this page object.If page object has exceeded the coboundary of the space of a whole page, then move down page object, overlap with the coboundary of the space of a whole page up to the coboundary of this page object.
Embodiment 2
Fig. 2 has shown the structured flowchart of the said page object of present embodiment with space of a whole page automatic adjustment system.On the basis of embodiment 1 said system, increase pen recorder 14, be connected with adjusting gear 13 with deriving means 11.
Pen recorder 14 is used for according to layout position information and page object positional information, judge and write down former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between position relation.In Fig. 6, the bottom and upper segment of page object 64 overlaps with the bottom and upper segment of type page, and the left side of page object 65 overlaps with the left side of type page etc.Adjusting gear 13 is except being used for the offset adjustment page object according to page object; Also be used for according to the former space of a whole page adjustment of the printing plate of pen recorder 14 record in the face of resemble and the type page and the page between the position relation; The adjustment page object makes it keep on the former space of a whole page and the position relationship between the type page and the page.
Adopt the method for system shown in Figure 2 adjustment page object; On the basis of embodiment 1 said method; Also comprise according to layout position information and page object positional information in the step (2), judge and write down former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between the step of position relation.Former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between position relation, can be according to the coordinate at four angles of page object and the coordinate judgement at type page and four angles of the page.For example, two end points ordinates on page object 65 left sides are in two end points ordinate scopes on the type page left side, and horizontal ordinate is identical, explains that then page object 65 left sides overlap with the type page left side.Facing the position relation that resembles with the type page and the page at former space of a whole page adjustment of the printing plate comprises:
(a) left side of page object overlaps with the left side of the type page or the page;
(b) top of page object overlaps with the top of the type page or the page;
(c) the right of page object overlaps with the right of the type page or the page;
(d) bottom of page object overlaps with the bottom of the type page or the page;
(e) left side of page object overlaps with the right of the type page or the page;
(f) top of page object overlaps with the bottom of the type page or the page;
(g) the right of page object overlaps with the left side of the type page or the page;
(h) bottom of page object overlaps with the top of the type page or the page.
In the step (3), also comprise according to former space of a whole page adjustment of the printing plate in the face of resemble and the type page and the page between position related key justifying in the face of resembling, make it keep on the former space of a whole page step with the position relationship of the type page and the page.Situation for relative both sides, position in the page object all overlap with the limit of the type page or the page makes it keep space of a whole page to adjust the position relationship between preceding and the type page and the page through adjustment page object width or mode highly; For other situation, make it keep the space of a whole page to adjust the position relationship between preceding and the type page and the page through the mode that moves page object.
For example, Fig. 9 amplifies the space of a whole page shown in Figure 6, the space of a whole page synoptic diagram behind the adjustment page object position.In the former space of a whole page, the top of page object 64 overlaps with following with the top of type page with following, and the left side of page object 65 overlaps with the left side of type page.After the space of a whole page adjustment,, increase the height of page object 64, make that bottom overlaps with the upper and lower limit of type page it on for the position relationship before keeping adjusting; Be moved to the left page object 65, its left side is overlapped with the type page left side.Adjusted effect is shown in figure 10.
Embodiment 3
Fig. 3 has shown the structured flowchart of the said page object of present embodiment with space of a whole page automatic adjustment system.On the basis of embodiment 2 said systems, increase calculation element 15, be connected with adjusting gear 13 with deriving means 11.Calculation element 15 is used to calculate the wide and high scaling of the space of a whole page adjustment back page or type page.Adjusting gear 13 also is used for when four limits of page object all do not overlap with four limits of the type page and the page, according to the page of calculation element 15 calculating or the wide and high scaling of type page, the size of page object is adjusted.
The said method of present embodiment also comprises the step of the scaling that the calculating space of a whole page adjustment back page or type page are wide and high in the step (2) on the basis of embodiment 2 said methods.When four limits of page object all do not overlap with four limits of the type page and the page, the size of page object is adjusted according to the page or the wide and high scaling of type page.
For example, the page object 63 among Fig. 9, its four limit does not all overlap with four limits of the type page and the page, promptly is not related with four limits of the type page and the page.Adjusting gear 13 is according to the wide and high adjustment carried out in proportion of type page wide and high scaling in adjustment back to this page object, amplifies or dwindles the wide and high of page object.After amplifying like the space of a whole page, type page is wide and high to be 1.2 times before the adjustment, then page object 63 wide and high is also adjusted to the space of a whole page and adjusts the wide and high 1.2 times of preceding page object 63.Adjustment page object wide and high can be point of fixity with a certain angle point or the central point of this page object, amplifies or dwindles page object through the position mode of adjusting other points.
Embodiment 4
Present embodiment is on the basis of embodiment 3; Adjusting gear 13 also is used for according to the page or the wide and high scaling of type page that calculation element 15 calculates the limit that page object did not carry out adjusted size being adjusted, but does not change the position relation between page object and the type page or the page.
For example, for the relation of the position before keeping adjusting, increased the height of page object 64 among Figure 10, made that bottom overlaps with the upper and lower limit of type page it on; Moved page object 65, its left side is overlapped with the type page left side.But the width of page object 64, the size of page object 65 are not adjusted.In the present embodiment, the width of page object 64 is also adjusted, the size of page object 65 is also adjusted, but do not change the relation that overlaps on the left side with the type page left side of page object 65 according to the scaling that type page is wide and high according to the scaling that type page is wide.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.For example, can make up or delete some characteristic among certain embodiment to the foregoing description, also can be the basis with embodiment 1 like embodiment 3, embodiment 4 also can be the basis with embodiment 2 etc.Like this, belong within the scope of claim of the present invention and equivalent technology thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1.一种版面对象随版面自动调整的方法,包括以下步骤:1. A method for automatic adjustment of layout objects along with the layout, comprising the following steps: (1)获取版面调整前后版面位置信息和版面对象位置信息;(1) Obtain the layout position information and layout object position information before and after the layout adjustment; (2)根据版面位置信息和版面对象位置信息确定版面调整前后版面对象的位置偏移;并根据版面位置信息和版面对象位置信息,判断并记录原版面上版面对象与版心和页面之间的位置关系;(2) Determine the position offset of the layout object before and after the layout adjustment according to the layout position information and the layout object position information; and judge and record the distance between the layout object on the original layout and the center of the page and the page according to the layout position information and the layout object position information Positional relationship; (3)根据版面对象的位置偏移调整版面对象,并根据原版面上版面对象与版心和页面之间的位置关系调整版面对象,使其保持原版面上与版心和页面之间的位置关系不变;在版面调整后,如果有版面对象超出了版面范围,则将该版面对象移动回版面内,使该版面对象的边与版面的边重合且移动距离最短。(3) Adjust the layout object according to the position offset of the layout object, and adjust the layout object according to the positional relationship between the layout object and the center and the page on the original layout, so that it maintains the position between the original layout, the center and the page The relationship remains unchanged; after the layout adjustment, if a layout object exceeds the range of the layout, the layout object will be moved back into the layout, so that the edge of the layout object coincides with the edge of the layout and the moving distance is the shortest. 2.如权利要求1所述的版面对象随版面自动调整的方法,其特征在于:步骤(1)中,所述版面位置信息包括页面和版心的左上角点坐标、上边中点坐标、右上角点坐标、右边中点坐标、右下角点坐标、底边中点坐标、左下角点坐标、左边中点坐标、中心点坐标;2. The method for automatically adjusting layout objects according to claim 1, characterized in that: in step (1), the layout position information includes the coordinates of the upper left corner of the page and the center of the page, the coordinates of the middle point of the upper edge, the upper right Corner coordinates, right midpoint coordinates, right lower corner coordinates, bottom midpoint coordinates, left lower corner coordinates, left midpoint coordinates, center point coordinates; 所述版面对象位置信息包括版面对象的左上角点坐标、上边中点坐标、右上角点坐标、右边中点坐标、右下角点坐标、底边中点坐标、左下角点坐标、左边中点坐标、中心点坐标。The position information of the layout object includes coordinates of the upper left corner, the coordinates of the upper midpoint, the coordinates of the upper right corner, the coordinates of the right midpoint, the coordinates of the lower right corner, the coordinates of the midpoint of the bottom, the coordinates of the lower left corner, and the coordinates of the left midpoint , Center point coordinates. 3.如权利要求1所述的版面对象随版面自动调整的方法,其特征在于:步骤(2)中,确定版面调整前后版面对象的位置偏移的过程包括以下步骤:3. The method for automatic adjustment of layout objects according to claim 1, characterized in that in step (2), the process of determining the position offset of layout objects before and after layout adjustment includes the following steps: ①确定基准点;① Determine the reference point; ②获取版面调整前版面对象基准点相对于页面或版心基准点的坐标,横坐标记为X,纵坐标记为Y;获取版面调整后版面对象基准点相对于页面或版心基准点的坐标,横坐标记为X’,纵坐标记为Y’;② Obtain the coordinates of the reference point of the layout object relative to the reference point of the page or the center of the page before the layout adjustment. , the abscissa is marked as X', and the ordinate is marked as Y'; ③版面对象在版面调整后水平方向上的位置偏移Px=X’-X,在竖直方向上的位置偏移Py=Y′-Y。③ After the layout adjustment, the position of the layout object in the horizontal direction is offset by P x =X'-X, and the position in the vertical direction is offset by P y =Y'-Y. 4.如权利要求3所述的版面对象随版面自动调整的方法,其特征在于:步骤①中,所述基准点为左上角点、上边中点、右上角点、右边中点、右下角点、底边中点、左下角点、左边中点或中心点。4. The method for automatically adjusting layout objects according to claim 3, characterized in that: in step 1., the reference points are the upper left corner point, the upper midpoint, the upper right corner point, the right midpoint, and the lower right corner point , bottom midpoint, bottom left corner point, left midpoint, or center point. 5.如权利要求1所述的版面对象随版面自动调整的方法,其特征在于:所述原版面上版面对象与版心和页面之间的位置关系包括:5. The method for automatic adjustment of layout objects according to claim 1, characterized in that: the positional relationship between the layout objects, the core of the layout, and the page on the original layout includes: (a)版面对象的左边与版心或页面的左边重合;(a) The left side of the layout object coincides with the left side of the core or the page; (b)版面对象的上边与版心或页面的上边重合;(b) The upper edge of the layout object coincides with the upper edge of the core or the page; (c)版面对象的右边与版心或页面的右边重合;(c) The right side of the layout object coincides with the right side of the core or the page; (d)版面对象的下边与版心或页面的下边重合;(d) The lower edge of the layout object coincides with the lower edge of the core or the page; (e)版面对象的左边与版心或页面的右边重合;(e) The left side of the layout object coincides with the center or the right side of the page; (f)版面对象的上边与版心或页面的下边重合;(f) The upper side of the page object coincides with the center or the lower side of the page; (g)版面对象的右边与版心或页面的左边重合;(g) The right side of the page object coincides with the center or the left side of the page; (h)版面对象的下边与版心或页面的上边重合。(h) The bottom edge of the layout object coincides with the core or the top edge of the page. 6.如权利要求5所述的版面对象随版面自动调整的方法,其特征在于:如果版面对象中位置相对的两边均与版心或页面的边重合,则调整版面对象的宽度或高度,使其保持版面调整前与版心和页面之间的位置关系不变;否则,移动版面对象,使其保持版面调整前与版心和页面之间的位置关系不变。6. The method for automatic adjustment of the layout object as claimed in claim 5, characterized in that: if the opposite sides of the layout object coincide with the center of the page or the edge of the page, then adjust the width or height of the layout object so that It keeps the positional relationship between the center of the page and the page before the layout adjustment; otherwise, it moves the layout object to keep the positional relationship between the center of the page and the page before the layout adjustment unchanged. 7.如权利要求5所述的版面对象随版面自动调整的方法,其特征在于:当版面对象的四边与版心和页面的四边均不重合时,计算版面调整后页面或版心宽和高的缩放比例,根据页面或版心宽和高的缩放比例对版面对象的尺寸进行调整。7. The method for automatic adjustment of layout objects along with the layout according to claim 5, characterized in that: when the four sides of the layout object do not coincide with the four sides of the center of the page and the four sides of the page, the width and height of the page or the center of the page after the layout adjustment are calculated Scale ratio, to adjust the size of the layout object according to the scaling ratio of the width and height of the page or core. 8.如权利要求1至7之一所述的版面对象随版面自动调整的方法,其特征在于:计算版面调整后页面或版心宽和高的缩放比例,根据页面或版心宽和高的缩放比例对版面对象中没有进行过尺寸调整的边进行调整,但不改变版面对象与版心或页面之间的位置关系。8. The method for automatically adjusting layout objects according to any one of claims 1 to 7, characterized in that: calculate the scaling ratio of the page or center width and height after the layout adjustment, according to the scaling ratio of the page or center width and height Adjust the side of the layout object that has not been adjusted in size, but does not change the positional relationship between the layout object and the core or the page. 9.一种版面对象随版面自动调整的系统,包括用于获取版面调整前后版面位置信息和版面对象位置信息的获取装置(11);用于根据版面位置信息和版面对象位置信息确定版面调整前后版面对象位置偏移的确定装置(12);用于根据版面对象的位置偏移调整版面对象以及根据记录装置(14)记录的原版面上版面对象与版心和页面之间的位置关系调整版面对象,使其保持原版面上与版心和页面之间的位置关系不变的调整装置(13);以及用于根据版面位置信息和版面对象位置信息,判断并记录原版面上版面对象与版心和页面之间位置关系的记录装置(14)。9. A system for automatically adjusting layout objects along with the layout, comprising an acquisition device (11) for obtaining layout position information before and after layout adjustment and layout object position information; for determining before and after layout adjustment according to the layout position information and layout object position information A device (12) for determining the positional offset of a layout object; used for adjusting the layout object according to the positional offset of the layout object and adjusting the layout according to the positional relationship between the layout object, the core and the page on the original layout recorded by the recording device (14) object, so as to keep the positional relationship between the original layout, the center of the page and the page unchanged (13); A recording device (14) for the positional relationship between the heart and the page. 10.如权利要求9所述的版面对象随版面自动调整的系统,其特征在于:所述系统还包括用于计算版面调整后页面或版心宽和高的缩放比例的计算装置(15)。10. The system for automatic adjustment of layout objects according to claim 9, characterized in that the system further comprises a calculation device (15) for calculating the scaling ratio of page or center width and height after layout adjustment. 11.如权利要求9或10所述的版面对象随版面自动调整的系统,其特征在于:当版面对象的四边与版心和页面的四边均不重合时,所述调整装置(13)还用于根据计算装置(15)计算的页面或版心宽和高的缩放比例,对版面对象的尺寸进行调整。11. The system for automatic adjustment of layout objects according to claim 9 or 10, characterized in that: when the four sides of the layout object do not coincide with the core and the four sides of the page, the adjustment device (13) also uses The size of the layout object is adjusted based on the scaling ratio of the page or core width and height calculated by the computing device (15). 12.如权利要求9或10所述的版面对象随版面自动调整的系统,其特征在于:所述调整装置(13)还用于根据计算装置(15)计算的页面或版心宽和高的缩放比例对版面对象中没有进行过尺寸调整的边进行调整,但不改变版面对象与版心或页面之间的位置关系。12. The system for automatically adjusting layout objects along with the layout according to claim 9 or 10, characterized in that: the adjustment device (13) is also used for scaling the page or center width and height calculated by the computing device (15) Scale adjusts the edge of the layout object that has not been adjusted in size, but does not change the positional relationship between the layout object and the core or the page.
CN2009102440503A 2009-12-28 2009-12-28 Method and system enabling layout object to be automatically adjusted along with layout Expired - Fee Related CN102110086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102440503A CN102110086B (en) 2009-12-28 2009-12-28 Method and system enabling layout object to be automatically adjusted along with layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102440503A CN102110086B (en) 2009-12-28 2009-12-28 Method and system enabling layout object to be automatically adjusted along with layout

Publications (2)

Publication Number Publication Date
CN102110086A CN102110086A (en) 2011-06-29
CN102110086B true CN102110086B (en) 2012-11-28

Family

ID=44174249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102440503A Expired - Fee Related CN102110086B (en) 2009-12-28 2009-12-28 Method and system enabling layout object to be automatically adjusted along with layout

Country Status (1)

Country Link
CN (1) CN102110086B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978756B (en) * 2014-04-02 2018-01-12 北京大学 A kind of seamless Zoom method and device of the page of embedded interactive assemblies
CN106547730B (en) * 2015-09-22 2019-10-15 北大方正集团有限公司 Method and device for automatic adjustment of layout objects
CN112801869B (en) * 2017-06-19 2024-09-24 北京嘀嘀无限科技发展有限公司 Method, system, terminal and computer equipment for zooming map
CN108073438B (en) * 2018-01-02 2020-05-12 武汉斗鱼网络科技有限公司 Page display method and device and electronic terminal
CN112988087B (en) * 2021-02-25 2023-07-25 新方正控股发展有限责任公司 Imposition method, computer-readable storage medium, and computer device
CN113253888A (en) * 2021-05-06 2021-08-13 广州文石信息科技有限公司 Layout document odd-even page display adjustment method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908930A (en) * 2006-08-16 2007-02-07 北京北大方正电子有限公司 Method for implementing automatic typesetting based on cloning block

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908930A (en) * 2006-08-16 2007-02-07 北京北大方正电子有限公司 Method for implementing automatic typesetting based on cloning block

Also Published As

Publication number Publication date
CN102110086A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN102110086B (en) Method and system enabling layout object to be automatically adjusted along with layout
US11423614B2 (en) Geometric correction of rough wireframe models derived from photographs
CN106022263B (en) A kind of wireless vehicle tracking of fusion feature matching and optical flow method
WO2017050170A1 (en) Correction method for use in laser marking and device therefor
CN104851104A (en) Flexible-target-based close-range large-field-of-view calibrate method of high-speed camera
CN104574415A (en) Target space positioning method based on single camera
WO2017114251A1 (en) Projection correction method and device
CN105021127A (en) Surface mounting machine reference camera calibration method
CN106643504B (en) It is a kind of based on tracker large-sized object three-dimensional measurement in LED label scaling method
KR20210041305A (en) Lane extraction apparatus and method
CN117036464A (en) Monocular vision guided AGV obstacle avoidance ranging method and device based on example segmentation technology
CN106780308B (en) Image perspective transformation method
US8737686B2 (en) 3D object tracking method and apparatus
CN115376090A (en) High-precision map construction method, device, electronic device, and storage medium
CN104392030A (en) Curved surface machining method based on STL (Standard Template Library) three-dimensional model
CN117057018B (en) Interior decoration design management system based on BIM
CN116562016B (en) A method for structural in-depth design of reinforced truss floor deck based on BIM
CN110189392B (en) A Method for Automatic Framing of Velocity and Direction Mapping
KR20240022986A (en) METHODS AND APPARATUS FOR ESTIMATION OF THE DISTANCE OF THE OBJECTS IN EUCLIDEAN SPACE USING FUSION OF CAMERA POSE INFORMATION and SCENE PRIOR INFORMATION'S AND THEREOF
CN110569532A (en) A Topological Consistency Optimization Method for Rectangle of Indoor Boundary Elements
CN105773968B (en) The secondary printing localization method of 3D printing positioned using camera
JP2023020967A (en) Target distance detection device and method
CN113324550A (en) Flight path correction method based on improved flight path integral and storage medium
CN104411110B (en) A kind of paster localization method and system
CN206703190U (en) A kind of MDF cuts alignment system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128

Termination date: 20191228

CF01 Termination of patent right due to non-payment of annual fee