[go: up one dir, main page]

CN100552671C - A method and system for implementing pre-typesetting - Google Patents

A method and system for implementing pre-typesetting Download PDF

Info

Publication number
CN100552671C
CN100552671C CNB2007103047832A CN200710304783A CN100552671C CN 100552671 C CN100552671 C CN 100552671C CN B2007103047832 A CNB2007103047832 A CN B2007103047832A CN 200710304783 A CN200710304783 A CN 200710304783A CN 100552671 C CN100552671 C CN 100552671C
Authority
CN
China
Prior art keywords
typesetting
size
block
layout
manager
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
CNB2007103047832A
Other languages
Chinese (zh)
Other versions
CN101196876A (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 International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing 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 International Beijing Co Ltd filed Critical Peking University
Priority to CNB2007103047832A priority Critical patent/CN100552671C/en
Publication of CN101196876A publication Critical patent/CN101196876A/en
Application granted granted Critical
Publication of CN100552671C publication Critical patent/CN100552671C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

本发明涉及一种预排版的实现方法及系统,属于计算机印前排版领域。现有技术中,排版时首先进行排版块的编辑,然后将编辑好的素材排入编辑好的排版块中,其中排版块大小与素材大小紧密相关,在排版块与素材编辑并行处理时,排版块与素材大小难以匹配,不能适应分布式并行处理的需要。本发明所述的方法,关联管理器建立排版块与素材的关联,并通过快速预排提高排版的效率。采用本发明所述的方法及系统,在排版时实现了基于网络的版面设计与素材编辑的协同方式,以及在素材更新时不影响版面布局,很容易适应报纸类出版的快捷要求。

The invention relates to a method and system for realizing pre-press typesetting, belonging to the field of computer pre-press typesetting. In the prior art, the typesetting block is first edited during typesetting, and then the edited material is placed into the edited typesetting block, wherein the size of the typesetting block is closely related to the size of the material. When the typesetting block and material editing are processed in parallel, the typesetting It is difficult to match the size of the section and the material, and cannot meet the needs of distributed parallel processing. In the method of the present invention, the association manager establishes the association between typesetting blocks and materials, and improves the efficiency of typesetting through fast presetting. By adopting the method and system of the present invention, the web-based layout design and the collaborative mode of material editing are realized during typesetting, and the layout is not affected when the material is updated, and it is easy to adapt to the quick requirements of newspaper publishing.

Description

A kind of implementation method of pre-typesetting and system
Technical field
The invention belongs to the preceding type-setting domain of computing machine seal, be specifically related to a kind of implementation method and system of pre-typesetting.
Background technology
In the prior art, when setting type before computing machine prints, the process of typeset of the space of a whole page is: at first the space of a whole page is divided, the content that preparation is entered the space of a whole page is handled, according to ready-portioned one layout region, import related materials, and then carry out whole processing at the content that enters.Above-mentioned composition method complicated operation, most importantly for be difficult to adapt to publication in time, requirement accurately and efficiently, particularly for the newspaper industry, the informational needs that publish its every day upgrades in time, require to set type quick and precisely, and the space of a whole page relative fixed of newspaper still adopts existing method to handle the composing material on the relatively-stationary space of a whole page, wastes time and energy.
In addition, prior art also has following a kind of disposal route, domestic relevant patent such as publication number are: CN1501285A, application time is 2003-9-24, patent name " composing system; page layout program and composition method ", this patent has proposed a kind of composition method, under situation that can not determine the publication information attribute in advance, realize the composing system and the method for composing, this patent proposes the distribution of contents end and selects report from content login end, number of characters according to the report of selecting, from the template login, select Page Template, according to the Page Template composing report of selecting, specifically, the report of not publication is calculated its total number of characters, according to total number of characters, maximum number of pages, current page is figured out every page average number of characters of the untreated page, selects to publish the Page Template that number of characters meets the average number of characters of calculating from template.Above-mentioned patent need preestablish a large amount of Page Templates, if the Page Template that meets with average number of characters not can't be set type.This patent is used underaction, and the work disposal amount is big, can not satisfy fast-developing composing demand.
Summary of the invention
At problems of the prior art, the implementation method and the system that the purpose of this invention is to provide a kind of pre-typesetting, in pre-determined stroke of version zone, enter the composing piece that is used for occupy-place by this method and system, attributes such as size according to the predefined font of composing piece, font size, line-spacing and composing piece, automatically calculate the alphabetic character quantity that can enter material in the composing piece, and between composing piece ID and material ID, set up corresponding relation, material enters in the composing piece automatically then, thereby realize layout and material editor's co-operating, flexible.
For achieving the above object, the technical solution used in the present invention is: a kind of implementation method of pre-typesetting comprises the steps:
(1) when computing machine is set type, enter the composing piece in space of a whole page one layout region, the user is provided with the attribute of composing piece as required, the attribute of described composing piece comprises about the size, position, font, font size, word space, line space, the world of composing piece the width of cloth and adjusts mode automatically, wherein, adjustment mode automatically comprises automatic change and from dynamic deformation;
(2) set up related between composing piece and the material;
(3) carry out walkthrough: related according between composing piece in the step (2) and the material, the user can select set type piece walkthrough or material walkthrough as required;
During composing piece walkthrough, the property calculation of the composing piece that space of a whole page manager is set according to user in the step (1) piece that goes out to set type allows the scope W of the size of the material that enters, and feed back to the material management device, the property calculation of the composing piece that the material management device is set according to user in the step (1) goes out the big or small H of material itself, and while material management device judges that the big or small H of material itself is whether in scope W; If H in scope W, then directly enters next step, if H not in scope W, then material management device prompting W is not complementary with H, the user can delete material according to this information and add processing; Described composing piece allows the scope W of the size of the material that enters to be meant the interval range of (W1-W2), if W1 is composing piece last column when only arranging an alphabetic character, other row is when all arranging language of the Manchus word character, and the composing piece that space of a whole page manager calculates allows the material size that enters; W2 is meant when composing piece last column row language of the Manchus word, and when other row was also all arranged language of the Manchus word, space of a whole page manager calculated the composing piece and allows the material size that enters;
During the material walkthrough, the material management device is according to the attribute of the composing piece of user's setting in the step (1), calculate the big or small H of material itself, and feed back to space of a whole page manager, the property calculation of the composing piece that space of a whole page manager is set according to user in the step (1) piece that goes out to set type allows the scope W of the size of the material that enters, and according to the big or small H of material itself, if H is in the scope of W, then directly enter step (4), if H is not in the scope of W, then space of a whole page manager calculates the difference between W and the H, if H, then calculates the peaked difference of H and W greater than the maximal value of W; If H less than the minimum value among the W, then calculates the difference of H and W minimum value, the preferred sequence of the composing tile height set according to this difference and user of space of a whole page manager and width and the setting range adjusted size of piece of setting type then;
(4) the formal composing: material flow in the composing piece, if the material size with the composing block size when inconsistent, the composing piece is adjusted automatically according to the automatic adjustment mode of setting in the step (1), adjustment finishes, processing finishes.
Further, described composing piece is meant the closed region of the material that can enter literal, figure, image, OLE piece or its mixing composition in the space of a whole page, the shape of this packaging area can be polygon-shaped, its size, angle, the equal scalable in position, and can preserve the default attribute that enters material, described default attribute comprises line-spacing, font, font size;
Further, described material is the typesetting data that literal, figure, image, OLE piece or its mixing are formed;
Further, described material size is represented with the alphabetic character number of material, the alphabetic character number is meant that the number of words in the material adds figure, image, OLE piece etc. is converted into the summation of the number of literal according to its size according to the attribute of composing piece setting that the attribute of described composing piece setting comprises font, font size, word space and line space;
Further, in the step (2), when setting up related between composing piece and the material, concrete grammar is: set up the corresponding relation between composing piece ID and the material ID;
Further, in step (1) and (4), described composing piece when dynamic deformation is meant that material flows into the composing piece, width of cloth attribute is constant about the font of composing piece, font size, word space, line space, the world, the composing piece is adjusted the size of composing piece automatically according to the size of material, promptly the set type height or the width of piece carry out according to priority and the setting range set during adjustment; The automatic change of described composing piece is meant that the size of composing piece remains unchanged, the composing piece is adjusted width of cloth attribute about font, font size, word space, line space, the world automatically according to the size of the material that needs enter, and carries out according to priority and the setting range set during adjustment;
Further, in the step (4), when material flowed into the composing piece, the attribute that material is set according to the composing piece flowed in this composing piece, if there is the typesetting data that has defined the composing attribute in the material, then this typesetting data flows in the composing piece with its composing attribute; Usually material all is not have attribute, i.e. not Set Font, font size, line-spacing etc., but the user is in order to reach the effect that highlights sometimes, can set special composing attribute to the partial content of material, as title is set is the font or the font size of appointment, and these composing attributes still keep its original composing attribute when material flows into the composing piece;
Further, in the step (4), after the composing piece was automatically adjusted, if the size of the size of composing piece and material still is not complementary, then the content that the user can the manual adjustment material or the attribute of composing piece flowed into material then again.
A kind of realization system of pre-typesetting, this system comprises:
1) space of a whole page manager: be used for the management of space of a whole page composing piece, can preserve the composing piece attribute that the user sets, comprise the size of composing piece position, composing piece and the automatic adjustment mode of composing piece; The piece that can go out to set type according to the property calculation of composing piece allows the scope W of the size of the material that enters, and feeds back to the material management device; Space of a whole page manager can be accepted the feedback of material management device, and according to the big or small H of material itself, if H is in the scope of W, then directly formally set type, if H is not in the scope of W, then space of a whole page manager calculates the difference between W and the H, if H, then calculates the peaked difference of H and W greater than the maximal value of W; If H less than the minimum value among the W, then calculates the difference of H and W minimum value, the set type adjusted size of piece of the composing tile height that space of a whole page manager is set according to this difference and user and the preferred sequence of width and setting range;
2) material management device: be in charge of the material that is drained in the composing piece, and can go out the size of material, and feed back to space of a whole page manager according to the property calculation of composing piece; The material management device can be accepted the feedback of space of a whole page manager, and whether the big or small H that judges material itself in the composing piece allows the scope W of size of the material that operation enters, and as H not in the scope at W, prompting W and H are not complementary;
3) association manager is used to set up and preserve related between composing piece and the material.
Effect of the present invention is: adopt method and system of the present invention, in one layout region, enter the composing piece that is used for occupy-place, by setting up the corresponding relation of composing piece and material, the material related content all is quantified as the alphabetic character number, according to predefined composing piece attribute, material is entered the space of a whole page, realized layout and material editor's co-operating mode, and the renewal of material does not influence space of a whole page layout, increased the accuracy rate of typesetting data, but enlarge the operating space of layout, particularly good effect is arranged for composings such as timely news.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for the invention;
Fig. 2 is the structural representation of system of the present invention;
Fig. 3 is a composing piece synoptic diagram;
Fig. 4 is the picture in the material;
Fig. 5 is the design sketch after material flows into the composing piece;
Fig. 6 is the design sketch that Fig. 5 adopts the mode of adjusting automatically from dynamic deformation in the formal space of a whole page;
Fig. 7 is that Fig. 5 adopts automatic change to adjust the design sketch of mode automatically in the formal space of a whole page.
Embodiment
The invention will be further described below in conjunction with specification drawings and specific embodiments.
Embodiment 1
Adopt the implementation method of a kind of pre-typesetting of the present invention to finish, as shown in Figure 1, specifically may further comprise the steps:
Step 1, when computing machine is set type, enter the composing piece in space of a whole page one layout region, the user is provided with the attribute 11 of composing piece as required, the attribute of described composing piece is meant information such as width of cloth and adjustment mode automatically about the size, position, font, font size, word space, line space, the world of composing piece, wherein, adjustment mode automatically comprises automatic change and from dynamic deformation; Described composing piece is meant the closed region of the material that can enter literal, figure, image, OLE piece or its mixing composition in the space of a whole page, the shape of this packaging area can be polygon-shaped, its size, angle, the equal scalable in position, and can preserve the default attribute that enters material such as line-spacing, font, font size etc.;
In present embodiment, at first the user enters the composing piece as shown in Figure 3 on the space of a whole page, and this composing piece is a rectangle; The user is provided with the attribute information of composing piece as required, information such as the width of cloth and adjustment mode automatically about the size, position, font, font size, word space, line space, the world of piece of promptly setting type, be specially: the size of composing piece is 10.2*11.05CM, and the position occupy space of a whole page central authorities; Line space: 1.5 times of line-spacings; Font: the Song typeface; Font size: 14pt; The width of cloth is about the world: before the section: 0pt, section back: 0pt, character pitch: 0.3pt, first trip indentation: 0.55cm, text block back gauge: upper and lower, left and right are 2pt; If when picture, OLE piece or figure etc. are arranged, specify its concrete type-setting mode simultaneously, the composing format of designated pictures is in the present embodiment: embedded; The adjustment mode of composing piece is from dynamic deformation, and the user set the priority of composing piece when dynamic deformation and was this moment: the composing tile height is composing piece width then; Setting range is: height adjustment range ± 2.0cm, width adjustment scope ± 0.5cm;
In the practical operation, the composing piece can be other shape such as circle or triangle and other shape, if the composing piece is other outer shape of rectangle, elder generation sets type after other shape is divided into rectangle again when then setting type;
Step 2, set up related 12 between composing piece and the material; Promptly set up the composing piece and need enter corresponding relation between the material in this composing piece, both are mapped by setting up related between composing piece ID and the material ID;
Material is meant the typesetting data that literal, figure, image, OLE piece or its mixing are formed, and in present embodiment, material is made up of literal and picture, and picture as shown in Figure 4;
The particular content of literal is: People's Bank of China decision: adjust financial institution's Renminbi basic interest rates on deposits and loans from Dec 21st, 2007, term deposit benchmark interest rate brings up to 4.14% by existing 3.87%, raises 0.27 percentage point; One term loan benchmark interest rate brings up to 7.47% by existing 7.29%, raises 0.18 percentage point; The corresponding adjustment of benchmark interest rate of depositing, provide a loan of other each class.Individual's public accumalation fund for housing construction loan interest rate remain unchanged (concrete level is seen attached list).This time adjust and help preventing that economic growth from transferring to overheatedly by fast, prevent that price from developing into tangible currency inflation by structural rise.The enforcement of this policy, though the amount that deposit is adjusted is not high, loan interest rate does not improve, and is therefore bigger to the civic psychological impact, thereby can stimulate civic common reserve fund consumer psychology to a certain extent.
Usually material all is not have attribute, i.e. not Set Font, font size, line-spacing etc., but the user is in order to reach the effect that highlights sometimes, can set special composing attribute to the partial content of material, in present embodiment, the user is in order to highlight, and typesetting data character " 3.87% " and " 4.14% " defined the composing attribute of the inclination of its font; These composing attributes still keep its original composing attribute when material flows into the composing piece in step (4);
Step 3, carry out walkthrough: related according between the composing piece of setting up in the step 2 and the material, the user can clearly understand the material content that the composing piece will enter, this moment user's can select according to actual needs to set type piece walkthrough or material walkthrough;
During composing piece walkthrough, the property calculation of the composing piece that space of a whole page manager is set according to user in the step (1) piece that goes out to set type allows the scope W of the size of the material that enters, and feed back to the material management device, the property calculation of the composing piece that the material management device is set according to user in the step (1) goes out the big or small H of material itself, and while material management device judges that the big or small H of material itself is whether in scope W; If H in scope W, then directly enters next step, if H not in scope W, then material management device prompting W is not complementary with H, the user can delete material according to this information and add processing; Described composing piece allows the scope W of the size of the material that enters to be meant the interval range of (W1-W2), if W1 is composing piece last column when only arranging an alphabetic character, other row is when all arranging language of the Manchus word character, and the composing piece that space of a whole page manager calculates allows the material size that enters; W2 is meant when composing piece last column row language of the Manchus word, and when other row was also all arranged language of the Manchus word, space of a whole page manager calculated the composing piece and allows the material size that enters;
In present embodiment, owing to set up related between composing piece and the material, the user clearly understands the detailed content that enters the material in the composing piece 31, be text described in the step 2 and picture as shown in Figure 4, the user thinks that the material content is many, and the composing piece is relatively little, therefore, the user has selected composing piece walkthrough, under this kind situation, space of a whole page manager is according to the attribute (size of the piece of promptly setting type of the composing piece of user's setting in the step (1), the position, font, font size, word space, line space, the width of cloth and automatic information such as adjustment mode about the world) to calculate scope that this composing piece allows the size of the material that enters be that the scope of alphabetic character number is between 253 to 273 number field (when last column is only arranged an alphabetic character in the piece if promptly set type, when other row was all arranged language of the Manchus word character, the material size that the composing piece that space of a whole page manager calculates allows to enter was 253 characters for W1; When composing piece last column row language of the Manchus word, when other row is also all arranged language of the Manchus word, it is 273 characters for W2 that space of a whole page manager calculates the material size that the composing piece allows to enter), and give the material management device with this information feedback, the size that the property calculation of the composing piece that the material management device is set according to user in the step (1) goes out material itself is that the alphabetic character number is 370, and its Chinese version accounts for 265; Picture accounts for 105, simultaneously, the material management device judges relatively whether 370 be included between 253 to 273 number field, but 370 of the sizes of material are not included between 253 to 273 number field in the present embodiment, then material management device prompting composing piece and material size are not complementary, the user can delete that to make its material size As soon as possible Promising Policy should the composing piece allow the scope of the size of the material that enters be the scope of alphabetic character number according to this information to material, it is the last word (that is: enforcement of this policy that the user has deleted the literal in the material shown in the step 2 that the user receives after the information 65 literal of material deletion, though the amount that deposit is adjusted is not high, but loan interest rate does not improve, therefore bigger to the civic psychological impact, thus civic common reserve fund consumer psychology can be stimulated to a certain extent.), the size of material becomes 305 alphabetic characters like this, enters step 4;
Material in the present embodiment has literal, picture is also arranged, the material management device is when calculating material big or small, literal is very simple, the number of characters that directly calculates literal is 265, when picture was converted into alphabetic character, computing method were: according to the size of picture itself, and the attribute of setting according to the composing piece that this picture will enter (being font, font size, word space, line space) is converted into the alphabetic character number that need take; The alphabetic character number that takies of picture in the present embodiment is 105 as a result, picture in the present embodiment in the material is provided with as can be known according to the attribute of composing piece, and the picture layout mode is an embedded type, in fact the picture format is divided into embedded, floating type, different mode such as formula on every side, if it is floating type, then needn't calculate the character that picture takies, because this moment, picture floated on the literal top, do not take the typesetting space of literal; Therefore be different for its its shared alphabetic character number of composing piece property calculation of same picture according to correspondence;
Be that material is many in the present embodiment, be complementary in order to make material and composing piece, so deleted partial content; Certainly, if the material text is fewer, the user can select to add the part material; By the layout that has satisfied the composing space of a whole page of the very big degree of above-mentioned walkthrough process, promptly material mates the attribute specification of corresponding composing piece;
In the present embodiment, the user has selected composing piece walkthrough when walkthrough, in fact, can not change if the user determines the content of this material, but the size of composing piece can change, and obviously selects this moment the material walkthrough more appropriate.During the material walkthrough, the material management device is according to the attribute of the composing piece of user's setting in the step (1), the big or small H that calculates material itself is 370 alphabetic characters, and feed back to space of a whole page manager, the property calculation of the composing piece that space of a whole page manager is set according to user in the step (1) goes out to set type, and to allow the scope W of the size of the material that enters be between 253 to 273 number field to piece, big or small H according to material itself, if H is in the scope of W, then directly enter step 4, if H is not in the scope of W, then space of a whole page manager calculates the difference between W and the H, if H, then calculates the peaked difference of H and W greater than the maximal value of W; If H is less than the minimum value among the W, then calculate the difference of H and minimum value, the composing tile height set according to this difference and user of space of a whole page manager and the preferred sequence and the setting range of width are carried out adjusted size then, in the present embodiment, if the user sets the priority of composing piece: the height of only adjusting the composing piece, (height of the piece of promptly setting type can increase by 6 row at most to its height adjustment range when increasing for ± 6 times of row height, the height minus of composing piece can reduce by 6 row at most after a little while), because the big or small H (370) of material itself allows (273) 87 characters of greatest measure of the size of the material that enters more than the composing piece, therefore the space of a whole page manager line number that will calculate these 87 characters and should increase when entering in the composing piece height of setting type, be that 5 times of row are high as can be known after the calculating, therefore the height with the composing piece has increased by 5 times of sizes that row is high, to adapt to the size of material; So also can tentatively realize setting type being complementary of piece and material;
Step 4, the formal composing: material flow in the composing piece, if during not of uniform size the causing of the size of material and composing piece, the composing piece is adjusted automatically according to the automatic adjustment mode of setting in the step (1), and adjustment finishes, the processing end;
In present embodiment, during formal the composing, material is flow in the composing piece, comprise literal and picture in this material, the attribute that this material is set according to the composing piece flows in this composing piece, but defined the inclination composing attribute of font in the word content of material for typesetting data character " 3.87% " and " 4.14% ", therefore typesetting data " 3.87% " and " 4.14% " flow in the composing piece according to the font inclination attribute of its setting, picture size remains unchanged, other textual materials flows into according to the attribute of composing piece, as shown in Figure 5;
As shown in Figure 5, after material flow into the composing piece in the present embodiment, because during composing piece walkthrough, the operation of deleting of material does not make its satisfied composing piece allow the scope of the size of the material that enters, under this material still still can not set type in the composing piece, because, the alphabetic character that the composing piece can be set type is 253 to 273 characters, and the size of material is 305 characters, for above-mentioned material is all entered in the composing piece, owing to determine in the step 1 that the automatic adjustment mode of composing piece is from dynamic deformation, the piece of promptly setting type keeps line-spacing, font, attributes such as font size are constant, the size that the alphabetic character quantity of the material that the composing piece enters according to needs is adjusted the composing piece automatically promptly the set type height or the width of piece, carry out according to priority and the setting range set when the height of automatic adjustment composing piece or width, priority and setting range are set in step 1, therefore, the composing piece is keeping line-spacing, font, under the constant situation of attributes such as font size, (be that priority is: the composing tile height is composing piece width then according to the setting range of setting in the step 1 and adjustment order; Setting range is: height adjustment range ± 2.0cm, and the width adjustment scope ± 0.5cm), the composing piece is adjusted it automatically and highly is 11.7cm, width is 11.23cm, adjusts the back material and all enters in the composing piece, and both just adapt to, composing finishes, and processing finishes, as shown in Figure 6; Certainly, in the practical operation, still do not match with material after the piece of can setting type is automatically adjusted, the content that this moment, the user can the manual modification material or the attribute of composing piece allow material flow into again, then till satisfaction.
Example example 2
The present embodiment difference from Example 1 is that in the step 1, the automatic adjustment mode that the user sets the composing piece is change automatically, and the preferred sequence and the setting range of the automatic change of user's appointment are simultaneously: priority: font size, font, and line-spacing remains unchanged; Setting range is font size: 10pt-14pt, font: the Song typeface, regular script, black matrix, imitation Song-Dynasty-style typeface;
In the step 4 when material flow in the composing piece, as shown in Figure 5, composing piece and material can't be complementary, at this moment, the composing piece is according to the i.e. change automatically of the composing piece adjustment mode that sets, priority and setting range according to the adjustment of composing piece, under the big or small constant situation that promptly keeps 10.2*11.05CM that keeps the composing piece, it is 12pt that the composing piece is adjusted into textual materials font size automatically, font is the Song typeface, and line-spacing is 1.5 times of line-spacings, and picture size is constant, this moment, all the composing material entered in the composing piece, as shown in Figure 7.
As can be seen from the above-described embodiment, walkthrough process among the present invention can be dwindled the gap between composing piece and the material greatly, but can not guarantee fully consistent with actual composing effect, on the basis of walkthrough, automatic adjustment through composing piece in the step 4, the effect that piece and material mate mutually then can realize setting type, even not exclusively mate sometimes, its deviation is also very little, support that the user revises by hand, great advantage of the present invention obviously is can the batch processing material, and layout personnel and material editorial staff co-operating simultaneously can realize setting type easily and fast.
Embodiment 3
A kind of realization system of pre-typesetting, as shown in Figure 2, this system comprises:
1) space of a whole page manager 21: be used for the management of space of a whole page composing piece, can preserve composing piece attribute, composing piece position, the size of composing piece and the information such as automatic adjustment mode of composing piece that the user sets; The piece that can go out to set type according to the property calculation of composing piece allows the size of the material that enters, and feeds back to the material management device; Space of a whole page manager can be accepted the feedback of material management device, calculates the size that should possess when the composing piece enters this material according to the size of this material;
2) the material management device 22: be in charge of the material that is drained in the composing piece, and can go out the size of material according to the property calculation of composing piece, and feed back to space of a whole page manager; The material management device can be accepted the feedback of space of a whole page manager, when the material size that allows to enter when the size of finding material and composing piece is not complementary, provides information;
3) association manager 23, are used to set up and preserve related between composing piece and the material.
The present invention is the method and the device of the quick walkthrough of a kind of space of a whole page, be not limited to the embodiment described in the embodiment according to method of the present invention, those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.

