CN116842928A - Web-based electronic template design method, system, equipment and storage medium - Google Patents

Web-based electronic template design method, system, equipment and storage medium Download PDF

Info

Publication number
CN116842928A
CN116842928A CN202311113400.9A CN202311113400A CN116842928A CN 116842928 A CN116842928 A CN 116842928A CN 202311113400 A CN202311113400 A CN 202311113400A CN 116842928 A CN116842928 A CN 116842928A
Authority
CN
China
Prior art keywords
group
repeated
template
repeated group
current
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.)
Pending
Application number
CN202311113400.9A
Other languages
Chinese (zh)
Inventor
郭恒海
郭子华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cssca Technologies Co ltd
Original Assignee
Beijing Cssca Technologies 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 Beijing Cssca Technologies Co ltd filed Critical Beijing Cssca Technologies Co ltd
Priority to CN202311113400.9A priority Critical patent/CN116842928A/en
Publication of CN116842928A publication Critical patent/CN116842928A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Abstract

The application provides a Web-based electronic template design method, a Web-based electronic template design system, web-based electronic template design equipment and a Web-based electronic template storage medium, wherein selected data of a mouse are acquired, and a currently selected frame selection area of a template is determined; determining at least one control in the frame selection area according to the attribute of the frame selection area to form a current repeated group; determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; and receiving the attribute of the repeated group through the repeated group attribute interface to design the template of the repeated group. The application provides the method for designing the targeted electronic template of the form data according to the characteristics of a plurality of repetitive objects in the electronic receipt and the statement when the electronic file generation service for the electronic receipt and the statement is provided, and the operation complexity is greatly reduced, the operation frequency is reduced, and the design blank of the current design for the repetitive group is made up through the interface visual operation.

Description

