CN109657201A - A kind of method for displaying typesetting of element, device, electronic equipment and storage medium - Google Patents

A kind of method for displaying typesetting of element, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109657201A
CN109657201A CN201710934763.7A CN201710934763A CN109657201A CN 109657201 A CN109657201 A CN 109657201A CN 201710934763 A CN201710934763 A CN 201710934763A CN 109657201 A CN109657201 A CN 109657201A
Authority
CN
China
Prior art keywords
typesetting
layout position
display interface
effect picture
layout
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
CN201710934763.7A
Other languages
Chinese (zh)
Other versions
CN109657201B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201710934763.7A priority Critical patent/CN109657201B/en
Publication of CN109657201A publication Critical patent/CN109657201A/en
Application granted granted Critical
Publication of CN109657201B publication Critical patent/CN109657201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention provides a kind of method for displaying typesetting of element, device, electronic equipment and storage mediums, which comprises determines newest the first selected element;Determine the layout position of first element in the display interface;Based on the layout position, the typesetting effect picture for embodying the layout position of first element on the display interface is generated;The typesetting effect picture is shown in the selection interface of first element.The method provided through the embodiment of the present invention may be implemented when selecting element, the typesetting effect of real-time display element, improve user experience.

Description

A kind of method for displaying typesetting of element, device, electronic equipment and storage medium
Technical field
The present invention relates to field of computer technology, set more particularly to the method for displaying typesetting, device, electronics of a kind of element Standby and storage medium.
Background technique
With the fast development of computer technology, network has become inalienable part in people's daily life. People are handled official business by network, are entertained, done shopping, social activity etc., and in each application scenarios, user can need to carry out element Selection, the selection of element can specifically be showed themselves in that when user is by production presentation file office, suitable to presentation file progress When sequence arranges, the sequencing occurred for each document is selected;When user carries out network society using social software It hands over, it is desirable to by photo publication when sharing on website with other people, the sequencing issued to photo be needed to select;Work as user When doing shopping on shopping website, in shopping list, need to select the sequence that places an order of the commodity of purchase, these are ok The referred to as selection of element, element can indicate any kind things for needing user to carry out selection, disposably select in user When multiple elements, meeting putting in order more concerned with element, and putting in order for element can be adjusted according to actual needs.
In prior art, when user selects element and after confirming selection, it can be seen that the typesetting effect picture of element, with For picture is issued on social network sites in family, as shown in Figure 1, the selection course of 9 pictures is illustrated in Fig. 1, selecting sequence point Not according to shown in the label in figure, 1,2,3,4,5,6,7,8,9 are followed successively by, after selecting element every time, the number that occurs in picture The quantity of picture has been selected in expression;What Fig. 2 was indicated is the typesetting effect under according to selection as shown in Figure 1, after the completion of clicking Fruit figure, and according to the user's choice, by 9 pictures according to from left to right, sequence from top to bottom is arranged.
In existing element method for displaying typesetting, only after user selects element and confirms selection, it can see See the typesetting effect picture of element, can not real-time display typesetting as a result, when user want addition or delete an element when, can not It learns typesetting effect in real time, after needing to reaffirm selection, the typesetting effect of major elements can be obtained.
Summary of the invention
The method for displaying typesetting for being designed to provide a kind of element, device, electronic equipment and the storage of the embodiment of the present invention Medium, to realize when selecting element, the typesetting effect of real-time display element improves user experience.Specific technical solution is as follows:
The embodiment of the invention provides a kind of method for displaying typesetting of element, which comprises
Determine newest the first selected element;
Determine the layout position of first element in the display interface;
Based on the layout position, generates and embody the layout position of first element on the display interface Typesetting effect picture;
The typesetting effect picture is shown in the selection interface of first element.
Specifically, the layout position of determination first element in the display interface, comprising:
Determine that first element is all choosing the ordinal position arranged in element according to selecting sequence;
According to the corresponding relationship of preset ordinal position and layout position, the corresponding typesetting position of first element is determined It sets, as layout position in the display interface.
Specifically, the layout position of determination first element in the display interface, comprising:
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
Determine that first element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, the layout position of determination first element in the display interface, comprising:
Determine that first element is all choosing the ordinal position arranged in element according to selecting sequence;
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
According to the corresponding relationship of preset ordinal position and layout position, determine that first element is all choosing member The corresponding layout position of ordinal position arranged in element according to selecting sequence, as in the display interface according to identified typesetting The layout position of format progress typesetting.
Specifically, the method also includes:
Determining all has chosen the other elements in element to be arranged in the display interface according to identified typesetting format The layout position of version;
Based on the layout position of the other elements, generates and embody the other elements in the display interface according to determining Typesetting format carry out typesetting layout position new typesetting effect picture;
Using the new typesetting effect picture of the other elements, the other elements shown in the selection interface are replaced Former typesetting effect picture.
Specifically, the method also includes:
It determines and has all chosen the element being revoked in element;
Determine the remaining selected layout position of element in the display interface;
Based on the layout position, generates and embody the remaining selected typesetting of the element on the display interface The new typesetting effect picture of position;
Using the new typesetting effect picture of the remaining selected element, replace shown in the selection interface it is described surplus The former typesetting effect picture of remaining selected element.
Specifically, the determining remaining selected layout position of element in the display interface, comprising:
Determine the element number of remaining selected element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair of remaining selected element is determined The typesetting format answered;
Determine that remaining selected element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, the determining remaining selected layout position of element in the display interface, comprising:
Determine remaining selected ordinal position of the element before element is revoked;
According to the corresponding relationship of preset ordinal position and layout position, the layout position of remaining selected element is determined.
Specifically, after determination has all chosen the element being revoked in element, the method also includes:
Determine newest selected second element;
Determine the layout position of the second element in the display interface;
Based on the layout position, generates and embody the layout position of the second element on the display interface Typesetting effect picture;
The typesetting effect picture of the layout position of the second element on the display interface will be embodied described It is shown in the selection interface of Was Used.
Specifically, the layout position of the determination second element in the display interface, comprising:
Determine the remaining layout position in addition to the remaining selected layout position of element in the display interface;
Determine that the second element is all choosing the ordinal position in element;
It is occupied successively suitable according to layout position in the remaining layout position according to identified ordinal position Sequence determines the layout position of the second element.
Specifically, described show the typesetting effect picture in the selection interface of first element, comprising:
By the typesetting effect picture, the upper layer of the currentElement is shown in the selection interface of first element.
The embodiment of the invention also provides a kind of typesetting display device of element, described device includes:
First element determining module, for determining newest the first selected element;
First position determining module, for determining the layout position of first element in the display interface;
First effect picture generation module generates for being based on the layout position and embodies first element described aobvious Show the typesetting effect picture of the layout position on interface;
First display module, for showing the typesetting effect picture in the selection interface of first element.
Specifically, the first position determining module, is all choosing element specifically for determination first element According to selecting sequence arrange ordinal position;
According to the corresponding relationship of preset ordinal position and layout position, the corresponding typesetting position of first element is determined It sets, as layout position in the display interface.
Specifically, the first position determining module, the element number of element has all been chosen specifically for determining;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
Determine that first element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, the first position determining module, is all choosing element specifically for determination first element According to selecting sequence arrange ordinal position;
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
According to the corresponding relationship of preset ordinal position and layout position, determine that first element is all choosing member The corresponding layout position of ordinal position arranged in element according to selecting sequence, as in the display interface according to identified typesetting The layout position of format progress typesetting.
Specifically, described device further include:
Other elements position determination module, for determine all chosen other elements in element in the display interface by The layout position of typesetting is carried out according to identified typesetting format;
Other elements effect picture generation module, for the layout position based on the other elements, generate embody it is described its His element carries out the new typesetting effect picture of the layout position of typesetting according to identified typesetting format in the display interface;
Other elements display module replaces selection circle for using the new typesetting effect picture of the other elements The former typesetting effect picture of the other elements shown on face.
Specifically, described device further include:
Element determining module is cancelled, has all chosen the element being revoked in element for determining;
Surplus element position determination module, for determining the remaining selected layout position of element in the display interface;
Surplus element effect picture generation module generates for being based on the layout position and embodies the remaining selected member The new typesetting effect picture of the layout position of the element on the display interface;
Surplus element display module, for using the new typesetting effect picture of the remaining selected element, described in replacement The former typesetting effect picture of the remaining selected element shown in selection interface.
Specifically, the surplus element position determination module, specifically for determining the element number of remaining selected element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair of remaining selected element is determined The typesetting format answered;
Determine that remaining selected element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, the surplus element position determination module, specifically for determining that remaining selected element is removed in element Ordinal position before pin;
According to the corresponding relationship of preset ordinal position and layout position, the layout position of remaining selected element is determined.
Specifically, described device further include:
Second element determining module, for determining newest selected second element;
Second position determining module, for determining the layout position of the second element in the display interface;
Second effect picture generation module generates for being based on the layout position and embodies the second element described aobvious Show the typesetting effect picture of the layout position on interface;
Second display module, for the row of the layout position of the second element on the display interface will to be embodied Version effect picture is shown in the selection interface of the second element.
Specifically, the second position determining module, is specifically used for determining except the remaining selected element is on display circle Remaining layout position other than layout position on face;
Determine that the second element is all choosing the ordinal position in element;
It is occupied successively suitable according to layout position in the remaining layout position according to identified ordinal position Sequence determines the layout position of the second element.
Specifically, first display module, is specifically used for the typesetting effect picture is described in the selection interface The upper layer of first element is shown.
The embodiment of the invention provides a kind of electronic equipment, including processor and machine readable storage medium, the machines Readable storage medium storing program for executing is stored with the machine-executable instruction that can be executed by the processor, and the processor executes the machine When executable instruction, the method for displaying typesetting step of above-mentioned element is realized.
The embodiment of the invention provides a kind of computer readable storage medium, storage in the computer readable storage medium There is computer program, the computer program realizes the method for displaying typesetting step of above-mentioned element when being executed by processor.
Method for displaying typesetting, device, electronic equipment and the storage medium of element provided in an embodiment of the present invention, may be implemented After element is chosen so as to, the typesetting effect of real-time display element.The selected currentElement of user is determined first;It determines current The layout position of element in the display interface, according to the layout position of currentElement, generation can embody currentElement and show Typesetting effect picture on interface, contains the layout position of currentElement in the display interface in typesetting effect picture, and by typesetting Effect picture is shown in the display interface, while so that user is can see display elements, moreover it is possible to see the row of currentElement Version effect.The method provided through the embodiment of the present invention may be implemented after element is chosen so as to, on the display interface of element The typesetting effect of display elements allows users to the typesetting effect that currentElement is intuitively learnt by typesetting effect picture, improves User experience.Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach simultaneously above all advantages.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the selecting sequence figure of picture in prior art;
Fig. 2 is the corresponding picture layout effect picture of Fig. 1;
Fig. 3 is the flow chart of the method for displaying typesetting of element provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of preset element number and typesetting format corresponding relationship provided in an embodiment of the present invention;
Fig. 7 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Fig. 8 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Fig. 9 a be non-selected currentElement provided in an embodiment of the present invention before typesetting format and other elements typesetting Effect picture;
Fig. 9 b is other elements after the currently selected element of determination provided in an embodiment of the present invention according to identified typesetting Format carries out the new typesetting effect picture of the layout position of typesetting;
Figure 10 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Figure 11 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Figure 12 a is typesetting format schematic diagram provided in an embodiment of the present invention;
Figure 12 b is the typesetting format schematic diagram of remaining selected element provided in an embodiment of the present invention;
Figure 13 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Figure 14 a is another typesetting format schematic diagram provided in an embodiment of the present invention;
Figure 14 b is the typesetting format schematic diagram after revocation selection provided in an embodiment of the present invention;
Figure 15 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Figure 16 is the flow chart of the method for displaying typesetting of another element provided in an embodiment of the present invention;
Figure 17 a is the remaining selected layout position schematic diagram of element in the display interface provided in an embodiment of the present invention;
Figure 17 b is the layout position schematic diagram of second element provided in an embodiment of the present invention in the display interface;
Figure 18 is the display schematic diagram of typesetting effect picture provided in an embodiment of the present invention;
Figure 19 is the effect diagram of method provided in an embodiment of the present invention in practical applications;
Figure 20 is a kind of apparatus structure schematic diagram of the typesetting display device of element provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method for displaying typesetting of element, as shown in figure 3, specifically comprising the following steps:
Step 301 determines newest the first selected element.
Step 302 determines the layout position of the first element in the display interface.
Step 303 is based on layout position, generates the typesetting effect for embodying the layout position of the first element in the display interface Figure.
Step 304 shows typesetting effect picture in the selection interface of the first element.
The method for displaying typesetting of element provided in an embodiment of the present invention, may be implemented after element is chosen so as to, aobvious in real time Show the typesetting effect of element.Newest the first element chosen by user is determined first;Determine first element in the display interface Layout position, according to the layout position, generation can embody the typesetting effect picture of the first element in the display interface, typesetting effect The layout position of the first element in the display interface is contained in fruit figure, and typesetting effect picture is shown in selection interface Show, while so that user is can see first element display, moreover it is possible to see the typesetting effect of first element.Through the invention The method that embodiment provides may be implemented after element is chosen so as to, the typesetting of real-time display element in the selection interface of element Effect allows users to improve user experience by the intuitive typesetting effect for obtaining major elements of typesetting effect picture.
For above-mentioned steps 302, in one example, can specifically execute in the following way, process is as shown in Figure 4:
Step 401 determines newest the first selected element.
Method provided in an embodiment of the present invention can be applied to mobile terminal, desktop computer, portable computer etc. In processor, social entertainment, video monitoring, text office etc. specifically can be applied to.First processing device determines newest quilt The first element chosen, wherein the first element can be to be any by the newest element chosen of user, and user can pass through touch screen Or external input equipment, such as mouse, keyboard etc. carry out the selection of element, processor can be by selected by sensor determination Element.
Step 402 determines that the first element is all choosing the ordinal position arranged in element according to selecting sequence.
Before determining newest the first selected element, there may be the other elements selected, determine first Element is all choosing the ordinal position arranged in element according to selecting sequence, for example, if the member currently selected 5 are known as, then the ordinal position of the first element is 6.
Step 403, according to the corresponding relationship of preset ordinal position and layout position, determine the corresponding typesetting of the first element Position, as layout position in the display interface.
After the ordinal position for determining the first element, it can be closed according to preset ordinal position is corresponding with layout position System, wherein the corresponding relationship of preset ordinal position and layout position can be defined according to user demand, for example, the When the ordinal position of one element is 4, layout position is in the display interface according to ordinal position from left to right, from top to bottom 4th position;Can also for when the ordinal position of the first element is 8, layout position be in the display interface according to from a left side to The corresponding relationship of right, ordinal position from top to bottom the 1st position, preset ordinal position and layout position does not only have one Kind, can according to the demand of user with practical application and change.
Step 404 is based on the layout position, generates the typesetting for embodying the layout position of the first element in the display interface Effect picture.
After the layout position for obtaining the first element, according to obtained layout position, a typesetting effect picture is generated, it should Typesetting effect picture embodies the layout position of the first element in the display interface, for example, the ordinal position in the first element is 4 When, layout position is the 4th position of ordinal position in the display interface, then can generate can embody the first element Layout position typesetting effect picture.
Step 405 shows the typesetting effect picture in selection interface.
After generating typesetting effect picture, which is shown in selection interface, can see user The layout position of first element.
The method for displaying typesetting of element provided in an embodiment of the present invention, may be implemented after element is chosen so as to, aobvious in real time Show the typesetting effect of element.Newest the first selected element is determined first;Determine that the first element has been chosen in element all According to the ordinal position that selecting sequence arranges, pass through the corresponding relationship of preset ordinal position and layout position, wherein preset The corresponding relationship of ordinal position and layout position can be defined according to practical application and user demand, based on ordinal position with The corresponding relationship of layout position, after the layout position for determining the first element, generation can embody the first element in display interface On layout position typesetting effect picture, and typesetting effect picture is shown in selection interface, allows users to see in real time The typesetting effect of one element.The method provided through the embodiment of the present invention may be implemented after element is chosen so as to, in element The typesetting effect of display elements in selection interface is allowed users to through the intuitive typesetting effect for obtaining major elements of typesetting effect picture Fruit improves user experience.
It for above-mentioned steps 302, in another example, can specifically execute in the following way, process such as Fig. 5 institute Show:
Step 501 determines newest the first selected element.
Step 502 determines the element number for all having chosen element.
After determining newest the first selected element, the number for all having chosen element is determined, for example, determining most Newly before the first selected element, member is currently selected to be known as 5, after determining newest the first selected element, at this point, The element number for all having chosen element is 6.
Step 503, according to the corresponding relationship of preset element number and typesetting format, determine the members for all having chosen element The corresponding typesetting format of plain number.
After determination has all chosen the number of element, closed according to preset element number is corresponding with typesetting format System, wherein the corresponding relationship of preset element number and typesetting format can according to the demand of user with practical application and set, For example, the corresponding relationship of element number and typesetting format can be for when only 1 element, typesetting format be 1 grid;When having When 2 elements, typesetting format is 4 grids;When having 5 elements, typesetting format is 9 palace lattice etc., therefore, Ke Yiyou The number of element and the corresponding relationship of preset element number and typesetting format have all been chosen, has determined and has all chosen element The corresponding typesetting format of element number.
Step 504 determines that the first element carries out the typesetting position of typesetting according to identified typesetting format in the display interface It sets.
After obtaining all having chosen the corresponding typesetting format of element number of element, the first element can be determined aobvious Show the layout position for carrying out typesetting on interface according to identified typesetting format.For example, when all member having been chosen to be known as 5, According to the corresponding relationship of preset element number and typesetting format, typesetting format can be 9 palace lattice, and current newest selected The layout position of first element is the position where the 1st row the 3rd column of 9 palace lattice, and schematic diagram is as shown in Figure 6.
Step 505 is based on the layout position, generates the typesetting for embodying the layout position of the first element in the display interface Effect picture.
After the layout position for obtaining the first element, according to layout position, typesetting effect picture, the typesetting effect picture are generated Layout position of first element in the display interface in corresponding typesetting format is embodied, for example, according to the example in step 504 9 palace trrellis diagrams can be generated in son, the typesetting effect picture as the first element.
Step 506 shows the typesetting effect picture in selection interface.
After generating typesetting effect picture, which is shown in selection interface, can see user The typesetting effect of first element.
The method for displaying typesetting of element provided in an embodiment of the present invention, may be implemented after element is chosen so as to, aobvious in real time Show the typesetting effect of element.Newest the first selected element is determined first, is determined the element number for all having chosen element, is pressed According to the corresponding relationship of preset element number and typesetting format, determines and all chosen the corresponding typesetting lattice of the element number of element Formula, wherein the corresponding relationship of preset element number and typesetting format can be set according to practical application and user demand, It determines that the first element carries out the layout position of typesetting according to identified typesetting format in the display interface, is based on the typesetting position It sets, generates the typesetting effect picture for embodying the layout position of the first element in the display interface, and the typesetting effect picture is being selected It selects and is shown on interface.
By the corresponding relationship of preset element number and typesetting format, for different element numbers, it is available not Same typesetting format, so that the method for displaying typesetting of element is more flexible changeable.The method provided through the embodiment of the present invention can To realize after element is chosen so as to, the typesetting effect of real-time display element, allows users to lead in the selection interface of element The typesetting effect that typesetting effect picture intuitively learns current newest selected element is crossed, user experience is improved.
It for above-mentioned steps 302, in another example, can also specifically execute in the following way, process such as Fig. 7 institute Show:
Step 701 determines newest the first selected element.
Step 702 determines the element number for all having chosen element.
Step 703, according to the corresponding relationship of preset element number and typesetting format, determine the members for all having chosen element The corresponding typesetting format of plain number.
Step 704, according to the corresponding relationship of preset ordinal position and layout position, determine that the first element has been selected all The corresponding layout position of ordinal position arranged in middle element according to selecting sequence, as in the display interface according to identified The layout position of typesetting format progress typesetting.
When obtaining all having chosen the corresponding typesetting format of element numbers of element, newest selected first yuan is determined Element is all choosing the ordinal position arranged in element according to selecting sequence, after the ordinal position for determining the first element, According to the corresponding relationship of preset ordinal position and layout position, for example, when the ordinal position of the first element is 4, typesetting position It is set to the 4th position in the display interface according to ordinal position from left to right, from top to bottom, the first element is thus obtained and exists All chosen in element according to selecting sequence arrange the corresponding layout position of ordinal position, as in the display interface according to The layout position of the progress typesetting of typesetting format determined by step 703.
Step 705 is based on the layout position, generates the typesetting for embodying the layout position of the first element in the display interface Effect picture.
Step 706 shows the typesetting effect picture in selection interface.
The method for displaying typesetting of element provided in an embodiment of the present invention, may be implemented after element is chosen so as to, aobvious in real time Show the typesetting effect of element.It determines newest the first selected element, the element number for all having chosen element is determined, according to pre- If element number and typesetting format corresponding relationship, determine all has chosen the corresponding typesetting format of the element number of element, Wherein, the corresponding relationship of preset element number and typesetting format can be set according to practical application and user demand, base In the corresponding relationship of preset ordinal position and layout position, it is suitable according to selecting in element to determine that the first element has been chosen in whole The corresponding layout position of ordinal position of sequence arrangement, as in the display interface according to the progress typesetting of identified typesetting format Layout position, and typesetting effect picture is shown in selection interface, allow users to the typesetting effect for seeing the first element in real time. Wherein, the display interface of selection interface and the element can be same interface, be also possible to different interfaces, for example, supervising in video Control field, may be selected interface and display interface is same interface, and in social network-i i-platform, selection interface and display interface are different Interface.
Pass through pair of the corresponding relationship and preset ordinal position and layout position of preset element number and typesetting format It should be related to, for different element numbers, available different typesetting format, and it is directed to different typesetting formats, it is current complete The member that portion has chosen is known as different layout positions, so that the method for displaying typesetting of element has flexibility.
With reference to the accompanying drawing, the method for displaying typesetting of element provided by the invention is retouched in detail with specific embodiment It states.
The embodiment of the invention also provides a kind of method for displaying typesetting of element, as shown in figure 8, can specifically include as follows Step:
Step 801 determines newest the first selected element.
Step 802 determines the element number for all having chosen element.
Step 803, according to the corresponding relationship of preset element number and typesetting format, determine the members for all having chosen element The corresponding typesetting format of plain number.
Step 804 determines and has all chosen the other elements in element in the display interface according to identified typesetting lattice The layout position of formula progress typesetting.
After all the typesetting effect picture of element having been chosen to show all in selection interface, for all having chosen element In the typesetting effect pictures of other elements in addition to newest the first selected element be also required to be handled.It determines and has all selected Other elements in middle element carry out the typesetting position of typesetting according to typesetting format identified in step 803 in the display interface It sets, for example, the element number before non-selected first element is 4 when the element number of element all having been chosen to be 5, So after determining the first element, according to the corresponding relationship of preset element number and typesetting format, current typesetting format It may change, become 9 palace lattice from 4 grids of script, the other elements in addition to newest the first selected element exist The layout position of typesetting is carried out on display interface according to determining new typesetting format.
Step 805, the layout position based on other elements generate and embody other elements in the display interface according to determining Typesetting format carry out typesetting layout position new typesetting effect picture.
Determine whole other elements chosen in element in addition to newest the first selected element in the display interface After the layout position for carrying out typesetting according to identified typesetting format, according to the layout position of other elements, generates and embody it His element carries out the new typesetting effect picture of the layout position of typesetting, example according to identified typesetting format in the display interface Such as, when the element number of element all having been chosen to be 5, when the element number before non-selected first element is 4, Fig. 9 a For the typesetting effect picture of typesetting format and other elements before non-selected first element, Fig. 9 b is determine newest selection first After element, other elements carry out the new typesetting effect picture of the layout position of typesetting according to identified typesetting format.
Step 806, the new typesetting effect picture using other elements replace the original of the other elements shown in selection interface Typesetting effect picture.
After generating new typesetting effect picture, the former typesetting effect picture of the other elements shown in selection interface is carried out It updates, using new typesetting effect picture, replaces the former typesetting effect picture of the other elements shown in selection interface, be shown in selection On interface.
In the embodiment of the present invention, it is first determined newest the first element chosen by user;Determine that first element is being shown Layout position on interface, according to the layout position, generation can embody the typesetting effect picture of the first element in the display interface, The layout position of the first element in the display interface is contained in typesetting effect picture, and by typesetting effect picture in selection interface It is shown, and for the other elements for all having chosen in element, the typesetting effect picture of other elements can be according to current The number of selected element and change, all chosen the other elements in element in the display interface according to identified typesetting lattice Formula carries out the layout position of typesetting, and generates embodiment other elements and arranged in the display interface according to identified typesetting format The new typesetting effect picture of the layout position of version, new typesetting effect picture can replace the original of the other elements shown in selection interface Typesetting effect picture, is shown in selection interface.
The embodiment of the invention also provides a kind of method for displaying typesetting of element, as shown in Figure 10, can specifically include as Lower step:
Step 1001 determines and has all chosen the element being revoked in element.
Step 1002 determines the remaining selected layout position of element in the display interface.
Step 1003 is based on layout position, generates and embodies the remaining selected layout position of element in the display interface New typesetting effect picture.
Step 1004, the new typesetting effect picture that element is selected using residue, replace the residue shown in selection interface The former typesetting effect picture of selected element.
In embodiments of the present invention, it when being deselected there are element, determines to have chosen in element in whole and be removed The element of pin, and thereby determine that the remaining selected layout position of element and remaining element in the display interface, according to this Layout position generates the new typesetting effect picture for embodying the remaining selected layout position of element in the display interface, using surplus The new typesetting effect picture of remaining selected element replaces the former typesetting effect that the residue shown in selection interface is selected element Figure.When there is element to be deselected, the layout position of surplus element may be sent out the method provided through the embodiment of the present invention Changing needs to be updated by the layout position of surplus element and according to the typesetting effect picture that layout position generates, element Display methods is more flexible, the typesetting variation of real time reaction element.
In one example, it for above-mentioned steps 1002, can also specifically execute in the following way, process such as Figure 11 institute Show:
Step 1101, the element number for determining remaining selected element.
Step 1102, according to the corresponding relationship of preset element number and typesetting format, determine remaining selected element The corresponding typesetting format of element number.
According to the corresponding relationship of preset element number and typesetting format, the element number pair of remaining selected element is determined The typesetting format answered.For example, the corresponding typesetting format of preset element number 10 is 16 palace lattice, such as when element number is 10 Shown in Figure 12 a.When revocation selects 4 elements, the element number of the selected element of residue is 6, then corresponding typesetting format by 16 palace lattice become 9 palace lattice, as shown in Figure 12b.
Step 1103 determines that remaining selected element carries out typesetting according to identified typesetting format in the display interface Layout position.
After the corresponding typesetting format of element number for determining remaining selected element, determine that remaining selected element is pressed The layout position that typesetting is carried out according to identified typesetting format, by remaining element according to the typesetting format determined in step 1102 Typesetting is carried out, for example, determining that corresponding typesetting format is 4 grids when the element number of remaining selected element is 4, remaining Remaining element carries out typesetting in 4 grids, and typographical sequences are from left to right, from top to bottom, to obtain the typesetting of remaining selected element Position.
Step 1104 is based on layout position, generates and embodies the remaining selected layout position of element in the display interface New typesetting effect picture.
Based on the layout position of remaining selected element, the new typesetting effect picture of remaining selected element, the row are generated Version effect picture embodies the layout position that remaining selected element carries out typesetting according to identified typesetting format in the display interface.
Step 1105, the new typesetting effect picture that element is selected using residue, replace the residue shown in selection interface The former typesetting effect picture of selected element.
After generating new typesetting effect picture, the residue shown in selection interface is selected to the former typesetting effect picture of element It is updated, the former typesetting effect picture of element is selected using the residue shown in new typesetting effect picture replacement selection interface.
In the embodiment of the present invention, if all having chosen in element has element to be deselected, then it is determined that remaining selected The element number of middle element determines remaining selected element according to the corresponding relationship of preset element number and typesetting format The selected element of residue is carried out typesetting according to identified typesetting format, obtains residue by the corresponding typesetting format of element number The layout position of selected element, generate embody remaining selected element in the display interface according to identified typesetting format into The new typesetting effect picture of the layout position of row typesetting, and replace the former typesetting that the residue shown in selection interface is selected element Effect picture.When the method provided in the present embodiment can be such that element is deselected, the row for the remaining selected element that timely updates Version effect picture, allows user to perceive typesetting effect in time.
In another example, it for above-mentioned steps 1002, can also specifically execute in the following way, process such as Figure 13 It is shown:
Step 1301 determines and has all chosen the element being revoked in element.
Step 1302 determines remaining selected ordinal position of the element before element is revoked.
Step 1303, according to the corresponding relationship of preset ordinal position and layout position, determine remaining selected element Layout position.
Step 1304 is based on layout position, generates and embodies the remaining selected layout position of element in the display interface New typesetting effect picture.
Step 1305, the new typesetting effect picture that element is selected using residue, replace the residue shown in selection interface The former typesetting effect picture of selected element.
In the embodiment of the present invention, if all having chosen in element has element to be deselected, then it is determined that remaining selected Ordinal position of the middle element before element is revoked determines surplus according to the corresponding relationship of preset ordinal position and layout position The layout position of remaining selected element is based on layout position, generates and embodies the remaining selected typesetting of element in the display interface The new typesetting effect picture of position.For example, when element number is 10, corresponding typesetting format is 16 palace lattice, when revocation selects Position is Isosorbide-5-Nitrae, and when 6,7,8,9 element, although being only left 4 elements, the selected element of residue is before element is revoked Ordinal position is to have 2,3,5,10, and the element of former No. 10 positions still remains, so typesetting format is still 16 palace lattice, such as schemes Shown in 14a.Similarly, after 10 element is in revocation position, former No. 5 elements are still remained, and typesetting format is 9 palace lattice, are such as schemed Shown in 14b.When the method provided in the present embodiment can be such that element is deselected, the row for the remaining selected element that timely updates Version effect picture, allows user to perceive typesetting effect in time.
It, specifically can be with following steps, process such as Figure 15 after determination has all chosen the element being revoked in element It is shown:
Step 1501 determines newest selected second element.
Step 1502 determines the layout position of second element in the display interface.
Step 1503 is based on layout position, generates the typesetting effect for embodying the layout position of second element in the display interface Fruit figure.
Step 1504 will embody the typesetting effect picture of the layout position of second element in the display interface in second element It is shown in selection interface.
In embodiments of the present invention, if whole has been chosen after having element to be deselected in element, and there is second element It is selected, wherein second element can be identical with the first element that user selects, can not also be identical, when user removes in fault When selling selected first element, the first element can be reselected, at this point, first yuan that second element can be selected with user Element is identical, if user wants after revocation selection, one new element of reselection, at this point, second element and the first element not phase Together, after newest selected second element has been determined, the layout position of second element in the display interface is determined, based on row Version position, generates the typesetting effect picture for embodying the layout position of second element in the display interface, will embody second element aobvious Show that the typesetting effect picture of the layout position on interface is shown in the selection interface of second element.It is provided in the present embodiment Method can timely update when selecting new element after element is deselected again and all choose the typesetting effect of element Figure, allows user to perceive typesetting effect in time.
In one example, it for above-mentioned steps 1502, can specifically execute in the following way, as shown in figure 16:
Step 1601 determines newest selected second element.
Step 1602, the determining remaining typesetting position in addition to the remaining selected layout position of element in the display interface It sets.
Step 1603 determines that second element is all choosing the ordinal position in element.
Step 1604, according to identified ordinal position, in remaining layout position, according to the occupied elder generation of layout position Sequence afterwards, determines the layout position of second element.
Step 1605 is based on layout position, generates the typesetting effect for embodying the layout position of second element in the display interface Fruit figure.
Step 1606, will embody second element layout position in the display interface typesetting effect picture in second element Selection interface on shown.
In embodiments of the present invention, if whole has been chosen after having element to be deselected in element, and there is second element It is selected, then the remaining layout position in addition to the remaining selected layout position of element in the display interface is determined first, Determine that second element is all choosing the ordinal position in element, according to identified ordinal position, in remaining layout position In, it according to the occupied sequencing of layout position, determines the layout position of second element, is based on layout position, generate and embody The typesetting effect picture of the layout position of second element in the display interface will embody the typesetting in the display interface of second element The typesetting effect picture of position is shown in the selection interface of second element.For example, being remained when cancelling the position of 1 and 4 positions The layout position of remaining selected element in the display interface as illustrated in fig 17 a, then remaining layout position is being selected there are also 6 When second element, second element, according to the occupied sequencing of layout position, determines second element in remaining layout position Layout position, second element can come No. 1 original position, be indicated herein with 6, as illustrated in fig. 17b.In the present embodiment The method of offer can timely update when selecting new element after element is deselected again and all choose the row of element Version effect picture, allows user to perceive typesetting effect in time.
The method for displaying typesetting of element provided in an embodiment of the present invention specifically can also include: to select typesetting effect picture The upper layer for selecting the first element on interface is shown.It is after generating typesetting effect picture, typesetting effect picture and the first element is same When be shown in selection interface, and typesetting effect picture is shown in the upper layer of currentElement, and Figure 18 is the display of typesetting effect picture Schematic diagram, display elements are 1801 in figure, and typesetting effect picture is 1802, and the position positioned at upper layer is adjustable, the typesetting in figure Effect picture is shown in the lower right corner of element, and the upper layer of typesetting effect picture the first element in the display interface is shown, can be with Intuitively see the typesetting effect of the first element, and facilitates user and display elements are adjusted according to typesetting effect picture.
A kind of typesetting effect in practical applications of method application provided in an embodiment of the present invention shows figure, such as Figure 19 institute Show, member all selected is known as 8 in figure, respectively element P1, element P2, element P3, element P4, element P5, element P6, Element P7, element P8, wherein the sequence that this 8 elements are selected is arranged from 1 to 8 according to number, select each element when It waits, the corresponding typesetting effect picture of the element can be shown in the upper layer of the element, by taking element P1 as an example, such as the row of element P1 in Figure 19 Shown in version effect picture 1901, the symbol 1902 in typesetting effect picture 1901 is typesetting position of the element on element display interface It sets, similarly, the typesetting effect picture of remaining element is also such as the display methods of element P1.
The embodiment of the invention provides a kind of typesetting display devices of element, and the structural schematic diagram of device is as shown in figure 19, Include:
First element determining module 2001, for determining newest the first selected element;
First position determining module 2002, for determining the layout position of the first element in the display interface;
First effect picture generation module 2003 generates for being based on layout position and embodies the first element in the display interface Layout position typesetting effect picture;
First display module 2004, for showing typesetting effect picture in the selection interface of the first element.
Specifically, first position determining module 2002, specifically for determine the first element all chosen in element by According to the ordinal position of selecting sequence arrangement;
According to the corresponding relationship of preset ordinal position and layout position, the corresponding layout position of the first element is determined, make For layout position in the display interface.
Specifically, first position determining module 2002, the element number of element has all been chosen specifically for determining;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
Determine that the first element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, first position determining module 2002, specifically for determine the first element all chosen in element by According to the ordinal position of selecting sequence arrangement;
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair for all having chosen element is determined The typesetting format answered;
According to the corresponding relationship of preset ordinal position and layout position, determine that the first element has been chosen in element all According to the corresponding layout position of ordinal position that selecting sequence arranges, as in the display interface according to identified typesetting format Carry out the layout position of typesetting.
Specifically, device further include:
Other elements position determination module, for determine all chosen other elements in element in the display interface by The layout position of typesetting is carried out according to identified typesetting format;
Other elements effect picture generation module generates embodiment other elements and exists for the layout position based on other elements The new typesetting effect picture of the layout position of typesetting is carried out on display interface according to identified typesetting format;
Other elements display module is replaced and is shown in selection interface for using the new typesetting effect picture of other elements Other elements former typesetting effect picture.
Specifically, device further include:
Element determining module is cancelled, has all chosen the element being revoked in element for determining;
Surplus element position determination module, for determining the remaining selected layout position of element in the display interface;
Surplus element effect picture generation module generates the remaining selected element of embodiment and is showing for being based on layout position The new typesetting effect picture of layout position on interface;
Surplus element display module replaces selection interface for using the new typesetting effect picture of remaining selected element The residue of upper display is selected the former typesetting effect picture of element.
Specifically, surplus element position determination module, specifically for determining the element number of remaining selected element;
According to the corresponding relationship of preset element number and typesetting format, the element number pair of remaining selected element is determined The typesetting format answered;
Determine that remaining selected element carries out the layout position of typesetting according to identified typesetting format in the display interface.
Specifically, surplus element position determination module, specifically for determining remaining selected element before element is revoked Ordinal position;
According to the corresponding relationship of preset ordinal position and layout position, the layout position of remaining selected element is determined.
Specifically, device further include:
Second element determining module, for determining newest selected second element;
Second position determining module, for determining the layout position of second element in the display interface;
Second effect picture generation module generates for being based on layout position and embodies the row of second element in the display interface The typesetting effect picture of version position;
Second display module, for working as the typesetting effect picture for embodying the layout position of second element in the display interface It is shown in the selection interface of preceding element.
Specifically, second position determining module, specifically for determining except the remaining selected row of element in the display interface Remaining layout position other than version position;
Determine that second element is all choosing the ordinal position in element;
According to identified ordinal position, in remaining layout position, according to the occupied sequencing of layout position, really Determine the layout position of second element.
Specifically, the first display module, specifically for by the upper layer of typesetting effect picture first element in selection interface into Row display.
It is machine readable the embodiment of the invention provides a kind of electronic equipment, including processor and machine readable storage medium Storage medium is stored with the machine-executable instruction that can be executed by processor, and when processor executes machine-executable instruction, promotees Make to realize that above-mentioned Fig. 3 embodiment, Fig. 4 embodiment, Fig. 5 embodiment, Fig. 7 embodiment, the typesetting of element described in Fig. 8 embodiment are aobvious Show method and step.
Electronic equipment provided in an embodiment of the present invention, may be implemented after element is chosen so as to, the row of real-time display element Version effect.The selected currentElement of user is determined first;The layout position of currentElement in the display interface is determined, according to working as The layout position of preceding element, generation can embody the typesetting effect picture of currentElement in the display interface, wrap in typesetting effect picture The layout position of currentElement in the display interface is contained, and typesetting effect picture has been shown in the display interface, has made user It can be seen that while display elements, moreover it is possible to see the typesetting effect of currentElement.The method provided through the embodiment of the present invention It may be implemented after element is chosen so as to, the typesetting effect of display elements, allows users to pass through on the display interface of element Typesetting effect picture intuitively learns the typesetting effect of currentElement, improves user experience.
The embodiment of the invention provides a kind of computer readable storage medium, meter is stored in computer readable storage medium Calculation machine program realizes the method for displaying typesetting step of above-mentioned element when computer program is executed by processor.
Computer readable storage medium provided in an embodiment of the present invention, may be implemented after element is chosen so as to, aobvious in real time Show the typesetting effect of element.The selected currentElement of user is determined first;Determine the typesetting of currentElement in the display interface Position, according to the layout position of currentElement, generation can embody the typesetting effect picture of currentElement in the display interface, typesetting The layout position of currentElement in the display interface is contained in effect picture, and typesetting effect picture is shown in the display interface Show, while so that user is can see display elements, moreover it is possible to see the typesetting effect of currentElement.It mentions through the embodiment of the present invention The method of confession may be implemented after element is chosen so as to, and the typesetting effect of display elements, makes user on the display interface of element The typesetting effect that currentElement can be intuitively learnt by typesetting effect picture, improves user experience.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
It should be noted that the typesetting display device of element provided in an embodiment of the present invention, electronic equipment, storage medium point It is not using device, electronic equipment, the storage medium of the method for displaying typesetting of above-mentioned element, then the typesetting display side of above-mentioned element All embodiments of method be suitable for the device, electronic equipment, storage medium, and can reach it is the same or similar beneficial to effect Fruit.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (24)

