CN101196876A - Method and system for implementing pre-typesetting - Google Patents

Method and system for implementing pre-typesetting Download PDF

Info

Publication number
CN101196876A
CN101196876A CNA2007103047832A CN200710304783A CN101196876A CN 101196876 A CN101196876 A CN 101196876A CN A2007103047832 A CNA2007103047832 A CN A2007103047832A CN 200710304783 A CN200710304783 A CN 200710304783A CN 101196876 A CN101196876 A CN 101196876A
Authority
CN
China
Prior art keywords
piece
composing
size
composing piece
space
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.)
Granted
Application number
CNA2007103047832A
Other languages
Chinese (zh)
Other versions
CN100552671C (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.)
BEIJING FANGZHENG INTERNATIONAL SOFTWARE SYSTEM Co Ltd
Peking University
Original Assignee
BEIJING FANGZHENG INTERNATIONAL SOFTWARE SYSTEM Co Ltd
Peking University
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 BEIJING FANGZHENG INTERNATIONAL SOFTWARE SYSTEM Co Ltd, Peking University filed Critical BEIJING FANGZHENG INTERNATIONAL SOFTWARE SYSTEM Co Ltd
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 realizing method and system of pretypesetting, which belong to the typesetting before printing field of computer. In the prior art, firstly editing typesetting blocks when typesetting and then arraying edited materials in the edited typesetting blocks; wherein, the size of the typesetting block is closely related to that of the material; when processing the typesetting blocks and material editing in parallel, the size of the typesetting block is hard to match with that of the material, so as not to adapt to the requirements of distributed parallel processing. In the method of the invention, a correlation manager establishes the correlation between the typesetting block and the material and improves the typesetting efficiency by rapid pretypesetting. By adopting the method and system, the invention realizes cooperative mode of layout and material editing based on network when typesetting, does not affect the layout when renewing the material and is easy to adapt to the requirement of rapid publish of newspaper.

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 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;
(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, the set type adjusted size of piece of the composing tile height that space of a whole page manager is set according to the user and the preferred sequence of width and setting range;
(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 information such as the default attribute that enters material such as 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 represents with the alphabetic character number of material, and the alphabetic character number is meant that the number of words in the material adds the summation that figure, image, OLE piece etc. is converted into the number of literal according to its size according to attributes such as the font size of composing piece setting, line spaces;
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, attribute such as width of cloth 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 size of the material that the composing piece enters according to needs is adjusted about font, font size, word space, line space, the world attributes such as the width of cloth automatically, 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 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) 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, 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 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. the implementation method of a 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 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;
(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 pre-typesetting, 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, the set type adjusted size of piece of the composing tile height that space of a whole page manager is set according to the user and the preferred sequence of width and setting range;
(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.
2. the implementation method of a kind of pre-typesetting as claimed in claim 1, it is characterized in that: 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 closed region can be polygon-shaped, its size, angle, the equal scalable in position, and can preserve information such as the default attribute that enters material such as line-spacing, font, font size.
3. the implementation method of a kind of pre-typesetting as claimed in claim 1 is characterized in that: described material is meant that literal, figure, image, OLE piece or its mix the typesetting data of forming.
4. the implementation method of a kind of pre-typesetting as claimed in claim 3, it is characterized in that: the size of described material represents with the alphabetic character number of material, and the alphabetic character number is meant that the number of words in the material adds the summation that figure, image, OLE piece etc. is converted into the number of literal according to its size according to attributes such as the font size of composing piece setting, line spaces.
5. as the implementation method of claim 1,2 or 3 described a kind of pre-typesettings, it is characterized in that: 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.
6. as the implementation method of claim 1,2 or 3 described a kind of pre-typesettings, it is characterized in that: described composing piece when dynamic deformation is meant that material flows into the composing piece, attribute such as width of cloth 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 size of the material that the composing piece enters according to needs is adjusted about font, font size, word space, line space, the world attributes such as the width of cloth automatically, carries out according to priority and the setting range set during adjustment.
7. as the implementation method of claim 1,2 or 3 described a kind of pre-typesettings, it is characterized in that: in the step (4), when material flows into the composing piece, the attribute that material is set according to the composing piece flows 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.
8. as the implementation method of claim 1,2 or 3 described a kind of pre-typesettings, it is characterized in that: in the step (4), after the composing piece is adjusted automatically, if the size of composing piece and the size of material still are not complementary, then the content that the user can the manual adjustment material or the attribute of composing piece flow into material then again.
9. the realization system of a 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 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) 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, 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 is used to set up and preserve related between composing piece and the material.
CNB2007103047832A 2007-12-29 2007-12-29 A kind of implementation method of pre-typesetting and system 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 kind of implementation method of pre-typesetting and system

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN101196876A true CN101196876A (en) 2008-06-11
CN100552671C 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 kind of implementation method of pre-typesetting and system

Country Status (1)

Country Link
CN (1) CN100552671C (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 北大方正集团有限公司 Make-p method and apparatus thereof
CN101727439B (en) * 2008-10-14 2012-08-08 北京大学 Typesetting 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
CN103970726A (en) * 2014-05-21 2014-08-06 杨俊贤 Image-text typesetting implementation method and device
CN104346323A (en) * 2014-11-25 2015-02-11 无锡永中软件有限公司 Collecting and editing processing system and method
CN102082929B (en) * 2009-11-30 2015-02-18 新奥特(北京)视频技术有限公司 Method and device for indiscriminately applying caption template
CN104636098A (en) * 2013-11-12 2015-05-20 英业达科技有限公司 Scaling system and method for adjusting file content according to measurement distance
CN105260351A (en) * 2015-09-10 2016-01-20 武汉改图网技术有限公司 Online self-service presswork design method based on self-adaptive template
CN109669599A (en) * 2018-11-29 2019-04-23 武汉绎方信息工程有限公司 A kind of method, apparatus, display equipment and the computer storage medium at display print publishing interface
CN111382552A (en) * 2020-03-11 2020-07-07 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium
CN111460782A (en) * 2020-04-01 2020-07-28 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN111859893A (en) * 2020-07-30 2020-10-30 广州云从洪荒智能科技有限公司 Image-text typesetting method, device, equipment and medium
CN113011150A (en) * 2021-03-19 2021-06-22 重庆重报印务有限公司 Newspaper typesetting system and method
CN113569532A (en) * 2021-09-22 2021-10-29 北京仁和汇智信息技术有限公司 HTML editing method and device, electronic equipment and computer readable storage medium

Family Cites Families (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
CN1828580B (en) * 2006-04-14 2010-05-26 北京北大方正电子有限公司 Rectangular array words frame layout method for fitting word content
CN101000601B (en) * 2007-01-10 2010-05-19 方正国际软件(北京)有限公司 Device and method for automatic changing type face in type-setting process
CN101013418B (en) * 2007-02-15 2010-05-19 北京大学 Auto-adaptive typesetting method for word in textbox

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727439B (en) * 2008-10-14 2012-08-08 北京大学 Typesetting method and device
CN102082931A (en) * 2009-11-30 2011-06-01 新奥特(北京)视频技术有限公司 Method and device for self-adaptive adjustment of title areas
CN102082929B (en) * 2009-11-30 2015-02-18 新奥特(北京)视频技术有限公司 Method and device for indiscriminately applying caption template
CN102486871A (en) * 2010-12-03 2012-06-06 北大方正集团有限公司 Make-p method and apparatus thereof
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
CN103970726A (en) * 2014-05-21 2014-08-06 杨俊贤 Image-text typesetting implementation method and device
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
CN104346323A (en) * 2014-11-25 2015-02-11 无锡永中软件有限公司 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
CN105260351A (en) * 2015-09-10 2016-01-20 武汉改图网技术有限公司 Online self-service presswork design method based on self-adaptive template
CN109669599B (en) * 2018-11-29 2022-04-26 武汉绎方信息工程有限公司 Method and device for displaying printing and typesetting interface, display equipment and computer storage medium
CN109669599A (en) * 2018-11-29 2019-04-23 武汉绎方信息工程有限公司 A kind of method, apparatus, display equipment and the computer storage medium at display print publishing interface
CN111382552A (en) * 2020-03-11 2020-07-07 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium
CN111460782A (en) * 2020-04-01 2020-07-28 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN111460782B (en) * 2020-04-01 2023-08-22 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN111859893A (en) * 2020-07-30 2020-10-30 广州云从洪荒智能科技有限公司 Image-text typesetting method, device, equipment and medium
CN111859893B (en) * 2020-07-30 2021-04-09 广州云从洪荒智能科技有限公司 Image-text typesetting method, device, equipment and medium
CN113011150A (en) * 2021-03-19 2021-06-22 重庆重报印务有限公司 Newspaper typesetting system and method
CN113011150B (en) * 2021-03-19 2023-03-31 重庆重报印务有限公司 Newspaper typesetting system and method
CN113569532A (en) * 2021-09-22 2021-10-29 北京仁和汇智信息技术有限公司 HTML editing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN100552671C (en) 2009-10-21

Similar Documents

Publication Publication Date Title
CN100552671C (en) A kind of implementation method of pre-typesetting and system
US6178431B1 (en) Method and system for providing side notes in word processing
CN102147791B (en) Automatic book typesetting method and system
CN105824586B (en) A kind of more order layout print publishing optimization methods of combined type
EP1573505B1 (en) Method, arrangement and computer software for the printing of a separator sheet by means of an electrophotographic printer or copier
US20070291308A1 (en) Information processing apparatus, information processing method, and information processing program
JP2006506713A (en) Iterative method for assigning elements and apparatus for assigning elements
CN104239284A (en) Method and device for automatic image-text composition
US20090276695A1 (en) Automatic document generator
CN107562706A (en) Self-defined ticket templates method and system
CN1828580B (en) Rectangular array words frame layout method for fitting word content
CN1487476A (en) Image generating apparatus and method
CN101908044A (en) Dynamically adjustable template and using method thereof
JP2005309514A (en) Document processing device, control method therefor, and computer program
DE102007037032B4 (en) Method for generating a template
US20170154022A1 (en) Information processing apparatus, method for controlling the same, and storage medium
DE10305354A1 (en) System and method for creating a customer-specific document
DE10252797A1 (en) Method for creating document model for printing tasks involves transferring used resource data sets to data processing unit, in which document model is completed with variable data
DE102007036985B4 (en) Method, system and computer program product for automatically editing document editing data
JP4179977B2 (en) Stamp processing apparatus, electronic approval system, program, and recording medium
CN103942187A (en) Page makeup method and device
DE102007036986B4 (en) Method for automatically preparing and separating document processing data contained in a document data stream
DE10257436A1 (en) Customized/personalized document production method for customer at point-of-need, involves merging data of customer with intelligent template to create intelligent document
CN112380826A (en) Formatted electronic form generation method based on text file
Büttner Nasḫī–an Efficient Tool for the OCR-Aided Transcription of Printed Texts

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