Web-based electronic template design method, system, equipment and storage medium
Technical Field
The application belongs to the technical field of electronic document design, and particularly relates to a Web-based electronic template design method, a Web-based electronic template design system, a Web-based electronic template design equipment and a Web-based electronic template storage medium.
Background
With the popularity of the internet, more and more industries of business tend to be electronic, such as electronic receipt and statement of financial board. In application scenes such as the SaaS platform of each bank based on the Internet, the electronic document generation service of the electronic receipt and statement can realize paperless of the most important credentials of the banking service, reduce the banking cost and greatly improve the use efficiency of data.
For example, OFD (Open Fixed-layout Document) is a format of an electronic file. In the process of generating the OFD receipt and statement, firstly, an electronic template of the receipt and the document is flexibly and conveniently designed according to the current paper document (various paper documents exist in each bank), and after specific business data are met, an OFD instance file can be quickly generated by using the electronic template (register). Therefore, the OFD template design belongs to the function of the whole electronic flow comparison core.
However, the current template design is marked as a table through the whole page, which can lead to low page utilization rate; or the template objects are marked one by one, but the problems of complex manual workload and high error rate are caused.
The statements made above merely provide background information related to the present disclosure and may not constitute prior art to the present disclosure except as may be expressly incorporated herein in any of the various aspects of the present disclosure.
Disclosure of Invention
The Web-based electronic template design method, the Web-based electronic template design system, the Web-based electronic template designer and the Web-based electronic template storage medium provide the characteristics that a plurality of repetitive objects exist in the electronic receipt and the statement when the electronic file generation service is oriented to the electronic receipt and the statement, and the form data is subjected to the targeted electronic template design, so that the complexity of the electronic template design process is greatly reduced, the design efficiency is improved, and the labor cost is reduced.
According to a first aspect of an embodiment of the present application, there is provided a Web-based electronic template design method, including:
receiving an electronic template design instruction based on Web, entering a template design interface, acquiring selected data of a mouse and determining a currently selected frame selection area of the template;
determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group;
determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected;
Receiving the attribute of the repeated group through a repeated group attribute interface by combining the table grid lines, and designing a template of the repeated group by combining the table grid lines; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
In some embodiments of the present application, acquiring selected data of a mouse and determining a currently selected frame selection area of a template includes:
establishing a mouse click monitoring event to acquire an initial coordinate when the mouse clicks;
establishing a mouse movement monitoring event to acquire an endpoint coordinate after the mouse is pressed and moved;
and ending the monitoring event, determining a currently selected rectangular frame area according to the initial coordinates and the end coordinates, and displaying the rectangular frame area on a template design interface.
In some embodiments of the present application, determining at least one control within the box area according to the attribute of the box area, and marking the control, includes:
determining four boundary values of the box selection area according to the attribute of the box selection area;
sequentially judging whether the position coordinates of each control in the template are in four boundary values or not; if yes, the control is marked.
In some embodiments of the present application, determining a position of a currently selected menu item floating window and displaying the menu item floating window according to a currently selected frame selection area and a floating window size, includes:
acquiring floating window data of a preset floating window size;
and determining the area with a certain distance from the left side, the right side, the upper side or the lower side of the currently selected frame selection area as the position of the current menu item floating window according to the size of the floating window and the size of the template design interface, and displaying the menu item floating window.
In some embodiments of the present application, the menu items are used to combine, un-combine and position adjustment all controls of the current repeating group after selection, including:
receiving a mouse click selection operation through the menu item, and controlling all controls of the current repeated group to realize the attribute function of the menu item so as to adjust the position; the attribute functions of the menu item include at least one of left-justified, centered, right-justified, top-justified, bottom-justified, page-level centered, equal-width, equal-height, level-even-distribution, and vertical-even-distribution;
all controls of the current repeated group are controlled through a combined menu in menu items to realize the function of being combined into one integral object or the function of being un-combined.
In some embodiments of the present application, a template design for a repeating group is performed by receiving properties of the repeating group through a repeating group property interface, including:
controlling all the controls of the current repeated group to be combined into an integral object;
determining the positions of a plurality of table grid lines; the table grid lines form row table grid lines or list grid lines according to the control arrangement mode in the current repeated group;
and receiving the repetition number of the current repetition group and the control spacing through the repetition group attribute interface, and generating the repetition group with the specified repetition number among the plurality of table lines.
In some embodiments of the present application, in combination with the table grid lines, the template design of the repeated group by receiving the attribute of the repeated group through the repeated group attribute interface includes:
determining the positions of the current table grid lines of the current repeated group;
controlling all controls in the current repeated group and combining the current table grid lines into an integral object;
and receiving the repetition number of the current repetition group and the control spacing through the repetition group attribute interface, and generating a repetition group with the specified repetition number and the table grid lines with the specified repetition number.
According to a second aspect of an embodiment of the present application, there is provided a Web-based electronic template design system, including:
And (3) a frame selection module: the method comprises the steps of receiving an electronic template design instruction based on Web, entering a template design interface, acquiring selected data of a mouse and determining a currently selected frame selection area of a template;
determining a control module: the method comprises the steps of determining at least one control in a frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group;
and a floating window module: the method comprises the steps of determining the position of a current menu item floating window and displaying the menu item floating window according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected;
repeating the group design module: the template design method comprises the steps of receiving the attribute of a repeated group through a repeated group attribute interface, and combining a form line to perform template design of the repeated group; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
According to a third aspect of an embodiment of the present application, there is provided an electronic template designer comprising: a memory for storing executable instructions; and a processor coupled to the memory for executing the executable instructions to perform the Web-based electronic template design method.
According to a fourth aspect of an embodiment of the present application, there is provided a computer-readable storage medium having a computer program stored thereon; the computer program is executed by the processor to implement a Web-based electronic template design method.
By adopting the Web-based electronic template design method, the Web-based electronic template design system, the electronic template designer and the storage medium, the selected data of the mouse are obtained and the currently selected frame selection area of the template is determined by receiving the electronic template design instruction based on the Web to enter the template design interface; determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group; determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected; receiving the attribute of the repeated group through a repeated group attribute interface, and designing a template of the repeated group by combining a form line; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group. The application provides the method for designing the targeted electronic template of the form data according to the characteristics of a plurality of repetitive objects in the electronic receipt and the statement when the electronic file generation service for the electronic receipt and the statement is provided, and the method greatly reduces the complexity of operation, reduces the operation times, makes up the design blank of the current design for the repetitive group, improves the design efficiency and reduces the labor cost through the interface visual operation.
In addition, the application has the technical effects that: 1) When the components are intuitively interfaced, the repeated groups are selected by directly selecting the components through the mouse, and compared with the traditional scheme that the properties of the components are set one by one, the method and the device greatly improve the use experience and the operation efficiency of users. 2) When the layout is refined, the floating window menu position is optimized, the blank of repeated detailed control in the current field is filled, the pain point that a user can only modify the coordinates of the components to realize detailed control is solved, and the refined layout can be used for not only an OFD template designer, but also template design application under other same scenes, such as PDF (PortableDocument Format) electronic documents. 3) When the repeated group is designed, two repeated group schemes are selected, selection can be performed according to the convenience in use of the repeated group and different scene requirements, and a user is more accurately helped to complete template design. 4) The repeated group not only greatly simplifies the design work and improves the design efficiency, but also does not need to mark the whole page as a form template, allows the contents of the repeated group and the non-repeated group to exist simultaneously in one page of paper, and improves the utilization rate of the paper in design.
In a word, the application not only improves the complex design problem of the templatization generation of the form data such as the OFD format, but also greatly improves the application value of the electronic file in the financial industry, and the file generated by the rear end according to the template comprises but is not limited to the electronic file formats such as the OFD, PDF and the like.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
a schematic design diagram according to a conventional electronic template is shown in fig. 1;
a schematic design of a repeating group in accordance with an existing electronic template is shown in fig. 2;
a schematic of steps of a Web-based electronic template design method according to an embodiment of the application is shown in fig. 3;
a schematic diagram of steps for selecting a region in a box according to an embodiment of the application is shown in fig. 4;
a schematic diagram of the steps of designing a repeat unit according to an embodiment of the present application is shown in fig. 5;
a second step schematic diagram of designing a repeat unit according to an embodiment of the present application is shown in fig. 6;
a computational flow diagram for generating rectangular box-select regions according to an embodiment of the application is shown in fig. 7;
A schematic diagram of displaying and selecting rectangular box selection areas according to an embodiment of the application is shown in fig. 8;
FIG. 9 is a flowchart showing the determination of a control in a rectangular box selection area according to an embodiment of the present application;
a schematic diagram of menu items in a floating window according to an embodiment of the application is shown in fig. 10;
FIG. 11 is a template diagram illustrating a user drawing all form lines according to an embodiment of the present application;
a schematic diagram of a duplicate group property settings panel according to an embodiment of the application is shown in fig. 12;
FIG. 13 is a schematic diagram of a template with user drawn partial table grid lines according to an embodiment of the application;
a schematic structural diagram of a Web-based electronic template design system according to an embodiment of the present application is shown in fig. 14;
a schematic of the architecture of an electronic stencil designer in accordance with an embodiment of the application is shown in fig. 15.
Detailed Description
Regarding the application, the electronic document generation service direction oriented to the electronic receipt and statement, the OFD (Open Fixed-layout documents) format document is the electronic document with highly accurate layout presentation effect, which is similar to the pdf document, and has the characteristics of independent format, layout fixation, solidification presentation and the like. Based on the characteristics of form class data such as electronic receipts and statements, there are multiple repetitive objects, which may be objects made up of multiple data types that may be the same or different.
In an OFD stencil designer, most data types can be designed directly by dragging their corresponding components. However, the above-indicated generic data of the repetitive object cannot be realized by a direct drag component, which is also a difficulty of the stencil designer. Such repetitive object generic data is characterized by not belonging to a certain fixed data type but a combination of data types, and this combination needs to be repeated, and the present application refers to such repeated combinations or repetitive objects as repeated groups.
As shown in fig. 1, in the schematic design of the conventional electronic template, the rows marked in the frame are a repeated group. The data type of this repeated group consists of the data types of the plurality of controls of each column. The definition of duplicate sets is important in the template design, and abstracts the hashed, repeated, multiple identical or different data types into a single object for processing, so that the user does not need to process each row of controls one by one when designing the form template, but processes the data as a whole.
The most important application scenario of the repeated group is the template design for realizing the table type data. The application is realized by disassembling the form template design into rows or columns: a table is either a repetition of rows or a repetition of columns, each row/column of data being a combination of multiple data types.
A schematic design of a repeating group in accordance with an existing electronic template is shown in fig. 2.
However, how to implement a repeated set of template designs is an industry challenge, and it is common practice either to use a whole page labeled as a table as shown in fig. 2, but this results in very low design page utilization. Or each "duplicate group control" is marked by an attribute panel. While this property tagging can also implement the basic functionality of a repeating group control, this implementation is cumbersome to operate. For example: there is a 20-column table, and according to the general practice, repeated group marks are required to be performed in attribute panels of 20 controls, so that a great number of complicated operations increase the risk of errors in the template design process, and the layout function of detail control of the repeated group controls is omitted: unified height, unified width, arrangement, alignment, distribution, movement, deletion, etc. If the coordinates are to be modified again in each control attribute to realize the missing function, the operator is clearly a nightmare. Yet another idea is to implement a form like excel by which the repetition of list data is implemented. However, the table and cell effects of excel are realized on the web side or client side, and the workload is very huge.
Therefore, in the template design of the similar repeated group at present, the whole page is marked as a table, and the page utilization rate is low; or by repeated group marking, but the manual workload is complex and the error rate is high.
In order to solve the design problem of how to realize repeated groups in templates in an OFD template designer, the application performs targeted electronic template design of form data aiming at the characteristics of a plurality of repeated objects of electronic receipt and statement when electronic file generation service oriented to the electronic receipt and statement is performed, thereby greatly reducing the complexity of the electronic template design process, improving the design efficiency and reducing the labor cost.
The repeated group not only greatly simplifies the design work and improves the design efficiency, but also does not need to mark the whole page as a form template, allows the contents of the repeated group and the non-repeated group to exist simultaneously in one page of paper, and improves the utilization rate of the paper in design.
Specifically, the method, the system, the electronic template designer and the storage medium for designing the electronic template based on the Web, provided by the application, receive an electronic template design instruction based on the Web to enter a template design interface, acquire selected data of a mouse and determine a currently selected frame selection area of the template; determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group; determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected; combining the table grid lines, and receiving the attribute of the repeated group through a repeated group attribute interface to design a template of the repeated group; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
The application provides the method for designing the targeted electronic template of the form data aiming at the characteristics of a plurality of repetitive objects of the electronic receipt and the statement when the electronic file generation service oriented to the electronic receipt and the statement is provided, thereby greatly reducing the complexity of the electronic template design process, improving the design efficiency and reducing the labor cost.
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of exemplary embodiments of the present application is provided in conjunction with the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application and not exhaustive of all embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
Example 1
A schematic of the steps of a Web-based electronic template design method according to an embodiment of the application is shown in fig. 3.
As shown in fig. 3, the Web-based electronic template design method according to the embodiment of the present application includes the following steps:
s1: firstly, receiving an electronic template design instruction based on Web, entering a template design interface, acquiring selected data of a mouse, and determining a currently selected frame selection area of a template.
A schematic diagram of the steps of selecting a region in a box according to an embodiment of the application is shown in fig. 4.
In the specific implementation, as shown in fig. 4, the method includes: s11: establishing a mouse click monitoring event to acquire an initial coordinate when the mouse clicks; s12: establishing a mouse movement monitoring event to acquire an endpoint coordinate after the mouse is pressed and moved; s13: and ending the monitoring event, determining a currently selected rectangular frame area according to the initial coordinates and the end coordinates, and displaying the rectangular frame area on a template design interface.
S2: determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control constitutes the current repetition group.
In the preferred implementation, first, four boundary values of a frame selection area are determined according to the attribute of the frame selection area; then, judging whether the position coordinates of each control in the template are in the range of four boundary value delineations in sequence; if yes, the control is marked. For example, the position coordinates of the control a include values of four boundaries of the control a, and whether the top boundary value of the control a is smaller than the top boundary value of the frame selection area, whether the bottom boundary value of the control a is larger than the bottom boundary value of the frame selection area, whether the left boundary value of the control a is larger than the left boundary value of the frame selection area, and whether the right boundary value of the control a is smaller than the right boundary value of the frame selection area are respectively determined.
S3: determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected.
When determining the position of a floating window of a current menu item, firstly, acquiring floating window data of a preset size of the floating window; and then, determining the area with a certain distance from the left side, the right side, the upper side or the lower side of the currently selected frame selection area as the position of the current menu item floating window according to the size of the floating window and the size of the template design interface, and displaying the menu item floating window.
The menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected, and comprises the following steps:
receiving a mouse click selection operation through the menu item, and controlling all controls of the current repeated group to realize the attribute function of the menu item so as to adjust the position; the attribute functions of the menu item include at least one of left-justified, centered, right-justified, top-justified, bottom-justified, page-level centered, equal-width, equal-height, level-even distribution, and vertical-even distribution;
And controlling all controls of the current repeated group through a combination menu in menu items to realize the function of combining into one integral object or the function of uncombining.
S4: receiving the attribute of the repeated group through a repeated group attribute interface, and designing a template of the repeated group by combining a form line; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
A schematic diagram of the steps of designing a repeat unit according to an embodiment of the present application is shown in fig. 5.
As shown in fig. 5, when S4 is implemented, the method includes scheme one:
s41: controlling all the controls of the current repeated group to be combined into an integral object;
s42: determining the positions of a plurality of table grid lines; the table grid lines form row table grid lines or list grid lines according to the control arrangement mode in the current repeated group;
s43: and receiving the repetition number of the current repetition group and the control spacing through the repetition group attribute interface, and generating the repetition group with the specified repetition number among the plurality of table lines.
A second step schematic of designing a repeat unit according to an embodiment of the present application is shown in fig. 6.
As shown in fig. 6, in the implementation of S4, the method includes scheme two:
S410: determining the positions of the current table grid lines of the current repeated group;
s420: controlling all controls in the current repeated group and combining the current table grid lines into an integral object;
s430: and receiving the repetition number of the current repetition group and the control spacing through the repetition group attribute interface, and generating a repetition group with the specified repetition number and the table grid lines with the specified repetition number.
In order to further illustrate the embodiments of the present application, the following description is provided by implementing the scene steps.
The embodiment of the application mainly realizes the layout and the display of the repeated data by designing the functions of the repeated groups. Specifically, the control in the repeated group is finely controlled through the floating window menu, key attributes of the repeated group can be set on the attribute panel, so that the setting of the repeated group is changed from the common attribute marking method to interface visualization operation, the operation complexity is greatly reduced, the operation frequency is reduced, the difficult problem of table data design is solved, and the design blank of the repeated group is made up.
The embodiment of the application is mainly divided into the following three steps.
The first step: and realizing the function of selecting the components by frames and visually selecting the components in batches.
The function of realizing the frame selection component is divided into two steps: (1) generating a box selection area according to the mouse operation, and (2) judging the control in the box selection area.
(1) Generating a rectangular frame selection area according to mouse operation: and selecting an area by a frame, requiring a user to click a left button of a mouse first, and then moving the mouse to select a range.
Firstly, a left click monitoring event of a mouse is established in a drawing board, namely, a drawing desk_MouseDown, and the current coordinate of the mouse is recorded when the left click of the mouse is performed.
Then, establishing a mouse movement monitoring event, namely a drawing desk_MouseMove, recording the current coordinate-endpoint coordinate of the mouse after the left button of the mouse is pressed and the mouse is moved, and logging out the drawing desk_MouseMove event when the mouse is released.
Thus, with the initial coordinates and the end coordinates of the mouse movement, we can get a rectangular box (showing the current box to the user).
A computational flow diagram of generating rectangular box regions according to an embodiment of the present application is shown in fig. 7. A schematic diagram of displaying and selecting rectangular box selection areas according to an embodiment of the application is shown in fig. 8.
As shown in fig. 7, initial coordinates a (x 1, y 1) are obtained when the left mouse button is clicked, and end coordinates B (x 2, y 2) are obtained after the mouse dragging is finished; the method comprises the steps of adding a scrolling value in the vertical direction and the horizontal direction of a window document in consideration of the condition that a mouse drags the window; the coordinate values of the rectangular box-select region are determined based on a series of map-like operations of coordinates a (x 1, y 1), B (x 2, y 2), and the scroll values.
Finally, the calculated box selection area is displayed to the user as shown in fig. 8.
(2) All controls within the region are selected by the decision box. With the rectangular box selection area calculated in step (1), it can be judged which controls are in the box selection area.
A flowchart of the determination of a control within a rectangular box selection area according to an embodiment of the present application is shown in fig. 9.
The judging method is as shown in fig. 9, the current control cptDom is input, then the frame selection area drawRect is obtained, then whether the bottom value of the frame selection area drawRect is larger than the bottom value of the control cptDom is judged, and other three sides such as the top, the left side and the right side are similar judging conditions; and when the current control cptDom reaches the requirement, judging that the current control cptDom is in the frame selection area.
And finally, identifying which controls are selected by the user's frame, and marking the selected controls so as to facilitate subsequent combination to form an integral repeated group.
And a second step of: and carrying out fine control on the selected control through the floating window. Mainly comprises the following steps: 1. and the position display of the floating window menu and the menu item functions are two parts.
A schematic diagram of menu items in a floating window according to an embodiment of the application is shown in fig. 10.
As shown in fig. 10, the menu item functions include: left alignment, centering alignment, right alignment, top alignment, bottom alignment, page horizontal centering, page vertical centering, equal width, equal height, horizontal uniform distribution, vertical uniform distribution, and the like.
1. And displaying the position of the floating window menu.
The position display of the floating window menu is determined by the position of the control currently selected by the user and the width and the height of the floating window menu. After marking the control selected by the user, the smallest x in the selected control is needed min Coordinate sum y min Coordinates and maximum x max Coordinates, and width of floating window menu itself set in advance menu And height menu
When the width of the floating window menu itself is less than half the minimum X-coordinate to maximum X-coordinate distance:
the calculation formula is as follows: width (width) menu <=(x max - x min )/ 2;
X of floating window menu menu Is (x) max - x min ) Y of floating window menu menu Is y min -5px;
When the width of the floating window menu itself is greater than half the distance from the minimum X coordinate to the maximum X coordinate:
the calculation formula is as follows: width (width) menu >(x max - x min )/ 2;
X of floating window menu menu Is x min -5px, Y of floating window menu menu Is y min -5px;
Wherein px is a pixel unit.
Through the calculation, the floating window menu can be always displayed at a proper position for a subsequent operation after the control is selected.
2. Menu item functions.
Regarding left alignment: after clicking the menu function item, the minimum X coordinate-X in all the controls is calculated min . Resetting the X coordinates of all controls to X min
Regarding centering alignment: after clicking the menu function item, the minimum X coordinate-X in all the controls is calculated min And a maximum X coordinate X max Reset the X coordinates of all controls to (X) max -x min )/2。
Regarding top alignment: after clicking the menu function item, the minimum Y coordinate-Y in all the controls is calculated min Reset the Y coordinates of all controls to Y min
Regarding bottom alignment: after clicking the menu function item, the maximum Y coordinate-Y in all the controls is calculated max Reset the Y coordinates of all controls to Y max
Regarding right alignment: after clicking the menu function item, the maximum X coordinate-X in all the controls is calculated max . Resetting the X coordinates of all controls to X max
Centering about page level: after clicking the menu function item, the middle coordinate (x) of the drawing board is calculated according to the width of the drawing board middle ,y middle ). Resetting the X coordinates of all the controls to the intermediate coordinates minus half the width of the controls, namely: x is x middle - width cpt /2。
With respect to page vertical centering: after clicking the menu function item, the middle coordinate (x) of the drawing board is calculated according to the width of the drawing board middle ,y middle ). Resetting the X coordinates of all the controls to the intermediate coordinates minus half the height of the controls, namely: y is middle - height cpt /2。
Regarding horizontal uniform distribution: after clicking the menu function item, the minimum X coordinate-X in all the controls is calculated min And a maximum X coordinate X max By the sum of the twoDividing by (number of controls-1) to calculate the spacing p uniformly distributed in horizontal direction x =(x max -x min )/(Count cpt -1)。x min The minimum control position is unchanged, and the X coordinates of the other controls are overlapped with the uniformly distributed interval p according to the order of the sizes x
Regarding vertical uniform distribution: after clicking the menu function item, the minimum Y coordinate-Y in all the controls is calculated min And a maximum Y coordinate Y max The sum of the two is divided by (the number of controls is-1) to calculate the interval p uniformly distributed in the horizontal direction y =(y max -y min )/(Count cpt -1)。y min The minimum control position is unchanged, and the Y coordinates of the other controls are overlapped with the uniformly distributed interval p according to the order of the sizes y
And a third step of: repeated groups are set.
After the second step has completed the refinement of the selected control, the repeated group may begin to be set.
The embodiment of the application is realized by two schemes on the concrete implementation of setting the repeated group. The two schemes are the same for implementations that do not draw table ruled lines, with the difference being the implementation of drawing table ruled lines. Here we describe the repetition set implementation for drawing table grid lines:
a schematic diagram of a template with all table grid lines drawn by a user is shown in FIG. 11, according to an embodiment of the present application.
As shown in fig. 11, the first scheme:
after the user finishes the control selection according to the first two steps, clicking the combination to finish the setting of the repeated group, wherein the repeated group is marked by a blue dotted line frame. The user then needs to draw all the table grid lines. Of course, if the customer does not require form lines, form lines are not required.
A schematic diagram of a duplicate group property setting panel according to an embodiment of the application is shown in fig. 12.
In the repeated group attribute setting panel shown in fig. 12, the attribute of the repeated group may also be set: row repetition or column repetition, repetition interval, repeatedly generates a cut-off length range.
In this mode, a row spacing between individual row repetition data or a column spacing between column repetition data is agreed. After the OFD generating service at the rear end receives the template, blank rows or columns are filled with service data according to repeated group components and corresponding parameters such as row spacing, column spacing and the like provided in the template, and a plurality of pages of the OFD file are repeatedly generated. The first scheme is that the user can realize the form line template needed by the user to be strongly defined. The scheme is suitable for the situation that the word number of the same field of repeated group data is not changed greatly, and meanwhile, the calculation amount of the generated service is small and the speed is high.
A schematic diagram of a template with user drawn partial table grid lines according to an embodiment of the application is shown in FIG. 13.
As shown in fig. 13, the second solution is different from the first solution in that the second solution does not require the user to draw all the table lines, but only requires the user to draw a table line of one row or one column of data, and select the table line together with the dynamic control, and the clicking combination sets the table lines and the dynamic control together into a repeated group.
Meanwhile, in the repetition group attribute setting panel shown in fig. 12, the attribute of the repetition group may also be set: whether row repetition or column repetition, repeatedly generating a length range of cutoffs, etc.
In the design of repeated groups of the two schemes, firstly, fixed positions of table lines are drawn in advance, so that fixed intervals are reserved between the repeated groups; the spacing of the rows or columns between the second version of the latter is not fixed, and the height or width is adaptively adjusted according to the content.
After the OFD generating service at the rear end receives the template and the service data, the row spacing is adjusted in a self-adaptive manner according to the repeated group and the corresponding parameters provided in the template and the service data of each row (each column, the same shall apply hereinafter). For example: for some fields with a lot of characters, automatically pulling up the height to be displayed completely; meanwhile, according to the number of rows which can be accommodated by each page, the number of pages which are needed to completely display all business data is automatically calculated. For those rows where table line separation is required, table grid lines are also automatically added to each row depending on the locations of the lines of the template. In the second scheme, the user does not need to draw so many table lines, the table lines are dynamically generated by the OFD generation service, and the self-adaption of the table line positions can be achieved when the data is highly spread. The method is suitable for the situation that the word number of the same field of repeated group data changes greatly, but needs relatively large real-time computing resources, and has certain influence on the generation speed.
The design scheme of the repeated group provided by the embodiment of the application is not limited to the field of electronic documents such as OFD and the like, and can be used by professional field personnel to realize the layout and display of repeated data without creative thinking in other fields such as multi-page report design and the like, and the application of the scheme belongs to the protection scope of the application.
By adopting the Web-based electronic template design method, the selected data of the mouse is obtained and the currently selected frame selection area of the template is determined by receiving the electronic template design instruction based on Web and entering a template design interface; determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group; determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected; receiving the attribute of the repeated group through a repeated group attribute interface, and designing a template of the repeated group by combining a form line; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group. The application provides the method for designing the targeted electronic template of the form data according to the characteristics of a plurality of repetitive objects in the electronic receipt and the statement when the electronic file generation service for the electronic receipt and the statement is provided, and the operation complexity is greatly reduced, the operation frequency is reduced, and the design blank of the current design for the repetitive group is made up through the interface visual operation. In addition, the application has the technical effects that: 1) When the components are intuitively interfaced, the repeated groups are selected by directly selecting the components through the mouse, and compared with the traditional scheme that the properties of the components are set one by one, the method and the device greatly improve the use experience and the operation efficiency of users. 2) When the layout is refined, the floating window menu position is optimized, the blank of repeated detailed control in the current field is filled, the pain point that a user can only modify the coordinates of the components to realize detailed control is solved, and the refined layout can be used for not only an OFD template designer, but also template design application under other same scenes, such as PDF (PortableDocument Format) electronic documents. 3) When the repeated group is designed, two repeated group schemes are selected, selection can be performed according to the convenience in use of the repeated group and different scene requirements, and a user is more accurately helped to complete template design. 4) The repeated group not only greatly simplifies the design work and improves the design efficiency, but also does not need to mark the whole page as a form template, allows the contents of the repeated group and the non-repeated group to exist simultaneously in one page of paper, and improves the utilization rate of the paper in design.
In a word, the application not only improves the complex design problem of the templatization generation of the form data such as the OFD format, but also greatly improves the application value of the electronic file in the financial industry, and the file generated by the rear end according to the template comprises but is not limited to the electronic file formats such as the OFD, PDF and the like.
Example 2
The present embodiment provides a Web-based electronic template design system, and for details not disclosed in the Web-based electronic template design system of the present embodiment, please refer to the specific implementation of the Web-based electronic template design method in other embodiments.
A schematic structural diagram of a Web-based electronic template design system according to an embodiment of the present application is shown in fig. 14.
As shown in fig. 14, the Web-based electronic template design system includes a box selection module 10, a determination control module 20, a floating window module 30, and a repeating group design module 40.
In particular, the method comprises the steps of,
block selection module 10: the method is used for receiving an electronic template design instruction based on Web to enter a template design interface, acquiring selected data of a mouse and determining a currently selected frame selection area of the template.
The specific implementation method comprises the following steps: establishing a mouse click monitoring event to acquire an initial coordinate when the mouse clicks; establishing a mouse movement monitoring event to acquire an endpoint coordinate after the mouse is pressed and moved; and ending the monitoring event, determining a currently selected rectangular frame area according to the initial coordinates and the end coordinates, and displaying the rectangular frame area on a template design interface.
Determination control module 20: the method comprises the steps of determining at least one control in a frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control constitutes the current repetition group.
In the preferred implementation, first, four boundary values of a frame selection area are determined according to the attribute of the frame selection area; then, judging whether the position coordinates of each control in the template are in the range of four boundary value delineations in sequence; if yes, the control is marked.
Floating window module 30: the method comprises the steps of determining the position of a current menu item floating window and displaying the menu item floating window according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected.
When determining the position of a floating window of a current menu item, firstly, acquiring floating window data of a preset size of the floating window; and then, determining the area with a certain distance from the left side, the right side, the upper side or the lower side of the currently selected frame selection area as the position of the current menu item floating window according to the size of the floating window and the size of the template design interface, and displaying the menu item floating window.
The menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected, and comprises the following steps: receiving a mouse click selection operation through the menu item, and controlling all controls of the current repeated group to realize the attribute function of the menu item so as to adjust the position; the attribute functions of the menu items include at least one of left alignment, center alignment, right alignment, top alignment, bottom alignment, page horizontal centering, page vertical centering, equal width, equal height, horizontal uniform distribution and vertical uniform distribution; and controlling all controls of the current repeated group through a combination menu in menu items to realize the function of combining into one integral object or the function of uncombining.
Repeat group design module 40: the template design is used for receiving the attribute of the repeated group through the repeated group attribute interface to carry out repeated group design; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
By adopting the Web-based electronic template design system, the frame selection module 10 receives an electronic template design instruction based on Web to enter a template design interface, acquires the selected data of a mouse and determines the currently selected frame selection area of the template; the determining control module 20 determines at least one control in the frame selection area according to the attribute of the frame selection area and marks the control; the marked at least one control forms the current repeated group; the floating window module 30 determines the position of the current menu item floating window and displays the menu item floating window according to the currently selected frame selection area and the floating window size; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected; the repeated group design module 40 receives the attribute of the repeated group through the repeated group attribute interface by combining the table lines and performs template design of the repeated group by combining the table lines; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group. The application provides the method for designing the targeted electronic template of the form data according to the characteristics of a plurality of repetitive objects in the electronic receipt and the statement when the electronic file generation service for the electronic receipt and the statement is provided, and the operation complexity is greatly reduced, the operation frequency is reduced, and the design blank of the current design for the repetitive group is made up through the interface visual operation.
In addition, the application has the technical effects that: 1) When the components are intuitively interfaced, the repeated groups are selected by directly selecting the components through the mouse, and compared with the traditional scheme that the properties of the components are set one by one, the method and the device greatly improve the use experience and the operation efficiency of users. 2) When the layout is refined, the floating window menu position is optimized, the blank of repeated detailed control in the current field is filled, the pain point that a user can only modify the coordinates of the components to realize detailed control is solved, and the refined layout can be used for not only an OFD template designer, but also template design application under other same scenes, such as PDF (PortableDocument Format) electronic documents. 3) When the repeated group is designed, two repeated group schemes are selected, selection can be performed according to the convenience in use of the repeated group and different scene requirements, and a user is more accurately helped to complete template design.
In a word, the application not only improves the complex design problem of the templatization generation of the form data such as the OFD format, but also greatly improves the application value of the electronic file in the financial industry, and the file generated by the rear end according to the template comprises but is not limited to the electronic file formats such as the OFD, PDF and the like.
Example 3
The present embodiment provides an electronic template designer, and for details not disclosed in the electronic template designer of the present embodiment, please refer to specific implementation of the Web-based electronic template design method or system of other embodiments.
A schematic structural diagram of an electronic stencil designer 400 or image recognition apparatus according to an embodiment of the application is shown in fig. 15.
As shown in fig. 15, the electronic template designer 400 or the image recognition apparatus includes:
memory 402: for storing executable instructions; and
the processor 401 is configured to interface with the memory 402 to execute executable instructions to perform a Web-based electronic template design method or an image recognition method.
It will be appreciated by those skilled in the art that the schematic diagram 15 is merely an example of an electronic template designer 400 or image recognition device, and does not constitute a limitation of the electronic template designer 400 or image recognition device, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the electronic template designer 400 may further include input and output devices, network access devices, buses, etc.
The processor 401 (Central Processing Unit, CPU) may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor 401 may be any conventional processor or the like, the processor 401 being a control center of the electronic template designer 400, with various interfaces and lines connecting the various parts of the overall electronic template designer 400.
The memory 402 may be used to store computer readable instructions and the processor 401 may implement various functions of the electronic template designer 400 by executing or executing the computer readable instructions or modules stored in the memory 402 and invoking data stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic template designer 400, etc. In addition, the memory 402 may include a hard disk, memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), at least one disk storage device, a Flash memory device, a Read-only memory (ROM), a random access memory (RandomAccess Memory, RAM), or other non-volatile/volatile storage device.
The modules integrated by the electronic template designer 400, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by means of computer readable instructions to instruct related hardware, where the computer readable instructions may be stored in a computer readable storage medium, where the computer readable instructions, when executed by a processor, implement the steps of the method embodiments described above.
Example 5
The present embodiment provides a computer-readable storage medium having a computer program stored thereon; the computer program is executed by the processor to implement the Web-based electronic template design method in other embodiments.
The electronic template designer and the storage medium of the embodiment of the application enter a template design interface by receiving an electronic template design instruction based on Web, acquire selected data of a mouse and determine a currently selected frame selection area of the template; determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group; determining the position of a floating window of a current menu item and displaying the floating window of the menu item according to the currently selected frame selection area and the size of the floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected; receiving the attribute of the repeated group through a repeated group attribute interface, and designing a template of the repeated group by combining a form line; the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page; the table grid lines are used for dividing and defining the positions of a repeated group.
The application provides the method for designing the targeted electronic template of the form data according to the characteristics of a plurality of repetitive objects in the electronic receipt and the statement when the electronic file generation service for the electronic receipt and the statement is provided, and the operation complexity is greatly reduced, the operation frequency is reduced, and the design blank of the current design for the repetitive group is made up through the interface visual operation.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A Web-based electronic template design method, comprising:
receiving an electronic template design instruction based on Web, entering a template design interface, acquiring selected data of a mouse and determining a currently selected frame selection area of the template;
determining at least one control in the frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group;
determining the position of a current menu item floating window according to the currently selected frame selection area and the size of the floating window, and displaying the menu item floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected;
receiving the attribute of the repeated group through a repeated group attribute interface to design a template of the repeated group; and the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page.
2. The Web-based electronic template design method according to claim 1, wherein the acquiring the selected data of the mouse and determining the currently selected frame selection area of the template comprises:
Establishing a mouse click monitoring event to acquire an initial coordinate when the mouse clicks;
establishing a mouse movement monitoring event to acquire an endpoint coordinate after the mouse is pressed and moved;
and ending the monitoring event, determining a currently selected rectangular frame area according to the initial coordinates and the terminal coordinates, and displaying the rectangular frame area on a template design interface.
3. The Web-based electronic template design method according to claim 1, wherein the determining at least one control in the box selection area according to the attribute of the box selection area and marking the control comprises:
determining four boundary values of the box selection area according to the attribute of the box selection area;
sequentially judging whether the position coordinates of each control in the template are in the range of the four boundary value delineations or not; if yes, the control is marked.
4. The Web-based electronic template design method according to claim 1, wherein the determining a position of a current menu item floating window and displaying the menu item floating window according to a currently selected frame selection area and a floating window size comprises:
acquiring floating window data of a preset floating window size;
and determining the area with a certain distance from the left side, the right side, the upper side or the lower side of the currently selected frame selection area as the position of the current menu item floating window according to the size of the floating window and the size of the template design interface, and displaying the menu item floating window.
5. The Web-based electronic template design method according to claim 1, wherein the menu item is used for combining, de-combining and position-adjusting all controls of the current repetition group after being selected, and comprises:
receiving a mouse click selection operation through the menu item, and controlling all controls of the current repeated group to realize the attribute function of the menu item so as to adjust the position; the attribute functions of the menu item include at least one of left-justified, centered, right-justified, top-justified, bottom-justified, page-level centered, equal-width, equal-height, level-even distribution, and vertical-even distribution;
and controlling all controls of the current repeated group through a combined menu in menu items to realize combined functions or un-combined functions.
6. The Web-based electronic template design method according to any one of claims 1-5, wherein the receiving the properties of the repeated group through the repeated group property interface for performing the repeated group template design comprises:
controlling all the controls of the current repeated group to be combined into an integral object;
determining the positions of a plurality of table grid lines; forming row table grid lines or list grid lines according to the control arrangement mode in the current repeated group by the table lines; the table line is used for dividing and limiting the position of one repeated group;
And receiving the repetition number of the current repetition group and the control spacing through a repetition group attribute interface, and generating the repetition group with the specified repetition number among the plurality of table lines.
7. The Web-based electronic template design method according to any one of claims 1-5, wherein the receiving the properties of the repeated group through the repeated group property interface for performing the repeated group template design comprises:
determining the positions of the current table grid lines of the current repeated group; the table line is used for dividing and limiting the position of one repeated group;
controlling all controls in the current repeated group and combining current table grid lines into a whole object;
and receiving the repetition number of the current repetition group and the control spacing through the repetition group attribute interface, and generating a repetition group with the specified repetition number and the table grid lines with the specified repetition number.
8. A Web-based electronic template design system, comprising:
and (3) a frame selection module: the method comprises the steps of receiving an electronic template design instruction based on Web, entering a template design interface, acquiring selected data of a mouse and determining a currently selected frame selection area of a template;
determining a control module: the method comprises the steps of determining at least one control in a frame selection area according to the attribute of the frame selection area, and marking the control; the marked at least one control forms the current repeated group;
And a floating window module: the method comprises the steps of determining the position of a current menu item floating window according to the currently selected frame selection area and the size of the floating window, and displaying the menu item floating window; the menu item floating window comprises at least one menu item, and the menu item is used for combining, uncombining and position adjusting all the controls of the current repeated group after being selected;
repeating the group design module: the template design is used for receiving the attribute of the repeated group through the repeated group attribute interface to carry out repeated group design; and the attribute of the repeated group is used for determining the repeated number of the repeated group and the typesetting mode of the repeated group on the template page.
9. An electronic template designer, comprising:
a memory for storing executable instructions; and
a processor coupled to the memory for executing executable instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon; computer program to be executed by a processor to implement the method of any of claims 1-7.
CN202311113400.9A 2023-08-31 2023-08-31 Web-based electronic template design method, system, equipment and storage medium Pending CN116842928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311113400.9A CN116842928A (en) 2023-08-31 2023-08-31 Web-based electronic template design method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311113400.9A CN116842928A (en) 2023-08-31 2023-08-31 Web-based electronic template design method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116842928A true CN116842928A (en) 2023-10-03