Claims (9)

1、一种预排版的实现方法,包括如下步骤:1. A method for implementing pre-typesetting, comprising the steps of: (1)在计算机进行排版时,在版面排版区域排入排版块,用户根据需要设置排版块的属性,所述的排版块的属性包括排版块的大小、位置、字体、字号、字间距、行间距、天地左右幅和自动调整方式,其中,自动调整方式包含自动变更和自动变形;(1) When the computer is performing typesetting, typesetting blocks are arranged in the layout area, and the user sets the properties of the typesetting blocks according to needs. The properties of the typesetting blocks include the size, position, font, font size, word spacing, line Spacing, left and right width of the sky and earth, and automatic adjustment methods, wherein the automatic adjustment methods include automatic change and automatic deformation; (2)建立排版块与素材之间的关联;(2) Establish the relationship between the typesetting block and the material; (3)进行预排:根据步骤(2)中排版块与素材之间的关联,用户根据需要可以选择排版块预排或者素材预排;(3) Perform pre-arrangement: according to the association between the typesetting block and the material in step (2), the user can select the typesetting block pre-arrangement or the material pre-arrangement according to needs; 排版块预排时,版面管理器依据步骤(1)中用户设定的排版块的属性计算出排版块允许排入的素材的大小的范围W,并反馈给素材管理器,素材管理器根据步骤(1)中用户设定的排版块的属性计算出素材本身的大小H,同时素材管理器判断素材本身的大小H是否在范围W内;如果H在范围W内,则直接进入下一步,如果H不在范围W内,则素材管理器提示W与H不相匹配,用户可以根据该提示信息对素材进行删减添加处理;所述的排版块允许排入的素材的大小的范围W是指(W1-W2)的区间范围,W1为排版块最后一行如果只排一个文字字符时,其它行均排满文字字符时,版面管理器计算出的排版块允许排入的素材大小;W2是指当排版块最后一行排满文字时,其它行也均排满文字时,版面管理器计算出排版块允许排入的素材大小;When the typesetting block is pre-arranged, the layout manager calculates the size range W of the material that the typesetting block is allowed to enter according to the attributes of the typesetting block set by the user in step (1), and feeds back to the material manager. In (1), the size H of the material itself is calculated from the properties of the typesetting block set by the user, and at the same time the material manager judges whether the size H of the material itself is within the range W; if H is within the range W, then directly enter the next step, if H is not within the range W, then the material manager will prompt that W does not match H, and the user can delete and add the material according to the prompt information; the range W of the size of the material that is allowed to be arranged in the typesetting block refers to ( W1-W2), W1 is the size of material that is allowed to be placed in the typesetting block calculated by the layout manager when only one text character is arranged in the last line of the typesetting block, and other lines are full of text characters; When the last line of the typesetting block is full of text and other lines are also full of text, the layout manager calculates the size of the material that the typesetting block is allowed to enter; 素材预排版时,素材管理器依据步骤(1)中用户设定的排版块的属性,计算出素材本身的大小H,并反馈给版面管理器,版面管理器依据步骤(1)中用户设定的排版块的属性计算出排版块允许排入的素材的大小的范围W,并依据素材本身的大小H,如果H在W的范围内,则直接进入步骤(4),如果H不在W的范围内,则版面管理器计算W和H之间的差值,如果H大于W的最大值,则计算H与W最大值的差值;如果H小于W中的最小值,则计算H与W最小值的差值,然后版面管理器根据该差值和用户设定的排版块高度和宽度的优选顺序和调整范围进行排版块的尺寸调整;When the material is pre-typesetting, the material manager calculates the size H of the material itself according to the properties of the typesetting block set by the user in step (1), and feeds it back to the layout manager. The layout manager bases the user's setting in step (1) Calculate the size range W of the material that the typesetting block allows to be placed in according to the properties of the typesetting block, and based on the size H of the material itself, if H is within the range of W, then go directly to step (4), if H is not within the range of W within, the layout manager calculates the difference between W and H, if H is greater than the maximum value of W, calculates the difference between H and the maximum value of W; if H is less than the minimum value of W, then calculates the minimum value of H and W value, and then the layout manager adjusts the size of the layout block according to the difference and the preferred order and adjustment range of the height and width of the layout block set by the user; (4)正式排版:素材流入到排版块中,如果素材大小与排版块大小不一致时,排版块按照步骤(1)中设定的自动调整方式进行自动调整,调整完毕,处理结束。(4) Formal typesetting: the material flows into the typesetting block. If the size of the material is inconsistent with the size of the typesetting block, the typesetting block is automatically adjusted according to the automatic adjustment method set in step (1). After the adjustment is completed, the processing ends. 2、如权利要求1所述的一种预排版的实现方法,其特征在于:所述的排版块是指版面中可以排入文字、图形、图像、OLE块或者其混合组成的素材的封闭区域,该封闭区域的形状可以是多边形状,其大小、角度、位置均可调节,并且可以保存排入素材的缺省属性,所述缺省属性包括行距、字体、字号。2. A method for realizing pre-typesetting as claimed in claim 1, characterized in that: said typesetting block refers to a closed area in the layout where text, graphics, images, OLE blocks or materials composed of a mixture thereof can be placed , the shape of the enclosed area may be a polygon, its size, angle, and position can be adjusted, and the default attributes of the input material can be saved, and the default attributes include line spacing, font, and font size. 3、如权利要求1所述的一种预排版的实现方法,其特征在于:所述的素材是指文字、图形、图像、OLE块或者其混合组成的排版数据。3. A method for implementing pre-typesetting according to claim 1, wherein said material refers to typesetting data composed of text, graphics, images, OLE blocks or a mixture thereof. 4、如权利要求3所述的一种预排版的实现方法,其特征在于:所述的素材的大小以素材的文字字符数目表示,文字字符数目是指素材中的文字数目加上将图形、图像、OLE块按照其大小依据排版块设置的属性换算成文字的数目的总和,所述排版块设置的属性包括字体、字号、字间距和行间距。4. A method for realizing pre-typesetting as claimed in claim 3, characterized in that: the size of the material is represented by the number of text characters in the material, and the number of text characters refers to the number of text in the material plus the number of graphics, The size of the image and the OLE block is converted into the sum of the number of characters according to the attributes set by the typesetting block. The attributes set by the typesetting block include font, font size, word spacing and line spacing. 5、如权利要求1、2或3所述的一种预排版的实现方法,其特征在于:步骤(2)中,建立排版块与素材之间的关联时,具体方法是:建立排版块ID与素材ID之间的对应关系。5. A method for realizing pre-typesetting as claimed in claim 1, 2 or 3, characterized in that: in step (2), when establishing the association between the typesetting block and the material, the specific method is: establishing the typesetting block ID The corresponding relationship with the material ID. 6、如权利要求1、2或3所述的一种预排版的实现方法,其特征在于:所述的排版块的自动变形是指素材流入排版块时,排版块的字体、字号、字间距、行间距、天地左右幅等属性不变,排版块依据素材的大小自动调整排版块的大小,即排版块的高度或宽度,调整时依据设定的优先顺序以及调整范围进行;所述的排版块的自动变更是指排版块的大小保持不变,排版块依据需要排入的素材的大小自动调整字体、字号、字间距、行间距、天地左右幅等属性,调整时依据设定的优先顺序以及调整范围进行。6. A method for realizing pre-typesetting as claimed in claim 1, 2 or 3, characterized in that: the automatic deformation of the typesetting block refers to when the material flows into the typesetting block, the font, font size, and word spacing of the typesetting block , line spacing, left and right width and other properties remain unchanged, the layout block automatically adjusts the size of the layout block according to the size of the material, that is, the height or width of the layout block, and the adjustment is carried out according to the set priority and adjustment range; the above layout The automatic change of the block means that the size of the typesetting block remains unchanged, and the typesetting block automatically adjusts the font, font size, character spacing, line spacing, left and right width and other attributes according to the size of the material to be placed, and the adjustment is based on the set priority and adjust the range. 7、如权利要求1、2或3所述的一种预排版的实现方法,其特征在于:步骤(4)中,素材流入排版块时,素材按照排版块设定的属性流入该排版块中,若素材中存在已定义排版属性的排版数据,则该排版数据以其排版属性流入排版块中。7. A method for realizing pre-typesetting as claimed in claim 1, 2 or 3, characterized in that: in step (4), when the material flows into the typesetting block, the material flows into the typesetting block according to the attributes set by the typesetting block , if there is typesetting data with defined typesetting attributes in the material, the typesetting data will flow into the typesetting block with its typesetting attributes. 8、如权利要求1、2或3所述的一种预排版的实现方法,其特征在于:步骤(4)中,排版块自动调整后,如果排版块的大小与素材的大小仍然不相匹配,则用户可以手动调整素材的内容或者排版块的属性,然后重新流入素材。8. A method for implementing pre-typesetting according to claim 1, 2 or 3, characterized in that: in step (4), after the typesetting block is automatically adjusted, if the size of the typesetting block still does not match the size of the material , the user can manually adjust the content of the material or the properties of the typesetting block, and then flow into the material again. 9、一种预排版的实现系统,该系统包括:9. A pre-typesetting realization system, the system comprising: 1)版面管理器:用于版面排版块的管理,能够保存用户设定的排版块属性,包括排版块位置、排版块的大小和排版块的自动调整方式;能够依据排版块的属性计算出排版块允许排入的素材的大小的范围W,并反馈给素材管理器;版面管理器能够接受素材管理器的反馈,并依据素材本身的大小H,如果H在W的范围内,则直接进行正式排版,如果H不在W的范围内,则版面管理器计算W和H之间的差值,如果H大于W的最大值,则计算H与W最大值的差值;如果H小于W中的最小值,则计算H与W最小值的差值,版面管理器根据该差值和用户设定的排版块高度和宽度的优选顺序和调整范围进行排版块的尺寸调整;1) Layout manager: used for the management of layout blocks, which can save the properties of layout blocks set by users, including the position of layout blocks, the size of layout blocks and the automatic adjustment method of layout blocks; it can calculate the layout according to the properties of layout blocks. The size range W of the material that is allowed to be placed in the block, and feed back to the material manager; the layout manager can accept the feedback from the material manager, and according to the size H of the material itself, if H is within the range of W, it will directly proceed to the formal Typesetting, if H is not within the range of W, the layout manager calculates the difference between W and H, if H is greater than the maximum value of W, then calculates the difference between H and the maximum value of W; if H is less than the minimum value of W value, then calculate the difference between the minimum value of H and W, and the layout manager adjusts the size of the layout block according to the difference and the preferred order and adjustment range of the height and width of the layout block set by the user; 2)素材管理器:负责管理排入到排版块中的素材,并能够根据排版块的属性计算出素材的大小,并反馈给版面管理器;素材管理器能够接受版面管理器的反馈,并判断素材本身的大小H是否在排版块允许排入的素材的大小的范围W内,当H不在W的范围内,提示W与H不相匹配;2) Material manager: responsible for managing the materials placed in the layout block, and can calculate the size of the material according to the properties of the layout block, and feed it back to the layout manager; the material manager can accept the feedback from the layout manager and judge Whether the size H of the material itself is within the range W of the material size allowed by the typesetting block. When H is not within the range of W, it will prompt that W does not match H; 3)关联管理器,用于建立并保存排版块与素材之间的关联。3) Association manager, used to establish and save the association between typesetting blocks and materials.
CNB2007103047832A 2007-12-29 2007-12-29 A method and system for implementing pre-typesetting Expired - Fee Related CN100552671C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007103047832A CN100552671C (en) 2007-12-29 2007-12-29 A method and system for implementing pre-typesetting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007103047832A CN100552671C (en) 2007-12-29 2007-12-29 A method and system for implementing pre-typesetting

