CN105260351B - A kind of online self-help design method of printed matter based on adaptive masterplate - Google Patents

A kind of online self-help design method of printed matter based on adaptive masterplate Download PDF

Info

Publication number
CN105260351B
CN105260351B CN201510579915.7A CN201510579915A CN105260351B CN 105260351 B CN105260351 B CN 105260351B CN 201510579915 A CN201510579915 A CN 201510579915A CN 105260351 B CN105260351 B CN 105260351B
Authority
CN
China
Prior art keywords
space
whole page
adaptive
masterplate
page element
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.)
Active
Application number
CN201510579915.7A
Other languages
Chinese (zh)
Other versions
CN105260351A (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.)
WUHAN GAITU NETWORK TECHNOLOGY Co Ltd
Original Assignee
WUHAN GAITU NETWORK TECHNOLOGY 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 WUHAN GAITU NETWORK TECHNOLOGY Co Ltd filed Critical WUHAN GAITU NETWORK TECHNOLOGY Co Ltd
Priority to CN201510579915.7A priority Critical patent/CN105260351B/en
Publication of CN105260351A publication Critical patent/CN105260351A/en
Application granted granted Critical
Publication of CN105260351B publication Critical patent/CN105260351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of online self-help design method of the printed matter based on adaptive masterplate, comprise the following steps:Providing a user includes the adaptive masterplate of multiple space of a whole page elements;User fills material at least one space of a whole page element of adaptive template;Coordinate filled material, according to multiple priority levels, adaptively adjust the space of a whole page state of the adaptive template;After each adaptive masterplate adjustment, whether whole restrictive conditions is met to all space of a whole page elements first and is judged;In the case where not meeting whole restrictive conditions, it is iterated adjustment or proceeds to the adaptive adjustment of next priority level;In the case where all space of a whole page elements meet whole restrictive conditions, and then receive that user is satisfied or unsatisfied input;Terminate adaptive adjustment in the case where user inputs satisfaction;The adaptive adjustment of next priority level is proceeded in the case of user's input is unsatisfied, until being finally reached after the adaptive adjustment of highest priority level, if user is still dissatisfied, this adaptive masterplate is abandoned and selects new masterplate.

Description