1. a kind of method for displaying typesetting of element, which is characterized in that the described method includes:
Determine newest the first selected element;
Determine the layout position of first element in the display interface;
Based on the layout position, the typesetting for embodying the layout position of first element on the display interface is generated Effect picture;
The typesetting effect picture is shown in the selection interface of first element.
2. the method according to claim 1, wherein the row of the determination first element in the display interface Version position, comprising:
Determine that first element is all choosing the ordinal position arranged in element according to selecting sequence;
According to the corresponding relationship of preset ordinal position and layout position, the corresponding layout position of first element is determined, make For layout position in the display interface.
3. the method according to claim 1, wherein the row of the determination first element in the display interface Version position, comprising:
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, determines and all chosen the element number of element corresponding Typesetting format;
Determine that first element carries out the layout position of typesetting according to identified typesetting format in the display interface.
4. the method according to claim 1, wherein the row of the determination first element in the display interface Version position, comprising:
Determine that first element is all choosing the ordinal position arranged in element according to selecting sequence;
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, determines and all chosen the element number of element corresponding Typesetting format;
According to the corresponding relationship of preset ordinal position and layout position, determine that first element has been chosen in element all According to the corresponding layout position of ordinal position that selecting sequence arranges, as in the display interface according to identified typesetting format Carry out the layout position of typesetting.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
It determines and the other elements in element has all been chosen to carry out typesetting according to identified typesetting format in the display interface Layout position;
Based on the layout position of the other elements, generates and embody the other elements in the display interface according to identified row Version format carries out the new typesetting effect picture of the layout position of typesetting;
Using the new typesetting effect picture of the other elements, the original of the other elements shown in the selection interface is replaced Typesetting effect picture.
6. according to the described in any item methods of claim 2-5, which is characterized in that the method also includes:
It determines and has all chosen the element being revoked in element;
Determine the remaining selected layout position of element in the display interface;
Based on the layout position, generates and embody the remaining selected layout position of the element on the display interface New typesetting effect picture;
Using the new typesetting effect picture of the remaining selected element, the remaining quilt shown in the selection interface is replaced Choose the former typesetting effect picture of element.
7. according to the method described in claim 6, it is characterized in that, the determining remaining selected element in the display interface Layout position, comprising:
Determine the element number of remaining selected element;
According to the corresponding relationship of preset element number and typesetting format, determine that the element number of remaining selected element is corresponding Typesetting format;
Determine that remaining selected element carries out the layout position of typesetting according to identified typesetting format in the display interface.
8. according to the method described in claim 6, it is characterized in that, the determining remaining selected element in the display interface Layout position, comprising:
Determine remaining selected ordinal position of the element before element is revoked;
According to the corresponding relationship of preset ordinal position and layout position, the layout position of remaining selected element is determined.
9. according to the method described in claim 6, it is characterized in that, determine all chosen the element that is revoked in element it Afterwards, the method also includes:
Determine newest selected second element;
Determine the layout position of the second element in the display interface;
Based on the layout position, the typesetting for embodying the layout position of the second element on the display interface is generated Effect picture;
The typesetting effect picture of the layout position of the second element on the display interface will be embodied at described second yuan It is shown in the selection interface of element.
10. according to the method described in claim 9, it is characterized in that, the determination second element in the display interface Layout position, comprising:
Determine the remaining layout position in addition to the remaining selected layout position of element in the display interface;
Determine that the second element is all choosing the ordinal position in element;
According to identified ordinal position, in the remaining layout position, according to the occupied sequencing of layout position, really The layout position of the fixed second element.
11. the method according to claim 1, wherein it is described by the typesetting effect picture in first element Selection interface on shown, comprising:
By the typesetting effect picture, the upper layer of the currentElement is shown in the selection interface of first element.
12. a kind of typesetting display device of element, which is characterized in that described device includes:
First element determining module, for determining newest the first selected element;
First position determining module, for determining the layout position of first element in the display interface;
First effect picture generation module generates for being based on the layout position and embodies first element in display circle The typesetting effect picture of the layout position on face;
First display module, for showing the typesetting effect picture in the selection interface of first element.
13. device according to claim 12, which is characterized in that the first position determining module is specifically used for determining First element is all choosing the ordinal position arranged in element according to selecting sequence;
According to the corresponding relationship of preset ordinal position and layout position, the corresponding layout position of first element is determined, make For layout position in the display interface.
14. device according to claim 12, which is characterized in that the first position determining module is specifically used for determining The element number of element is all chosen;
According to the corresponding relationship of preset element number and typesetting format, determines and all chosen the element number of element corresponding Typesetting format;
Determine that first element carries out the layout position of typesetting according to identified typesetting format in the display interface.
15. device according to claim 12, which is characterized in that the first position determining module is specifically used for determining First element is all choosing the ordinal position arranged in element according to selecting sequence;
Determine the element number for all having chosen element;
According to the corresponding relationship of preset element number and typesetting format, determines and all chosen the element number of element corresponding Typesetting format;
According to the corresponding relationship of preset ordinal position and layout position, determine that first element has been chosen in element all According to the corresponding layout position of ordinal position that selecting sequence arranges, as in the display interface according to identified typesetting format Carry out the layout position of typesetting.
16. device according to claim 14, which is characterized in that described device further include:
Other elements position determination module has all chosen the other elements in element in the display interface according to institute for determining Determining typesetting format carries out the layout position of typesetting;
Other elements effect picture generation module generates for the layout position based on the other elements and embodies other described yuan Element carries out the new typesetting effect picture of the layout position of typesetting according to identified typesetting format in the display interface;
Other elements display module is replaced in the selection interface for using the new typesetting effect picture of the other elements The former typesetting effect picture of the other elements of display.
17. the described in any item devices of 3-16 according to claim 1, which is characterized in that described device further include:
Element determining module is cancelled, has all chosen the element being revoked in element for determining;
Surplus element position determination module, for determining the remaining selected layout position of element in the display interface;
Surplus element effect picture generation module generates the embodiment remaining selected element and exists for being based on the layout position The new typesetting effect picture of the layout position on the display interface;
Surplus element display module replaces the selection for using the new typesetting effect picture of the remaining selected element The former typesetting effect picture of the remaining selected element shown on interface.
18. device according to claim 17, which is characterized in that the surplus element position determination module is specifically used for Determine the element number of remaining selected element;
According to the corresponding relationship of preset element number and typesetting format, determine that the element number of remaining selected element is corresponding Typesetting format;
Determine that remaining selected element carries out the layout position of typesetting according to identified typesetting format in the display interface.
19. device according to claim 17, which is characterized in that the surplus element position determination module is specifically used for Determine remaining selected ordinal position of the element before element is revoked;
According to the corresponding relationship of preset ordinal position and layout position, the layout position of remaining selected element is determined.
20. device according to claim 17, which is characterized in that described device further include:
Second element determining module, for determining newest selected second element;
Second position determining module, for determining the layout position of the second element in the display interface;
Second effect picture generation module generates for being based on the layout position and embodies the second element in display circle The typesetting effect picture of the layout position on face;
Second display module, the typesetting for that will embody the layout position of the second element on the display interface are imitated Fruit figure is shown in the selection interface of the second element.
21. device according to claim 20, which is characterized in that the second position determining module is specifically used for determining Remaining layout position in addition to the remaining selected layout position of element in the display interface;
Determine that the second element is all choosing the ordinal position in element;
According to identified ordinal position, in the remaining layout position, according to the occupied sequencing of layout position, really The layout position of the fixed second element.
22. device according to claim 12, which is characterized in that first display module is specifically used for the row Version effect picture upper layer of first element in the selection interface is shown.
23. a kind of electronic equipment, which is characterized in that including processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be executed by the processor, and the processor executes the executable finger of the machine When enabling, any method and step of claim 1-11 is realized.
24. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-11 any method and step when the computer program is executed by processor.
CN201710934763.7A 2017-10-10 2017-10-10 Typesetting display method and device for elements, electronic equipment and storage medium Active CN109657201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710934763.7A CN109657201B (en) 2017-10-10 2017-10-10 Typesetting display method and device for elements, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710934763.7A CN109657201B (en) 2017-10-10 2017-10-10 Typesetting display method and device for elements, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109657201A true CN109657201A (en) 2019-04-19
CN109657201B CN109657201B (en) 2023-07-04