Family

ID=88172872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311113400.9A Pending CN116842928A (en) 2023-08-31 2023-08-31 Web-based electronic template design method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116842928A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050094206A1 (en) * 2003-10-15 2005-05-05 Canon Kabushiki Kaisha Document layout method
CN110221826A (en) * 2019-05-29 2019-09-10 北京中亦安图科技股份有限公司 Document generation method and device
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method
CN113076716A (en) * 2021-04-16 2021-07-06 浙江鸿程计算机系统有限公司 Typesetting method and device for yearbook
CN113625924A (en) * 2020-05-09 2021-11-09 北京奇虎科技有限公司 Element selection method, equipment, storage medium and device based on mobile operation
CN114995806A (en) * 2022-04-19 2022-09-02 北京百特云享科技有限公司 Method and system for designing integrated high-expansibility page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050094206A1 (en) * 2003-10-15 2005-05-05 Canon Kabushiki Kaisha Document layout method
CN110221826A (en) * 2019-05-29 2019-09-10 北京中亦安图科技股份有限公司 Document generation method and device
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method
CN113625924A (en) * 2020-05-09 2021-11-09 北京奇虎科技有限公司 Element selection method, equipment, storage medium and device based on mobile operation
CN113076716A (en) * 2021-04-16 2021-07-06 浙江鸿程计算机系统有限公司 Typesetting method and device for yearbook
CN114995806A (en) * 2022-04-19 2022-09-02 北京百特云享科技有限公司 Method and system for designing integrated high-expansibility page