A kind of online self-help design method of printed matter based on adaptive masterplate
Technical field
The present invention relates to printed on line service field, more particularly to a kind of printed matter based on adaptive masterplate are self-service online Design method.
Background technology
With flourishing for Internet technology, Personalized service increasingly receives the welcome of users.Wherein, Printed on line product service is extremely important and universal Personalized service type.For example, make calendar, greeting card, business card, Certificate, poster, picture album, advertisement, invitation card when printed matter, user can be uploaded to printed on line product site for service personal photo, The picture of the electronic document formats such as Freehandhand-drawing picture, edits the word included, utilizes the material that these users provide to form printed matter electricity The sub- space of a whole page, determines the design of the printed matter electronics space of a whole page after preview effect;And then user generates order and pays expense;Online print The printed matter electronics space of a whole page designed according to user is carried out the printing of printed matter material object by brush product site for service, then passes through mailing etc. Material object is sent to user by mode.This mode is more convenient compared to traditional printing service, it is often more important that fully The specific individual demand of user is met, ensure that printed matter at utmost meets the actual needs and aesthetical standard of user.
Printed matter layout is the very high work of specialty degree, is used for lacking special knowledge and the common of experience For family, if from a blank sheet of paper, it is desirable to which it is relatively difficult to design the both artistic and practical printed matter electronics space of a whole page.Institute With among the prior art, printed on line product site for service can generally provide a user the stencil plate of various uses and style. Masterplate can be by designer's designed in advance of specialty, therefore can ensure the global design quality and visual effect of its space of a whole page, and And there is certain characteristic.
Masterplate is actually by the space of a whole page size of printed matter, layout structure, space of a whole page element (such as picture box, text box Deng) form, layout's definition is completed, and determine substantially position of these space of a whole page elements on the space of a whole page, size, direction, The setting of overlapping relation between profile, element and element etc., it is also possible to the element selected on the space of a whole page with designer Material has been pre-charged with a part of space of a whole page element.Meanwhile masterplate can also have at least one of space of a whole page element as self-defined version Surface element, self-defined space of a whole page element will the material such as customer-furnished picture, text filled.
User, can be first according to the reality of printed matter in the self-service design process of the printed matter space of a whole page is carried out using masterplate The factor such as purposes and personal like selects a suitable masterplate, then only needs the selected material of individual being filled into the mould Among the self-defined space of a whole page element of version.As it can be seen that this self-service design online of the printed matter space of a whole page based on masterplate, ensure that the space of a whole page is whole With effect rationally, practical, beautiful on body, while the design space of personalization is also provide the user, reduce user certainly Help the difficulty of design.
For example, Fig. 7 is the masterplate of a personalized greeting cards among the prior art, which has symmetrical Layout structure, therefore the whole space of a whole page is divided into left side breadth and right side breadth.Wherein left side breadth have three picture boxs 701, 702nd, 703, three above picture box is all self-defined space of a whole page element, and personal selected picture materials are filled for user, wherein Designer is designed as larger size by 701, and available for main picture is filled, less size is designed as by 702,703, filling Secondary picture.Right side breadth has three text boxes 704,705 and 706, is equally self-defined space of a whole page element, and designer designs text The name of greeting card addressee is inserted in frame 704, advice is inserted in text box 705, the surname of greeting card sender is inserted in text box 706 Name.In addition, right side breadth also has picture box 707, left side breadth also has picture box 708, the two is all predefined space of a whole page element, by The electronic pictures filling that masterplate designer selectes, such as designer predefine and are filled out by the electronic pictures that a content is Santa Claus Fill the picture box 707 so as to as Christmas card, by a solid color such as red electronic pictures filling picture box 708 with Play the role of setting off atmosphere, beautifying and decorating by contrast.The text box 709 of right side breadth bottom is also predefined space of a whole page element, by masterplate The word filling that designer selectes, such as it is predefined in write-in " Happy Christmas Day " in text frame 709.
But what online self-service design and printing service faced is mass users, wherein each user is specifically It is complicated and changeable, and masterplate is designer is pre-designed, it is impossible to actual conditions and individual demand with each user Matching completely, therefore, after inevitably material is filled into masterplate by generation user, it is undesirable that inapplicable or effect occurs in the space of a whole page Situation.For example, in the existing template shown in Fig. 7, according to the original design of designer, text box 705 is estimated to accommodate up to 3 rows The word of No. 16 fonts.But among the practical application of user, it is possible to inserted in text frame 705 more more than estimated Word.In that case it is possible to cause 705 size of text box to increase, it is shared in the space of a whole page that this allows for text box 705 According to part increase, so as to be clashed with the space of a whole page element on its periphery, such as there is the overlapped of larger area, influence whole The visual effect of a space of a whole page.If however, no matter the word of input in text box 705 how much, remains that text box 705 exists Predetermined size in original design, then occur the situation that text importing is not complete or font is adjusted too small, same shadow again Ring the effect and practical application of the space of a whole page.
The content of the invention
In order to overcome the problems of the above-mentioned prior art, the present invention provides a kind of printed matter based on adaptive masterplate Online self-help design method.Adaptive masterplate provided by the present invention, can insert material and to mould with user in masterplate It is adjusted so that the actual conditions of the space of a whole page and material match, and ensure the space of a whole page element space of a whole page state self-adaption of version Mutual position co-ordination, limitation adjustment after space of a whole page state relative to original version planar into irrelevance.
The online self-help design method of printed matter provided by the present invention based on adaptive masterplate, it is characterised in that including Following steps:
Providing a user includes the adaptive masterplate of multiple space of a whole page elements, and builds to the adaptive template space of a whole page shape The metadata that state is described;
User fills material at least one space of a whole page element of adaptive template;
Coordinate filled material, according to multiple priority levels, adaptively adjust the space of a whole page shape of the adaptive template State;
After each adaptive masterplate adjustment, whether whole restrictive conditions is met to all space of a whole page elements first Judged;
In the case where not meeting whole restrictive conditions, it is iterated adjustment or proceeds to next priority level Adaptive adjustment;
In the case where all space of a whole page elements meet whole restrictive conditions, and then it is satisfied or dissatisfied to receive user Input;
Terminate adaptive adjustment in the case where user inputs satisfaction;
The adaptive adjustment of next priority level is proceeded in the case of user's input is unsatisfied, until being finally reached most After the adaptive adjustment of high priority level, if user is still dissatisfied, abandons this adaptive masterplate and select new mould Version.
Preferably, the adaptive masterplate adds the description file including the metadata, the metadata and its tax Value is used to describe space of a whole page size, layout structure, space of a whole page element composition, layout, and each space of a whole page element is on the space of a whole page Position, size, direction, profile, degree of overlapping.
Preferably, the priority level adaptively adjusted includes following priority:First priority is that space of a whole page element exists Positions and dimensions on the space of a whole page, the second priority are direction and the profile of space of a whole page element, and third priority is layout, the 4th Priority is that space of a whole page element is formed.
More specifically, the present invention provides a kind of online self-help design method of the printed matter based on adaptive masterplate, It is characterised in that it includes following steps:
Step S0, provides a user the adaptive masterplate for including multiple space of a whole page elements;The adaptive masterplate defines print The space of a whole page size of brush product, layout structure, space of a whole page element are formed, layout, and define each space of a whole page element on the space of a whole page Position, size, direction, profile, degree of overlapping;Also, the adaptive masterplate adds the description file including metadata, described Metadata and its assignment are used to describe space of a whole page size, layout structure, space of a whole page element composition, layout, and each space of a whole page member Position of the element on the space of a whole page, size, direction, profile, degree of overlapping;The space of a whole page element includes at least one self-defined space of a whole page member Element;
Step S1, self-defined space of a whole page element whole in adaptive masterplate is filled by user;
Step S2, adjusts position and/or the size of the self-defined space of a whole page element after being filled, is allowed to match with material;
Step S3, judges whether all space of a whole page elements of adaptive masterplate meet all predefined restrictive conditions;Such as At least one space of a whole page element of fruit does not meet wherein any one restrictive condition, then proceeds to step S4;If all space of a whole page elements Meet whole restrictive conditions, proceed to step S6;
The position of step S4, the current space of a whole page element for not meeting restrictive condition of adjustment and its adjacent space of a whole page element and/ Or size, then proceed to step S5;
Step S5, judges after step S4 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limitations Property condition;If all space of a whole page elements meet whole restrictive conditions, step S6 is proceeded to;If at least one space of a whole page element Wherein any one restrictive condition is not met, then returns and re-executes step S4, until the number that step S4 is re-executed Reach repetition upper limit value (such as 3 times), if there are still at least one space of a whole page element not to meet the restricted bar of wherein any one Part, then proceed to step S7;
Step S6, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S7 is proceeded to;
Step S7, adjusts direction and/or the profile of the space of a whole page element being adjusted in step S2 and step S4, Ran Houjin To step S8;
Step S8, judges after step S7 is adjusted, and whether all space of a whole page elements of adaptive masterplate, which meet, all predefines Restrictive condition;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S9 is proceeded to;Such as All space of a whole page elements of fruit meet whole restrictive conditions, proceed to step S11;
The direction of step S9, the current space of a whole page element for not meeting restrictive condition of adjustment and its adjacent space of a whole page element and/ Or profile, then proceed to step S10;
Step S10, judges after step S9 is adjusted, and whether all space of a whole page elements of adaptive masterplate, which meet, all predefines Restrictive condition;If all space of a whole page elements meet whole restrictive conditions, step S11 is proceeded to;It is if at least one Space of a whole page element does not meet wherein any one restrictive condition, then returns and re-execute step S9, until step S9 is held again Capable number reaches repetition upper limit value (such as 3 times), if there are still at least one space of a whole page element not to meet wherein any one Restrictive condition, then proceed to step S12;
Step S11, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S12 is proceeded to;
Step S12, adjusts the region division mode of the space of a whole page, the space of a whole page element being then adjusted in set-up procedure S7 and S9 And its occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, At least one of the position of space of a whole page element, size, direction, profile are adjusted, the region that space of a whole page element takes with it is matched, Proceed to step S13;
Step S13, judges after step S12 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limits Property condition processed;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S14 is proceeded to;If All space of a whole page elements meet whole restrictive conditions, proceed to step S16;
Step S14, adjusts the region division mode of the space of a whole page, then the current space of a whole page element for not meeting restrictive condition of adjustment And its occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, At least one of the position of space of a whole page element, size, direction, profile are adjusted, the region that space of a whole page element takes with it is matched, Then step S15 is proceeded to;
Step S15, judges after step S14 is adjusted, and whether all space of a whole page elements of adaptive masterplate, which meet, all makes a reservation for The restrictive condition of justice;If all space of a whole page elements meet whole restrictive conditions, step S16 is proceeded to;If at least one A space of a whole page element does not meet wherein any one restrictive condition, then returns and re-execute step S14, until step S14 weights The number newly performed reaches repetition upper limit value (such as 3 times), if do not met there are still at least one space of a whole page element wherein any One restrictive condition, then proceed to step S17;
Step S16, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S17 is proceeded to;
Step S17, deletes at least one space of a whole page element of particular type attribute, then adjusts the region division of the space of a whole page again Mode, and then the space of a whole page element being adjusted in set-up procedure S12 and S14 and its adjacent space of a whole page element close the occupancy in region System, and according to the occupancy relation after adjustment, adjusts at least one of the position of space of a whole page element, size, direction, profile, makes The region that space of a whole page element takes with it matches, and proceeds to step S18;
Step S18, judges after step S17 is adjusted, and whether all space of a whole page elements of adaptive masterplate, which meet, all makes a reservation for The restrictive condition of justice;If at least one space of a whole page element does not meet wherein any one restrictive condition, step is proceeded to S20;If all space of a whole page elements meet whole restrictive conditions, step S19 is proceeded to;
Step S19, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S20 is proceeded to;
Step S20, prompts user to abandon this adaptive masterplate and selects other adaptive masterplates.
Preferably, in step S1 into S20, can be worked as by reading and parsing the adaptive masterplate of the metadata acquisition Preceding space of a whole page state, and automatically update corresponding metadata with the adjustment of each space of a whole page state.
The advantages of adaptive masterplate of the present invention is space of a whole page state of the situation to masterplate that material can be filled according to user It is adaptively adjusted, the space of a whole page is matched with material;Also, ensure the mutual position co-ordination of space of a whole page element, limitation After adjustment space of a whole page state relative to original version planar into irrelevance, and realize the adaptive tune of a variety of priority levels It is whole, it can be achieved that adaptive adjustment to layout, avoid influences completely because space of a whole page element variation is larger in the prior art The defects of space of a whole page effect.
Brief description of the drawings
Fig. 1 is the adaptive masterplate schematic diagram under reset condition in the preferred embodiment of the present invention;
Fig. 2 is the schematic diagram after adaptive masterplate adjustment in the preferred embodiment of the present invention;
Fig. 3 is the schematic diagram after adaptive masterplate adjustment in the preferred embodiment of the present invention;
Fig. 4 is the schematic diagram after adaptive masterplate adjustment in the preferred embodiment of the present invention;
Fig. 5 is the schematic diagram after adaptive masterplate adjustment in the preferred embodiment of the present invention;
Fig. 6 is the schematic diagram after adaptive masterplate adjustment in the preferred embodiment of the present invention;
Fig. 7 is masterplate space of a whole page schematic diagram of the prior art.
Embodiment
Below with reference to the embodiments and with reference to the accompanying drawing technical scheme is described in further detail.
Fig. 1 is the reset condition of the adaptive masterplate of a personalized greeting cards.Masterplate defines the size 28cm* of the space of a whole page 21cm;Layout structure is bilateral symmetry, i.e., space of a whole page line centered on the dotted line A shown in Fig. 1 is divided into left side breadth and right side Breadth, left and right sides breadth size and shape is identical, so as to by the space of a whole page print after be made as can left and right doubling greeting card in kind.
The masterplate determines that the space of a whole page of greeting card is made of following space of a whole page element:Three picture boxs 101,102,103, type category Property be self-defined space of a whole page element, these figures draw-will be filled in the individual of electronic pictures-such as the photo that will be uploaded by user, Freehandhand-drawing Piece frame;Three text boxes 104,105,106, type attribute are also self-defined space of a whole page element, will be by user in text box Word is filled, such as the name of greeting card addressee can be inserted in text box 104, advice can be inserted in text box 105, can be The name of greeting card sender is inserted in text box 106;Two picture boxs 107 and 108, type attribute are predefined space of a whole page element, The electronic pictures selected by masterplate designer have been predefined to fill, for example, it is predefined by a content be Santa Claus electronics Picture fills the picture box 107 so as to which as Christmas card, picture is filled by the electronic pictures of a solid color such as red Frame 108 is to play the role of setting off by contrast atmosphere, beautifying and decorating;One text box 109, type attribute are predefined space of a whole page element, The predefined word selected by masterplate designer is filled, such as is predefined in write-in " Happy in text frame 109 Christmas Day”。
Layout is as shown in Figure 1, the left side breadth arrangement picture box 101-103 and picture box 108 of the space of a whole page, right side width Face arrangement text box 104-106, text box 109 and picture box 107.Furthermore, it is understood that layout further includes left side breadth With the respective region division mode of right side breadth.We are by the son layout of left side breadth according to being divided into shown in the dotted line of Fig. 1 Left UL, upper right UR, middle left ML, middle right MR, bottom left DL, bottom right DR regions;Wherein picture box 108 takes the upper left UL of left side breadth With upper right UR regions;Picture box 101 is used as main picture, takes left ML, bottom left DL regions in the breadth of left side;Two other figure Piece frame 102,103 takes right ML, bottom right DR regions in the breadth of left side respectively.Right side breadth be divided into left UL, upper right UR, In MU on the upper side, in MD on the lower side, lower D regions;Wherein text box 104 takes upper left UL regions, and picture box 107 takes upper right region, The MU regions on the upper side in occupying of text box 105, the MD regions on the lower side in occupying of text box 106, text box 109 occupy lower D areas Domain.As it can be seen that layout structure defines the breadth dividing mode of the space of a whole page and size, the shape of each breadth;Layout defines respectively Space of a whole page element, the region division mode of each breadth and each space of a whole page element that a breadth is included close the occupancy in region System., it is emphasized that space of a whole page element is not offered as the occupancy relation in region the accurate size and location of space of a whole page element, but it is A kind of layout of the space of a whole page element on the space of a whole page is depicted to arrange.
For each specific space of a whole page element, masterplate defines its size, position, direction, circumferential profile and degree of overlapping. The size of space of a whole page element can with centimetre etc. absolute unit represent, can also with its relative to the ratio value of book size come table Show, for example, in the left side breadth of Fig. 1 picture box 108 size Expressing it is as follows:Horizontal size x108 is left side breadth horizontal size X 80%, vertical dimension y108 be left side breadth longitudinal size Y 10%;The size Expressing of picture box 101 is as follows:Horizontal size X101 is the 60% of X, and vertical dimension y101 is the 70% of Y.What the position of space of a whole page element defined is that the element is residing on the space of a whole page In exact position, can be represented with the anchor point of space of a whole page element relative to the distance of origin, for example, picture box 108 can be with By the use of the picture box left upper apex as anchor point, and using the left upper apex O of left side breadth as origin, anchor point and origin Distance can equally represent that then this 2 points horizontal distance dx108 is X's with it relative to the ratio value of book size 10%, vertical range dy108 are the 5% of Y, therefore the positional representation of picture box 108 is (10%X, 5%Y);Similar, figure Piece frame 101 is also using its left upper apex as anchor point, then the picture box positional representation is (10%X, 20%Y).For making the space of a whole page Form is more active and otherwise consideration, picture box or text box can be made to tilt relative to horizontal direction certain Angular distribution, the direction of space of a whole page element can be represented with the angle of inclination, for example, the text box 109 of right side breadth Angle [alpha] has been tilted relative to horizontal direction, α values are 5 degree, and for other space of a whole page elements, due to not tilting completely, its side To all being represented with 0 degree.For all picture boxs and text box shown in Fig. 1, its shape is all rectangle, so these spaces of a whole page are first The circumferential profile of element is all rectangle;Certainly, can be by the space of a whole page for making format more active and otherwise consideration The circumferential profile of element is designed as round rectangle, ellipse, trapezoidal or other shapes, in such a case, it is possible to utilize these The boundary rectangle frame of shape defines its size, position, direction.For layout or otherwise needs, two or Can be overlapped together with some between the more than two space of a whole page elements of person, so as to form the overlapping pass of space of a whole page key element System.For overlapping part, the space of a whole page element that can be made positioned at outer layer covers the space of a whole page element of internal layer so that the shielded space of a whole page Element lap is invisible, and the space of a whole page element positioned at outer layer can also be made translucent, so that the weight of internal layer space of a whole page element It is folded partially visible, and its observability is adjusted by transparency.By representing the size of space of a whole page element, position, direction, periphery are taken turns Exterior feature, can be depicted overlapped position relationship between two or more specific space of a whole page element, without again separately Set up parameter.Obviously, if space of a whole page element it is overlapped degree it is excessive, the observability of space of a whole page element and whole will be influenced Space of a whole page effect, can be that each space of a whole page element define degree of overlapping respectively therefore, degree of overlapping refer to the space of a whole page element be allowed to Other space of a whole page elements are overlapping at utmost, and the percentage of the space of a whole page element area can be accounted for lap area to measure. For example, the degree of overlapping of certain space of a whole page element is arranged to 10%, then the space of a whole page element and other one or more space of a whole page element overlapping portions When point gross area reaches the 10% of the space of a whole page element area, then do not allow to continue to increase lap area or newly-increased overlapping portion Point, to avoid excessively overlapped the problem of bringing.
It is as described above, masterplate define the space of a whole page size of printed matter, layout structure, space of a whole page element form, layout, And position of each space of a whole page element on the space of a whole page, size, direction, profile, degree of overlapping are defined, the present invention determines the above Justice is referred to as the space of a whole page state of masterplate.Among the present invention, in order to adjust the space of a whole page of masterplate, Ke Yiwei by adaptive algorithm The masterplate adds a series of description file being made of metadata, and space of a whole page size, the space of a whole page are described and characterized using these metadata Structure, space of a whole page element are formed, layout, and position of each space of a whole page element on the space of a whole page, size, direction, profile, overlapping Degree.Adaptive algorithm can obtain the current space of a whole page state of adaptive masterplate by reading and parsing metadata, and with every The adjustment of secondary space of a whole page state and automatically update corresponding metadata.
Specifically, in the description file of the adaptive masterplate of Fig. 1, there is following metadata and its assignment:
<Page Size>=28em*21em, space of a whole page size metadata, describes space of a whole page size;
<Page structure>=LR1: 1, layout structure metadata, describes the space of a whole page and is divided into left (L) and two, the right side (R) Point, and ratio is 1: 1, i.e., symmetrical layout structure;Certainly, according to the design conditions of different layout structures, in other moulds In version,<Page structure>Can have different values, such as LMR1: 1: 1, expression be divided into left (L), in (M), right (R) three parts and ratio are 1: 1: 1;
<Page Element>=imgbox101, imgbox102, imgbox103, textbox104, textbox105, Textbox106, imgbox107, imgbox108, textbox109 }, space of a whole page element forms metadata, with space of a whole page element term Set form describe whole masterplate space of a whole page element form;
<Page L Arrangement>={ UL=imgbox108, UR=imgbox108, ML=imgbox101, MR= Imgbox102, DL=imgbox101, DR=imgbox103 }, represent one of metadata of layout, with zone name and The form of the set of its space of a whole page element value, describe space of a whole page element, region division mode that the left side breadth of the space of a whole page includes and Occupancy relation of each space of a whole page element to region;
<Page R Arrangement>={ UL=textbox104, UR=imgbox107, MU=textbox105, MD =textbox106, D=textbox109 }, one of metadata of layout is represented, with zone name and its space of a whole page element value Set form, describe space of a whole page element, region division mode and each space of a whole page element that the right side breadth of the space of a whole page includes To the occupancy relation in region;
<Element>={ Name=imgbox101, Property=custom-defined, Size=60%X*70% Y, Position=(10%X, 20%Y), Direction=0, Outline-shape=rectangle, Overlap- Degree=10%, Transparence=50% }, one of metadata of space of a whole page element is described, wherein field Name is defined The described space of a whole page element term of the metadata, it is the description to picture box 101 to show this metadata;Field Property is defined The type attribute of picture box 101, picture box 101 are self-defined space of a whole page element, and field Size defines the level of picture box 101 Size and vertical dimension, field Position define the position of picture box 101, and field Direction defines picture box 101 Direction, field Outline-shape defines the circumferential profile of picture box 101, its value represents it is rectangle, field The degree of overlapping that Overlap-degree defines picture box 101 is 10%, and field Transparence defines picture box 101 Transparency, i.e., in the case where overlap condition and picture box 101 are located at non-innermost layer, the lap of picture box 101 it is transparent Degree.
For the space of a whole page element such as other text boxes and picture box, also pass through a corresponding metadata respectively<Element >Described to represent.
During printed matter online service, it is personalized that user can utilize the terminal devices such as computer, mobile phone to log in offer The website of the self-service design function of printed matter either APP so as to access the template library positioned at website or APP servers, according to It is actually needed and personal like chooses suitable masterplate.In the present embodiment, user can select the reset condition shown in Fig. 1 Adaptive masterplate, the starting point as Photographing On-line.On the basis of the masterplate reset condition, user need using electronic pictures, The materials such as word fill the picture box and text box as self-defined space of a whole page element on the masterplate.It is for example, adaptive shown in Fig. 1 Masterplate can be downloaded and be temporarily stored into the terminal device of user, and user can fill text by way of inputting word in text box This frame, and fill the picture box by the way that the electronic pictures preserved in terminal are loaded into picture box.
The self-defined space of a whole page element that material is filled into masterplate with user is, it is necessary to which the part space of a whole page state of masterplate coordinates Material and adaptively adjust, so as to form new space of a whole page state.For, layout structure, space of a whole page element form, layout, with And the space of a whole page state such as position of each space of a whole page element on the space of a whole page, size, direction, profile, during adaptive adjustment Priority, the present invention are divided into four priority, are reduced successively to the 4th priority degree of priority by the first priority. Wherein, the first priority (limit priority) is positions and dimensions of the space of a whole page element on the space of a whole page, and the second priority is space of a whole page member The direction of element and profile, third priority are layouts, and the 4th priority is that space of a whole page element is formed.Namely, it is necessary to adjust mould During the space of a whole page state of version, the preferential positions and dimensions for adjusting space of a whole page element, make space of a whole page state meet pre-provisioning request and reach use Family satisfactory state;The satisfactory state if positions and dimensions by adjusting space of a whole page element cannot meet the requirements or cannot reach, Space of a whole page element direction and the profile of the second priority of adjustment are continued to, if still cannot meet the requirements or cannot reach satisfied State, then continue to adjust layout, and so on, until being adjusted to the space of a whole page element composition of the 4th priority.The space of a whole page Space of a whole page size and layout structure in state due to be related to printed matter material object availability and with printing device and paper Compatibility, the present invention do not do it adaptive adjustment.If the space of a whole page element composition of the 4th priority is adjusted still not It can meet the requirements or satisfactory state cannot be reached, then prompt user to abandon this adaptive masterplate, and can be in the form of push etc. User is set to select new masterplate.
The method flow of adaptive adjustment space of a whole page state of the invention is specific as follows:
In step S0, above-mentioned adaptive masterplate is provided a user;
In step S1, self-defined space of a whole page element whole in adaptive masterplate is filled by user first;
And then in step S2, adjustment be filled after self-defined space of a whole page element position and/or size, be allowed to and material Match;
In step S3, judge whether all space of a whole page elements of masterplate meet all predefined restrictive conditions;If extremely A few space of a whole page element does not meet wherein any one restrictive condition, then proceeds to step S4;If all space of a whole page elements accord with Whole restrictive conditions is closed, proceeds to step S6;
The position of step S4, the current space of a whole page element for not meeting restrictive condition of adjustment and its adjacent space of a whole page element and/ Or size, then proceed to step S5;
Step S5, judges after step S4 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limitations Property condition;If all space of a whole page elements meet whole restrictive conditions, step S6 is proceeded to;If at least one space of a whole page element Wherein any one restrictive condition is not met, then returns and re-executes step S4, until the number that step S4 is re-executed Reach repetition upper limit value (such as 3 times), if there are still at least one space of a whole page element not to meet the restricted bar of wherein any one Part, then proceed to step S7;
Step S6, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S7 is proceeded to;
Step S7, adjusts direction and/or the profile of the space of a whole page element being adjusted in step S2 and step S4, Ran Houjin To step S8;
Step S8, judges after step S7 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limitations Property condition;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S9 is proceeded to;It is if all Space of a whole page element meets whole restrictive conditions, proceeds to step S11;
The direction of step S9, the current space of a whole page element for not meeting restrictive condition of adjustment and its adjacent space of a whole page element and/ Or profile, then proceed to step S10;
Step S10, judges after step S9 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limitations Property condition;If all space of a whole page elements meet whole restrictive conditions, step S11 is proceeded to;If at least one space of a whole page member Element does not meet wherein any one restrictive condition, then returns and re-execute step S9, until time that step S9 is re-executed Number reaches repetition upper limit value (such as 3 times), if it is restricted not meet wherein any one there are still at least one space of a whole page element Condition, then proceed to step S12;
Step S11, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S12 is proceeded to;
Step S12, adjusts the region division mode of the space of a whole page, the space of a whole page element being then adjusted in set-up procedure S7 and S9 And its occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, At least one of the position of space of a whole page element, size, direction, profile are adjusted, the region that space of a whole page element takes with it is matched, Proceed to step S13;
Step S13, judges after step S12 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limits Property condition processed;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S14 is proceeded to;If All space of a whole page elements meet whole restrictive conditions, proceed to step S16;
Step S14, adjusts the region division mode of the space of a whole page, then the current space of a whole page element for not meeting restrictive condition of adjustment And its occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, At least one of the position of space of a whole page element, size, direction, profile are adjusted, the region that space of a whole page element takes with it is matched, Then step S15 is proceeded to;
Step S15, judges after step S14 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limits Property condition processed;If all space of a whole page elements meet whole restrictive conditions, step S16 is proceeded to;If at least one space of a whole page Element does not meet wherein any one restrictive condition, then returns and re-execute step S14, until step S14 is re-executed Number reach repetition upper limit value (such as 3 times), if there are still at least one space of a whole page element not meet wherein any one limit Property condition processed, then proceed to step S17;
Step S16, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S17 is proceeded to;
Step S17, deletes at least one space of a whole page element of particular type attribute, then adjusts the region division of the space of a whole page again Mode, and then the space of a whole page element being adjusted in set-up procedure S12 and S14 and its adjacent space of a whole page element close the occupancy in region System, and according to the occupancy relation after adjustment, adjusts at least one of the position of space of a whole page element, size, direction, profile, makes The region that space of a whole page element takes with it matches, and proceeds to step S18;
Step S18, judges after step S17 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limits Property condition processed;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S20 is proceeded to;If All space of a whole page elements meet whole restrictive conditions, proceed to step S19;
Step S19, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S20 is proceeded to;
Step S20, prompts user to abandon this adaptive masterplate and select new masterplate.
During adaptive adjustment more than, the restrictive condition being previously mentioned includes following items:The limitation of space of a whole page border, Space of a whole page element size growth rate, space of a whole page element position change rate, space of a whole page element outline change rate, the limitation of space of a whole page element direction change And space of a whole page element degree of overlapping limitation.Wherein, the limitation of space of a whole page border refers to the border of space of a whole page element without departing from the width where it The border in face;For example, using the left upper apex O of left side breadth as origin in the masterplate of Fig. 1, the horizontal size of left side breadth is X, is indulged It is Y to size, then the horizontal distance in the breadth of left side on the border of any space of a whole page element between any point and origin O is not greater than X, the vertical range in the breadth of left side on the border of any space of a whole page element between any point and origin O are not greater than Y, otherwise The border for the breadth being considered as where it.Space of a whole page element size growth rate refers to the present level size of space of a whole page element or works as Preceding vertical dimension is relative to the horizontal size of the space of a whole page element under masterplate reset condition or the growth rate of vertical dimension, such as the space of a whole page Element size growth rate is set to 100%, then the present level size of space of a whole page element is relative to space of a whole page member under masterplate reset condition The growth of the horizontal size of element must not exceed 100% of the horizontal size of the space of a whole page element under masterplate reset condition, vertical dimension It is as the same.Space of a whole page element position change rate refers to the current location of space of a whole page element relative to the space of a whole page element under masterplate reset condition The horizontal variable quantity of position or the ratio of vertical change amount and X or Y, such as space of a whole page element position change rate is set to 10%, then The current location of space of a whole page element must not exceed relative to the horizontal variable quantity of the position of the space of a whole page element under masterplate reset condition 10%*X, vertical change amount also must not exceed 10%*Y.Space of a whole page element outline change rate refers to that the current of space of a whole page element is covered Capping accumulates the ratio with the area coverage of the space of a whole page element under masterplate reset condition, and space of a whole page element outline change rate is 90%, then The current area coverage of space of a whole page element cannot be less than 90% of the area coverage of the space of a whole page element under masterplate reset condition.Space of a whole page member Plain direction change limitation is space of a whole page element when front direction is relative to the angle in the direction of the space of a whole page element under masterplate reset condition Variable quantity, if space of a whole page element direction change is limited to -5 degree to 5 degree, space of a whole page element to work as front direction original relative to masterplate The maximum angle clockwise or counterclockwise in the direction of the space of a whole page element is no more than 5 degree under state.Space of a whole page element degree of overlapping limits System refers to that the overlapping degree of any space of a whole page element and other space of a whole page elements must not exceed the degree of overlapping that the space of a whole page element is set, right Hereinbefore its implication and the expression of computational methods and metadata have been set forth in degree of overlapping.
We are introduced and are pressed after material is filled using the adaptive masterplate of the reset condition shown in Fig. 1 as example below The process of adaptive adjustment masterplate state is carried out according to method provided by the invention.
On the basis of the adaptive masterplate of the reset condition shown in Fig. 1, in step sl, user can be in right side breadth The text box 104 of self-defined space of a whole page element-i.e., 105, filling word in 106-.Wherein, according to the original design of masterplate, positioned at version The size of the text box 105 in region on the upper side is 80%X, 30%Y in face, and the position of text box 105 is (10%X, 30%Y).If It can be No. 16 to No. 20 fonts by the font size range set that text box 105 is tolerated to count teacher, i.e. as user is in text Input word increases in frame 105, and inputting the font of word can be gradually reduced by No. 20, but smallest font is No. 16 words, in order to avoid word Body is too small to influence visual effect and reading.Under the original design of above-mentioned size and font size scope, text box 105 is original The estimated word for accommodating up to 3 No. 16 fonts of row in design.However, in the practical application of masterplate, user is entirely possible at this Inserted in text box 105 than estimated more words, such as reality has inserted 5 row 16 into text box to user in step sl The word of font.
In step S2, adjustment be filled after the text box 104 of self-defined space of a whole page element-i.e., 105, the position of 106- and/or Size.Wherein, the word that text box 104 and text box 106 are filled by it is within the expected range of masterplate original design, therefore Its size and position may remain in reset condition, i.e. 104 size of text box is 35%X, 10%Y, position for (10%X, 15% Y), 106 size of text box is 80%X, and 10%Y, position is (10%X, 65%Y).However, for text box 105, in order to with Family filling matches more than estimated word, and text frame is sized to 80%X, 50%Y, the position of text box 105 Put still is (10%X, 30%Y).As it can be seen that the vertical dimension increase of text box 105, is more than two estimated style of writing words to accommodate. Text box 105 is by after size adjusting, the space of a whole page state of masterplate is as shown in Figure 2.
In step S3, judge whether all space of a whole page elements of the space of a whole page are satisfied by the limitation of space of a whole page border, space of a whole page element size increases Long rate, space of a whole page element position change rate, space of a whole page element outline change rate, the limitation of space of a whole page element direction change and space of a whole page element weight Folded degree limitation.For the space of a whole page state shown in Fig. 2, judge through this step, the limitation of space of a whole page border, space of a whole page element size growth rate, Restrictive condition in terms of space of a whole page element position change rate, space of a whole page element outline change rate, space of a whole page element direction change limitation obtains To satisfaction.Since the vertical dimension of text box 105 increases, text frame 105 is caused to be generated with text box 106 overlapping.Wherein, Assuming that the degree of overlapping of text box 105 and text box 106 is 25%, it is total that 105 lap area of text box accounts for text frame 105 The 20% of area, meets restrictive condition, but the lap area of text box 106 accounts for the 100% of the text frame gross area, hence it is evident that Restrictive condition is not met.Therefore, step S4 will be proceeded to.
In step S4, to the space of a whole page element i.e. text box 106 for not meeting restrictive condition currently and the space of a whole page adjacent thereto The adjustment of element text box 105 and text box 109 into row position and/or size.During adjusting, first according to the current space of a whole page State determines controlled plant relative to the change conditions of original version surface state, due to pertaining only to the version in vertical direction in this example Surface state changes, therefore size and position adjusting can be carried out just for vertical direction.In the present invention, adjust change every time Predetermined fixed amplitude.For example, in each adjusting of step S4, the position of text box 105 moves up every time in vertical direction 2.5%Y, the position of text box 106 move down 2.5%Y every time in vertical direction, and the size of text box 109 is every time in Vertical Square 2.5%Y is reduced upwards, and position moves down 2.5%Y every time in vertical direction, and adaptation tune is carried out to the font in text box 109 It is whole.
Step S5, judges after the first time adjustment of step S4, and whether all space of a whole page elements of masterplate meet all in advance The restrictive condition of definition.Through judging, the limitation of space of a whole page border, space of a whole page element size growth rate, space of a whole page element position change rate, version The restrictive condition of surface element profile variations rate, the limitation of space of a whole page element direction change, the limitation of space of a whole page element degree of overlapping etc. obtains To satisfaction, but text box 106 accounts for the 50% of the text frame gross area with 105 lap area of text box, does not meet still overlapping Degree requires.Therefore, it is necessary to perform the adjustment performed by step S4 again.After adjusting again, space of a whole page state such as Fig. 3 institutes of masterplate Show, judge again through step S5, all space of a whole page elements meet whole restrictive conditions, proceed to step S6.
In step S6, the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate is received, can bullet Go out to indicate frame, ask whether user's selection is satisfied with the current space of a whole page.Under the space of a whole page state shown in Fig. 3, although meeting whole limitations Condition, but there is a situation where that close together wait of space of a whole page element influences visual effect, in this case, if user clicks table Show unsatisfied instruction frame button, then go successively to step S7 and be adjusted.
In step S7, direction and/or the profile of the space of a whole page element being adjusted in step S2 and step S4 are adjusted.Specifically To the space of a whole page state shown in Fig. 3, the profile of text box 105 and text box 106 can be adjusted, such as be adjusted to from rectangle Round rectangle, with improve because space of a whole page element it is close together caused by visual constriction, and according to the predetermined anglec of rotation Degree amplitude adjusts the direction of text box 109, such as is adjusted to 0 degree.The space of a whole page after S7 is adjusted is as shown in Figure 4.
Step S8, judges after step S7 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limitations Property condition, i.e., the limitation of space of a whole page border, space of a whole page element size growth rate, space of a whole page element position change rate, the space of a whole page element outline change Rate, the limitation of space of a whole page element direction change, the limitation of space of a whole page element degree of overlapping.In this example, through judging that all space of a whole page elements accord with Whole restrictive conditions is closed, therefore proceeds to step S11;
Step S11, receives still through forms such as prompting frames and represents that user is to the current space of a whole page state of adaptive masterplate The input of no satisfaction, user inputs meaning with thumb down to the space of a whole page state shown in Fig. 4 in this example, proceeds to step S12;
Step S12, adjusts the region division mode of the space of a whole page, in this example, in order to alleviate text box 105, text first The close together state of frame 106 and text box 109, can by region on the lower side in original with region merging technique on the upper side be a Ge Zhong areas Domain, and be region in bottom left and bottom right two by region division under original.On this basis, text box 105, text box 106 are adjusted And text box 109, to the occupancy relation in region, region during text box 105 takes, text box 106 takes bottom left region, text box 109 take bottom right region.Also, according to the occupancy relation after adjustment, adjustment text box 105, text box 106 and text box 109 Position, size, direction, at least one of profile, the region that space of a whole page element takes with it is matched.Specifically, may be used The upright position of text box 105 is moved down into 2.5%Y, 106 position of text box is displaced downwardly to (10%X, 85%Y), and its is big It is small to be adjusted to 40%X, 10%Y;It is (50%X, 85%Y) by the position adjustment of text box 109, and size is adjusted to 40%X, 10%Y.Space of a whole page state after adjustment is as shown in Figure 5.
In step S13, judge after step S12 is adjusted, it is all predefined whether all space of a whole page elements of masterplate meet Restrictive condition.In this example, through judging, all space of a whole page elements meet the limitation of space of a whole page border, space of a whole page element size increases Rate, space of a whole page element position change rate, space of a whole page element outline change rate, the limitation of space of a whole page element direction change, space of a whole page element degree of overlapping Limitation, therefore, proceeds to step S16.
In step s 16, the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate is received, if Input is satisfied with, then terminates adaptively to adjust space of a whole page state.If user is still dissatisfied, step S17 is proceeded to.
In step S17, to retain self-defined space of a whole page element as principle, the text of predefined space of a whole page element type will be deleted Frame 109, then, by the region of the space of a whole page be reclassified as it is upper it is left, upper right, in, under.Also, adjust text box 105, text box 106 To the occupancy relation in region, region during text box 105 takes, text box 106 takes lower region.Also, according to accounting for after adjustment With relation, at least one of adjustment text box 105, the position of text box 106, size, direction, profile, make space of a whole page element with Its region taken matches.Specifically, 106 size of text box can be adjusted to 80%X, 10%Y, the space of a whole page shape after adjustment State is as shown in Figure 6.
Step S18, judges after step S17 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined limits Property condition processed;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S20 is proceeded to;If All space of a whole page elements meet whole restrictive conditions, proceed to step S19;
Step S19, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input It is satisfied with, then terminates adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S20 is proceeded to;
Step S20, prompts user to abandon this adaptive masterplate and select new masterplate.
As it can be seen that the present invention provides a kind of online self-help design method of the printed matter based on adaptive masterplate.It is of the invention first The description system and its metadata expression-form for space of a whole page state are first constructed, and then, there is provided it is divided into multiple relative importance value levels Other adaptive masterplate method of adjustment, and whether all space of a whole page elements are accorded with first after each adaptive masterplate adjustment Close whole restrictive conditions to be judged, adjustment is iterated in the case of incongruent or proceeds to next priority level Adaptive masterplate adjustment;In the case where all space of a whole page elements meet whole restrictive conditions, and then reception user expires Meaning or unsatisfied input, proceed to the adaptive masterplate adjustment of next priority level in the case of user's input is unsatisfied, Until being finally reached after the adaptive adjustment of highest priority level, if user is still dissatisfied, this adaptive mode is abandoned Version simultaneously selects new masterplate.
The advantages of adaptive masterplate of the present invention is space of a whole page state of the situation to masterplate that material can be filled according to user It is adaptively adjusted, the space of a whole page is matched with material;Also, ensure the mutual position co-ordination of space of a whole page element, limitation After adjustment space of a whole page state relative to original version planar into irrelevance, and realize the adaptive tune of a variety of priority levels It is whole, it can be achieved that adaptive adjustment to layout, avoid influences completely because space of a whole page element variation is larger in the prior art The defects of space of a whole page effect.
Above example is merely to illustrate the present invention, and not limitation of the present invention, the common skill in relation to technical field Art personnel, without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore all etc. Same technical solution falls within scope of the invention, and scope of patent protection of the invention should be defined by the claims.