Family

ID=66109308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710934763.7A Active CN109657201B (en) 2017-10-10 2017-10-10 Typesetting display method and device for elements, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109657201B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206010A1 (en) * 2006-03-02 2007-09-06 Fujitsu Limited Computer readable recording medium recorded with graphics editing program, and graphics editing apparatus
CN102446279A (en) * 2010-10-12 2012-05-09 深圳迈瑞生物医疗电子股份有限公司 Method and device for browsing and composing image
CN102650985A (en) * 2011-02-25 2012-08-29 易搜比控股公司 Dynamic typesetting method of display menu
US20120218273A1 (en) * 2011-02-25 2012-08-30 Esobi Inc. Dynamic typesetting method of display image
US20140289615A1 (en) * 2013-03-19 2014-09-25 Xiaomi Inc. Method and device for typesetting
CN106407365A (en) * 2016-09-08 2017-02-15 北京小米移动软件有限公司 Picture sharing method and apparatus
CN106557458A (en) * 2015-09-25 2017-04-05 北大方正集团有限公司 Electronic composition method and apparatus
CN106997264A (en) * 2016-01-26 2017-08-01 百度在线网络技术(北京)有限公司 A kind of method and device for converting picture layout

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206010A1 (en) * 2006-03-02 2007-09-06 Fujitsu Limited Computer readable recording medium recorded with graphics editing program, and graphics editing apparatus
CN102446279A (en) * 2010-10-12 2012-05-09 深圳迈瑞生物医疗电子股份有限公司 Method and device for browsing and composing image
CN102650985A (en) * 2011-02-25 2012-08-29 易搜比控股公司 Dynamic typesetting method of display menu
US20120218273A1 (en) * 2011-02-25 2012-08-30 Esobi Inc. Dynamic typesetting method of display image
US20140289615A1 (en) * 2013-03-19 2014-09-25 Xiaomi Inc. Method and device for typesetting
CN106557458A (en) * 2015-09-25 2017-04-05 北大方正集团有限公司 Electronic composition method and apparatus
CN106997264A (en) * 2016-01-26 2017-08-01 百度在线网络技术(北京)有限公司 A kind of method and device for converting picture layout
CN106407365A (en) * 2016-09-08 2017-02-15 北京小米移动软件有限公司 Picture sharing method and apparatus