Similar Documents

Publication Publication Date Title
US8749553B1 (en) Systems and methods for accurately plotting mathematical functions
CN101350068A (en) Display control apparatus and display control method
CN103227877B (en) Image processing system and image forming method
CN111752557A (en) Display method and device
WO2022116936A1 (en) Interface layout method, electronic device, and computer-readable storage medium.
CN101763234A (en) Method and device for simulating various screen resolutions
CN110379251A (en) Intelligence based on touch-control clipboard assists system of practising handwriting
WO2021098579A1 (en) Chart drawing method, device, apparatus and storage medium
US10747949B2 (en) Presenting an overlay canvas to ink edit typed text
US20170154022A1 (en) Information processing apparatus, method for controlling the same, and storage medium
US7941750B2 (en) Method and system for defining separate print quality regions within a print job
CN110378329A (en) Intelligence based on dot matrix pen assists system of practising handwriting
CN116842928A (en) Web-based electronic template design method, system, equipment and storage medium
US20020184261A1 (en) Process of inputting and outputting a display table derived from a worksheet and data storage media programmed to perform the same
CN107562710A (en) A kind of chart processing unit and method
CN108279962B (en) Method and device for creating visual data display interface
JP2016048428A5 (en) Information processing apparatus, control method, and computer program
JP2017174248A (en) Information processing device and information processing program
DE102016204692A1 (en) Control of multiple selection on touch-sensitive surfaces
WO2021082652A1 (en) Information display method and apparatus, and computer-readable storage medium
CN103049231A (en) Printing parameter setting method and printing method of dynamically adjusting printing parameters
CN112036443A (en) Method and device for labeling object contour in image data
CN106569785B (en) Method and device for generating job form
JP2020145508A (en) Image editing device and image editing method
CN111444452A (en) Conversion method, device and storage medium of webpage

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