Claims (5)

1. the online self-help design method of a kind of printed matter based on adaptive masterplate, it is characterised in that comprise the following steps:
Providing a user includes the adaptive masterplate of multiple space of a whole page elements, and build to the adaptive masterplate space of a whole page state into The metadata of row description, space of a whole page size of the space of a whole page state including printed matter, layout structure, space of a whole page element are formed, space of a whole page cloth Office, and position of each space of a whole page element on the space of a whole page, size, direction, profile, degree of overlapping;
User fills material at least one space of a whole page element of adaptive masterplate;
Coordinate filled material, according to multiple priority levels, adaptively adjust the space of a whole page state of the adaptive masterplate;Institute State the priority that priority level determines that every kind of space of a whole page state is adjusted during adaptive adjustment;
After each adaptive masterplate adjustment, whether first all space of a whole page elements are met with whole restrictive conditions and is carried out Judge;
In the case where not meeting whole restrictive conditions, the space of a whole page state under current preference degree rank is adjusted again It is whole, until the number readjusted reaches repetition upper limit value, or proceed to the adaptive adjustment of next priority level;
In the case where all space of a whole page elements meet whole restrictive conditions, and then it is satisfied or unsatisfied defeated to receive user Enter;
Terminate adaptive adjustment in the case where user inputs satisfaction;
The adaptive adjustment of next priority level is proceeded in the case of user's input is unsatisfied, until it is excellent to be finally reached highest First spend after the adaptive adjustment of rank, if user is still dissatisfied, abandons this adaptive masterplate and select new masterplate.
2. the online self-help design method of the printed matter according to claim 1 based on adaptive masterplate, it is characterised in that institute State adaptive masterplate and add the description file including the metadata, the metadata and its assignment be used to describing space of a whole page size, Layout structure, space of a whole page element are formed, layout, and position of each space of a whole page element on the space of a whole page, size, direction, profile, Degree of overlapping.
3. the online self-help design method of the printed matter according to claim 2 based on adaptive masterplate, it is characterised in that from Adapting to the priority level of adjustment includes following priority:First priority is positions and dimensions of the space of a whole page element on the space of a whole page, Second priority is direction and the profile of space of a whole page element, and third priority is layout, and the 4th priority is space of a whole page element structure Into.
4. the online self-help design method of a kind of printed matter based on adaptive masterplate, it is characterised in that comprise the following steps:
Step S0, provides a user the adaptive masterplate for including multiple space of a whole page elements;The adaptive masterplate defines printed matter Space of a whole page size, layout structure, space of a whole page element form, layout, and define position of each space of a whole page element on the space of a whole page Put, size, direction, profile, degree of overlapping;Also, the adaptive masterplate adds the description file including metadata, the member number According to and its assignment be used to describing space of a whole page size, layout structure, space of a whole page element form, layout, and each space of a whole page element exists Position, size on the space of a whole page, direction, profile, degree of overlapping;The space of a whole page element includes at least one self-defined space of a whole page element;
Step S1, self-defined space of a whole page element whole in adaptive masterplate is filled by user;
Step S2, adjusts position and/or the size of the self-defined space of a whole page element after being filled, is allowed to match with material;
Step S3, judges whether all space of a whole page elements of adaptive masterplate meet all predefined restrictive conditions;If extremely A few space of a whole page element does not meet wherein any one restrictive condition, then proceeds to step S4;If all space of a whole page elements accord with Whole restrictive conditions is closed, proceeds to step S6;
Step S4, adjustment currently do not meet the space of a whole page element of restrictive condition and its position and/or the ruler of adjacent space of a whole page element It is very little, then proceed to step S5;
Step S5, judges after step S4 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined restricted bars Part;If all space of a whole page elements meet whole restrictive conditions, step S6 is proceeded to;If at least one space of a whole page element is not inconsistent Wherein any one restrictive condition is closed, then returns and re-executes step S4, until the number that step S4 is re-executed reaches Upper limit value is repeated, if there are still at least one space of a whole page element not to meet wherein any one restrictive condition, proceeds to step Rapid S7;
Step S6, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input represents It is satisfied, then terminate adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S7 is proceeded to;
Step S7, adjusts direction and/or the profile of the space of a whole page element being adjusted in step S2 and step S4, then proceeds to step Rapid S8;
Step S8, judges after step S7 is adjusted, and whether all space of a whole page elements of adaptive masterplate meet all predefined limits Property condition processed;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S9 is proceeded to;If institute There is space of a whole page element to meet whole restrictive conditions, proceed to step S11;
Step S9, adjustment currently do not meet the space of a whole page element of restrictive condition and its direction and/or the wheel of adjacent space of a whole page element Exterior feature, then proceeds to step S10;
Step S10, judges after step S9 is adjusted, and whether all space of a whole page elements of adaptive masterplate meet all predefined limits Property condition processed;If all space of a whole page elements meet whole restrictive conditions, step S11 is proceeded to;If at least one space of a whole page Element does not meet wherein any one restrictive condition, then returns and re-execute step S9, until what step S9 was re-executed Number reaches repetition upper limit value, if there are still at least one space of a whole page element not to meet wherein any one restrictive condition, Then proceed to step S12;
Step S11, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input represents It is satisfied, then terminate adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S12 is proceeded to;
Step S12, adjusts the region division mode of the space of a whole page, the space of a whole page element that is then adjusted in set-up procedure S7 and S9 and its Occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, adjustment At least one of the position of space of a whole page element, size, direction, profile, make the region that space of a whole page element takes with it match, proceed to Step S13;
Step S13, judges after step S12 is adjusted, and whether all space of a whole page elements of masterplate meet all predefined restricted Condition;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S14 is proceeded to;It is if all Space of a whole page element meets whole restrictive conditions, proceeds to step S16;
Step S14, adjusts the region division mode of the space of a whole page, then the current space of a whole page element for not meeting restrictive condition of adjustment and its Occupancy relation of the adjacent space of a whole page element to the region marked off from the space of a whole page, and according to the occupancy relation after adjustment, adjustment At least one of the position of space of a whole page element, size, direction, profile, make the region that space of a whole page element takes with it match, then Proceed to step S15;
Step S15, judges after step S14 is adjusted, and whether all space of a whole page elements of adaptive masterplate meet all predefined Restrictive condition;If all space of a whole page elements meet whole restrictive conditions, step S16 is proceeded to;If at least one version Surface element does not meet wherein any one restrictive condition, then returns and re-execute step S14, until step S14 is held again Capable number reaches repetition upper limit value, if there are still at least one space of a whole page element not to meet the restricted bar of wherein any one Part, then proceed to step S17;
Step S16, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input represents It is satisfied, then terminate adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S17 is proceeded to;
Step S17, deletes at least one space of a whole page element of particular type attribute, then adjusts the region division side of the space of a whole page again Formula, and then the space of a whole page element being adjusted in set-up procedure S12 and S14 and its adjacent space of a whole page element close the occupancy in region System, and according to the occupancy relation after adjustment, adjusts at least one of the position of space of a whole page element, size, direction, profile, makes The region that space of a whole page element takes with it matches, and proceeds to step S18;
Step S18, judges after step S17 is adjusted, and whether all space of a whole page elements of adaptive masterplate meet all predefined Restrictive condition;If at least one space of a whole page element does not meet wherein any one restrictive condition, step S20 is proceeded to;Such as All space of a whole page elements of fruit meet whole restrictive conditions, proceed to step S19;
Step S19, receives the input for representing whether user is satisfied with the current space of a whole page state of adaptive masterplate, if input represents It is satisfied, then terminate adaptively to adjust space of a whole page state;If inputting meaning with thumb down, step S20 is proceeded to;
Step S20, prompts user to abandon this adaptive masterplate and selects other adaptive masterplates.
5. the online self-help design method of the printed matter according to claim 4 based on adaptive masterplate, it is characterised in that Step S1 obtains the current space of a whole page state of adaptive masterplate into S20, by reading and parsing the metadata, and with every The adjustment of secondary space of a whole page state and automatically update corresponding metadata.
CN201510579915.7A 2015-09-10 2015-09-10 A kind of online self-help design method of printed matter based on adaptive masterplate Active CN105260351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579915.7A CN105260351B (en) 2015-09-10 2015-09-10 A kind of online self-help design method of printed matter based on adaptive masterplate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579915.7A CN105260351B (en) 2015-09-10 2015-09-10 A kind of online self-help design method of printed matter based on adaptive masterplate