Also Published As

Publication number Publication date
CN109657201B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
CN107329656B (en) A kind of location regulation method and mobile terminal of application icon
US9213478B2 (en) Visualization interaction design for cross-platform utilization
CN103699233B (en) Character string input method and input unit
CN106951141B (en) A kind of processing method and mobile terminal of icon
WO2016081249A1 (en) Tab sweeping and grouping
CN106575190A (en) Icon resizing
KR20140105736A (en) Dynamic navigation bar for expanded communication service
WO2014153156A1 (en) System and method for converting paper forms to an electronic format
CN103460170A (en) Graphical user interface with customized navigation
JP2003508842A (en) Menu display for graphical user interface
TW201337706A (en) Dynamic minimized navigation bar for expanded communication service
US20160092152A1 (en) Extended screen experience
CN110532159A (en) Data decryptor method, apparatus, equipment and computer readable storage medium
CN107729420A (en) A kind of update method and mobile terminal of input method dictionary
TWI578254B (en) Device and method of multi functions with one level editing for a portfolio in a stock quoting software
CN103870136A (en) Mailbox-based interface response method and device
JP6693279B2 (en) Medical information display device, display control method and program
CN109657201A (en) A kind of method for displaying typesetting of element, device, electronic equipment and storage medium
JP7108382B2 (en) HELP SCREEN PRESENTATION SYSTEM, HELP SCREEN PRESENTATION METHOD AND HELP SCREEN PRESENTATION PROGRAM
EP2534586B1 (en) Managing a navigation history
Lacerda et al. Usability heuristics for mobile phone applications: A literature review
CN106155460A (en) A kind of object selection method and device
JP5419096B2 (en) Schedule creation system
JP2012155413A (en) Portal server and portal page display method
CN112463014B (en) Input panel display method, related equipment and readable storage medium

Legal Events

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