Publications (2)

Publication Number Publication Date
CN101196876A CN101196876A (en) 2008-06-11
CN100552671C true CN100552671C (en) 2009-10-21

Family

ID=39547303

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007103047832A Expired - Fee Related CN100552671C (en) 2007-12-29 2007-12-29 A method and system for implementing pre-typesetting

Country Status (1)

Country Link
CN (1) CN100552671C (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727439B (en) * 2008-10-14 2012-08-08 北京大学 A typesetting method and device thereof
CN102082929B (en) * 2009-11-30 2015-02-18 新奥特(北京)视频技术有限公司 Method and device for indiscriminately applying caption template
CN102082931A (en) * 2009-11-30 2011-06-01 新奥特(北京)视频技术有限公司 Method and device for self-adaptive adjustment of title areas
CN102486871A (en) * 2010-12-03 2012-06-06 北大方正集团有限公司 A kind of imposition method and device
CN102929847A (en) * 2012-10-26 2013-02-13 北京乐投科技有限公司 Character wrapping method for manufacturing of digitally published products
CN103870975A (en) * 2012-12-14 2014-06-18 北大方正集团有限公司 Manufacturing method and device for advertisement mending
CN104636098A (en) * 2013-11-12 2015-05-20 英业达科技有限公司 Scaling system and method for adjusting file content according to measurement distance
CN103970726B (en) * 2014-05-21 2017-08-25 杨俊贤 Picture and text typesetting implementation method and device
CN104346323B (en) * 2014-11-25 2017-02-22 无锡永中软件有限公司 Collecting and editing processing system and method
CN105260351B (en) * 2015-09-10 2018-05-01 武汉改图网技术有限公司 A kind of online self-help design method of printed matter based on adaptive masterplate
CN109669599B (en) * 2018-11-29 2022-04-26 武汉绎方信息工程有限公司 Method and device for displaying printing and typesetting interface, display equipment and computer storage medium
CN111382552B (en) * 2020-03-11 2022-05-10 北大方正集团有限公司 Typesetting processing method, apparatus, equipment and storage medium
CN117113962A (en) * 2020-04-01 2023-11-24 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN111859893B (en) * 2020-07-30 2021-04-09 广州云从洪荒智能科技有限公司 Image-text typesetting method, device, equipment and medium
CN113011150B (en) * 2021-03-19 2023-03-31 重庆重报印务有限公司 Newspaper typesetting system and method
CN113569532B (en) * 2021-09-22 2022-01-25 北京仁和汇智信息技术有限公司 HTML editing method and device, electronic equipment and computer readable storage medium
CN114491129B (en) * 2022-01-18 2025-06-03 合肥讯飞数码科技有限公司 Layout analysis method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6256650B1 (en) * 1998-05-18 2001-07-03 Microsoft Corporation Method and system for automatically causing editable text to substantially occupy a text frame
CN1828580A (en) * 2006-04-14 2006-09-06 北京北大方正电子有限公司 A Typesetting Method of Matrix Text Box Adapting to Text Content
CN101000601A (en) * 2007-01-10 2007-07-18 北京方正国际软件系统有限公司 Device and method for automatic changing type face in type-setting process
CN101013418A (en) * 2007-02-15 2007-08-08 北京大学 Auto-adaptive typesetting method for word in textbox

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6256650B1 (en) * 1998-05-18 2001-07-03 Microsoft Corporation Method and system for automatically causing editable text to substantially occupy a text frame
CN1828580A (en) * 2006-04-14 2006-09-06 北京北大方正电子有限公司 A Typesetting Method of Matrix Text Box Adapting to Text Content
CN101000601A (en) * 2007-01-10 2007-07-18 北京方正国际软件系统有限公司 Device and method for automatic changing type face in type-setting process
CN101013418A (en) * 2007-02-15 2007-08-08 北京大学 Auto-adaptive typesetting method for word in textbox

Also Published As

Publication number Publication date
CN101196876A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
CN100552671C (en) A method and system for implementing pre-typesetting
US6178431B1 (en) Method and system for providing side notes in word processing
US9753897B2 (en) Electronic book building system and method
CN101013418B (en) A Typesetting Method for Automatically Fitting Text in a Text Frame
US10353999B2 (en) Information processing system, server apparatus, control method, and storage medium
US20090144615A1 (en) Publication Layout System
CN102722899B (en) Positioning printing system for report
US20080313528A1 (en) Method and system for producing patent specification
US20140115432A1 (en) Techniques for typographic electronic pagination
DE10253903A1 (en) Method, arrangement and computer software for printing a release sheet using an electrophotographic printer or copier
US20070079231A1 (en) System and method for document construction
DE102021107859A1 (en) INFORMATION PROCESSING DEVICE, CONTROL PROCEDURE FOR IT, AND STORAGE MEDIUM
CN101393647A (en) A Document Layout Method Based on Friendly User Interaction
US20110320933A1 (en) Editing apparatus, layout editing method performed by editing apparatus, and storage medium storing program
CN101038650A (en) Online instant printing service system and method and editor
WO2009019248A2 (en) Method for the creation of a template
TW201337605A (en) Multipurpose network editing page automatic conversion mechanism
US7382486B2 (en) Printing system
JP4179977B2 (en) Stamp processing apparatus, electronic approval system, program, and recording medium
CN103942187A (en) Page makeup method and device
DE102007036985A1 (en) Document processing data processing method for controlling e.g. inkjet printer, involves considering process data describing document processing process to optimize job companion file
CN120276691B (en) Plug-in-free document form printing processing method and device
DE102007036986B4 (en) Method for automatically preparing and separating document processing data contained in a document data stream
CN111179381A (en) Automatic typesetting method for image and text
DE102006006060A1 (en) Method and arrangement for archiving document data and for outputting document data stored in an archive

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: 20091021

Termination date: 20141229

EXPY Termination of patent right or utility model