Publications (2)

Publication Number Publication Date
CN105260351A CN105260351A (en) 2016-01-20
CN105260351B true CN105260351B (en) 2018-05-01

Family

ID=55100047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579915.7A Active CN105260351B (en) 2015-09-10 2015-09-10 A kind of online self-help design method of printed matter based on adaptive masterplate

Country Status (1)

Country Link
CN (1) CN105260351B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102979A (en) * 2017-04-12 2017-08-29 北京图文天地科技发展有限公司 A kind of method of convenient picture album class books typesetting
CN109727298A (en) * 2018-02-12 2019-05-07 平安好房(上海)电子商务有限公司 Poster generation method, device, equipment and computer storage medium
WO2019227300A1 (en) * 2018-05-29 2019-12-05 优视科技新加坡有限公司 Page element processing method and apparatus, and storage medium and electronic device/terminal/server
CN109062885B (en) * 2018-07-16 2022-09-09 广州视源电子科技股份有限公司 Method, device and equipment for adjusting layout of text box
CN109754314A (en) * 2018-12-19 2019-05-14 深圳优启科技有限公司 A kind of personalized customization method, device, computer equipment and storage medium
CN112882775A (en) * 2019-11-29 2021-06-01 北京京东尚科信息技术有限公司 Method and device for self-adaptive adjustment of page template
CN111382552B (en) * 2020-03-11 2022-05-10 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379346A (en) * 2001-03-30 2002-11-13 精工爱普生株式会社 Digital content entering system and digital content entering program
CN1510593A (en) * 2002-12-25 2004-07-07 精工爱普生株式会社 Arranging system, programm and method
CN1530856A (en) * 2003-03-12 2004-09-22 ������������ʽ���� Placement system, programm and method
CN1607524A (en) * 2003-10-15 2005-04-20 佳能株式会社 Selective preview and proofing of documents or layouts containing variable data
CN1607522A (en) * 2003-10-15 2005-04-20 佳能株式会社 User interface for creation and editing of variable data documents
CN1648846A (en) * 2004-01-30 2005-08-03 佳能株式会社 Document processing apparatus and document processing method
CN1731819A (en) * 2004-08-06 2006-02-08 佳能株式会社 Layout adjustment method, apparatus
CN1744026A (en) * 2004-08-31 2006-03-08 佳能株式会社 Layout adjustment method, apparatus and program for the same
CN1821995A (en) * 2006-03-31 2006-08-23 北京北大方正电子有限公司 Typesetting method suitable for straight side literal frame of literal content
CN1828518A (en) * 2005-03-04 2006-09-06 佳能株式会社 Layout processing method, information processing apparatus
CN1828580A (en) * 2006-04-14 2006-09-06 北京北大方正电子有限公司 Rectangular array words frame layout method for fitting word content
CN1828516A (en) * 2005-03-04 2006-09-06 佳能株式会社 Layout control apparatus, layout control method
CN1963868A (en) * 2005-11-11 2007-05-16 佳能株式会社 Method of performing layout of contents and apparatus for the same
CN101013417A (en) * 2007-02-12 2007-08-08 北京大学 Page setup assisted apparatus and method for changing line-shifted attribute of composition data
CN101013419A (en) * 2007-02-15 2007-08-08 北京北大方正电子有限公司 Automatic positioning method and apparatus for manual imposition and anti-overlapping
CN101196876A (en) * 2007-12-29 2008-06-11 北京大学 Method and system for implementing pre-typesetting
CN101727439A (en) * 2008-10-14 2010-06-09 北京大学 Typesetting method and device
CN102103592A (en) * 2009-12-18 2011-06-22 北京大学 Automatic typesetting method and system
CN102110085A (en) * 2009-12-29 2011-06-29 北京大学 Automatic typesetting method and system based on dependency relationship of typesetting objects
CN103186638A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for arranging pictures
CN103593331A (en) * 2012-08-15 2014-02-19 腾讯科技(深圳)有限公司 Page layout method and device
CN104021112A (en) * 2014-06-23 2014-09-03 时代新媒体出版社有限责任公司 One-key book-forming system based on automatic typesetting
CN104252444A (en) * 2013-06-27 2014-12-31 腾讯科技(北京)有限公司 Typesetting method, module and system for magazine application
CN104424172A (en) * 2013-09-04 2015-03-18 北大方正集团有限公司 Typesetting method, typesetting device and typesetting system
CN104615587A (en) * 2012-06-21 2015-05-13 北京奇虎科技有限公司 Electronic data composing method and device

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379346A (en) * 2001-03-30 2002-11-13 精工爱普生株式会社 Digital content entering system and digital content entering program
CN1510593A (en) * 2002-12-25 2004-07-07 精工爱普生株式会社 Arranging system, programm and method
CN1530856A (en) * 2003-03-12 2004-09-22 ������������ʽ���� Placement system, programm and method
CN1607524A (en) * 2003-10-15 2005-04-20 佳能株式会社 Selective preview and proofing of documents or layouts containing variable data
CN1607522A (en) * 2003-10-15 2005-04-20 佳能株式会社 User interface for creation and editing of variable data documents
CN1648846A (en) * 2004-01-30 2005-08-03 佳能株式会社 Document processing apparatus and document processing method
CN1731819A (en) * 2004-08-06 2006-02-08 佳能株式会社 Layout adjustment method, apparatus
CN1744026A (en) * 2004-08-31 2006-03-08 佳能株式会社 Layout adjustment method, apparatus and program for the same
CN100337187C (en) * 2004-08-31 2007-09-12 佳能株式会社 Layout adjustment method, apparatus and program for the same
CN1828516A (en) * 2005-03-04 2006-09-06 佳能株式会社 Layout control apparatus, layout control method
CN1828518A (en) * 2005-03-04 2006-09-06 佳能株式会社 Layout processing method, information processing apparatus
CN1963868A (en) * 2005-11-11 2007-05-16 佳能株式会社 Method of performing layout of contents and apparatus for the same
CN1821995A (en) * 2006-03-31 2006-08-23 北京北大方正电子有限公司 Typesetting method suitable for straight side literal frame of literal content
CN1828580A (en) * 2006-04-14 2006-09-06 北京北大方正电子有限公司 Rectangular array words frame layout method for fitting word content
CN101013417A (en) * 2007-02-12 2007-08-08 北京大学 Page setup assisted apparatus and method for changing line-shifted attribute of composition data
CN101013419A (en) * 2007-02-15 2007-08-08 北京北大方正电子有限公司 Automatic positioning method and apparatus for manual imposition and anti-overlapping
CN101196876A (en) * 2007-12-29 2008-06-11 北京大学 Method and system for implementing pre-typesetting
CN101727439A (en) * 2008-10-14 2010-06-09 北京大学 Typesetting method and device
CN102103592A (en) * 2009-12-18 2011-06-22 北京大学 Automatic typesetting method and system
CN102110085A (en) * 2009-12-29 2011-06-29 北京大学 Automatic typesetting method and system based on dependency relationship of typesetting objects
CN103186638A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for arranging pictures
CN104615587A (en) * 2012-06-21 2015-05-13 北京奇虎科技有限公司 Electronic data composing method and device
CN103593331A (en) * 2012-08-15 2014-02-19 腾讯科技(深圳)有限公司 Page layout method and device
CN104252444A (en) * 2013-06-27 2014-12-31 腾讯科技(北京)有限公司 Typesetting method, module and system for magazine application
CN104424172A (en) * 2013-09-04 2015-03-18 北大方正集团有限公司 Typesetting method, typesetting device and typesetting system
CN104021112A (en) * 2014-06-23 2014-09-03 时代新媒体出版社有限责任公司 One-key book-forming system based on automatic typesetting

Also Published As

Publication number Publication date
CN105260351A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105260351B (en) A kind of online self-help design method of printed matter based on adaptive masterplate
CN105045776B (en) A kind of page automatic composing method
JP5851607B2 (en) Kanji composition method and apparatus, character composition method and apparatus, and font library construction method
US8203745B2 (en) Automated image sizing and placement
Stephens Visual basic graphics programming
US11030357B2 (en) Methods, devices, and systems for designing and customizing a virtual decor
US20050122543A1 (en) System and method for custom color design
Ambrose et al. The layout book
CN111783382A (en) Recommendation method and device for visual effect of document
CN107526489B (en) Picture adjusting method and device
Ambrose et al. The production manual: a graphic design handbook
CN115272530A (en) Intelligent dynamic cover synthesis method and system for enterprise online education
SHARMA et al. Fusion of Indian folk arts Madhubani and Warli for designing of apparels using CAD
WO1987000940A1 (en) Method of printing leaflets and catalogs
JP5553423B1 (en) Calendar, its creation method, and calendar creation system
Hass 3.2 Visual Elements--Basic Things That Can be Seen
CN105159645B (en) A kind of mobile terminal Tang poetry self-adaptive layout method
Wong et al. Visual Design On The Computer 2e
McWade Before & after: how to design cool stuff
Rock et al. Mapping with ArcGIS Pro: Design accurate and user-friendly maps to share the story of your data
DeJarld et al. Adobe InDesign Classroom in a Book (2020 release)
Çoruh et al. The principles of book design for electronic and printed books
JPH06282605A (en) Layout device
COLLECTIVE Graphic design and print production fundamentals
Oleck Graphic design and desktop publishing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant