Web-based electronic template design method, system, device and storage medium
Through the Web-based electronic template design method, mouse selection and floating window menu are used to process repeated groups, and the design is combined with table lines, which solves the problems of high template design complexity and low page utilization in the existing technology, and achieves efficient Electronic template design and a higher design experience.
Patent Information
- Application Number
- CN202311113400.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-08-31
AI Technical Summary
When the existing electronic template design method generates electronic replies and statements, the page utilization rate is low, the manual workload is cumbersome, and the error rate is high. Especially when dealing with multiple repetitive objects, it is difficult to achieve efficient design.
Using the Web-based electronic template design method, select the box selection area with the mouse, mark the controls and form repeating groups, combine, uncombine and adjust the position of the floating window menu and table lines to realize the template design of the interface visualization and reduce the design time. Complexity and labor costs.
It greatly improves the efficiency and design experience of electronic template design, allows both repeated and non-repeating groups of content to exist on one page, improves paper utilization, and is suitable for electronic file formats such as OFD and PDF.
Smart Images

Figure CN116842928B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic document design, and specifically relates to a Web-based electronic template design method, system, device and storage medium. Background Art
[0002] With the popularization of the Internet, more and more industries are becoming electronic, such as the electronic receipts and statements of the financial sector. Application scenarios such as the electronic document generation service of electronic receipts and statements in the Internet-based SaaS platform of various banks can achieve paperless banking service vouchers, reduce bank costs, and greatly improve the efficiency of data use.
[0003] For example, OFD (Open Fixed-layout Document) is a format for electronic files. In the process of generating OFD receipts and statements, we must first design electronic templates for vouchers and documents flexibly and conveniently based on the styles of existing paper documents of each bank (each bank may have multiple types). When encountering specific business data, we can use electronic templates (templates) in the background to quickly generate an OFD instance file. Therefore, OFD template design is a relatively core function of the entire electronic process.
[0004] However, current template designs either mark the entire page as a table, which results in low page utilization; or mark the template objects one by one, which results in cumbersome manual workload and high error rate.
[0005] The above statements are only used to provide background technical information related to the present application. Unless otherwise stated herein, the contents described in this section are not prior art for the contents of other parts of the present application. Summary of the invention
[0006] The Web-based electronic template design method, system, electronic template designer and storage medium proposed in the present invention provide electronic document generation services for electronic receipts and statements. In view of the characteristics of multiple repetitive objects in electronic receipts and statements, targeted electronic template design for table-type data is performed, which greatly reduces the complexity of the electronic template design process, improves design efficiency and reduces labor costs.
[0007] According to a first aspect of an embodiment of the present application, a Web-based electronic template design method is provided, comprising:
[0008] Receive electronic template design instructions based on the Web to enter the template design interface, obtain the mouse selection data and determine the currently selected frame selection area of the template;
[0009] Determine at least one control in the selected area according to the properties of the selected area, and mark the control; the marked at least one control constitutes a current repeating group;
[0010] According to the currently selected frame selection area and the size of the floating window, the position of the current menu item floating window is determined and the menu item floating window is displayed; the menu item floating window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection;
[0011] Combined with table lines, the properties of the repeating group are received through the repeating group property interface, and the template design of the repeating group is carried out in combination with table lines; the properties of the repeating group are used to determine the number of repetitions of the repeating group and the layout of the repeating group on the template page; table lines are used to divide and limit the position of a repeating group.
[0012] In some implementations of the present application, obtaining the selected data of the mouse and determining the currently selected frame area of the template includes:
[0013] Establish a mouse click monitoring event to obtain the initial coordinates of the mouse click;
[0014] Establish a mouse movement monitoring event to obtain the end point coordinates after pressing and holding the mouse while moving the mouse;
[0015] End the monitoring event, determine the currently selected rectangular area according to the initial coordinates and the end point coordinates, and display the rectangular area on the template design interface.
[0016] In some implementations of the present application, determining at least one control in the frame selection area according to the attributes of the frame selection area and marking the control includes:
[0017] Determine four boundary values of the selected area according to the attributes of the selected area;
[0018] Determine in turn whether the position coordinates of each control in the template are within the four boundary values; if so, mark the control.
[0019] In some implementations of the present application, determining the position of the current menu item floating window and displaying the menu item floating window according to the currently selected frame selection area and the floating window size includes:
[0020] Obtain floating window data of a preset floating window size;
[0021] According to the size of the floating window and the size of the template design interface, determine that an area at a certain distance to the left, right, top or bottom of the currently selected frame selection area is the position of the current menu item floating window, and display the menu item floating window.
[0022] In some implementations of the present application, the menu item is used to combine, uncombine, and adjust the position of all controls in the current repeating group after selection, including:
[0023] Receive the mouse click selection operation through the menu item, and control all controls of the current repeating group to implement the attribute function of the menu item and then adjust the position; the attribute function of the menu item includes at least one of left alignment, center alignment, right alignment, top alignment, bottom alignment, page horizontal center, page vertical center, equal width, equal height, horizontal uniform distribution and vertical uniform distribution;
[0024] Through the combination menu in the menu item, all controls of the current repeating group can be controlled to combine them into a whole object or to release the combination.
[0025] In some embodiments of the present application, receiving the attributes of a repeating group through a repeating group attribute interface to perform template design of the repeating group includes:
[0026] All controls of the current repeating group are combined into one overall object;
[0027] Determine the positions of multiple table lines; table lines form row table lines or column grid lines according to the arrangement of controls in the current repeating group;
[0028] The number of repetitions and control spacing of the current repeating group are received through the repeating group property interface, and a repeating group with a specified number of repetitions is generated between multiple table lines.
[0029] In some embodiments of the present application, in combination with table lines, attributes of a repeating group are received through a repeating group attribute interface to perform template design of the repeating group, including:
[0030] Determines the position of the current table line of the current repeating group;
[0031] Control all controls in the current repeating group and the current table line to combine into a whole object;
[0032] The number of repetitions and control spacing of the current repeating group are received through the repeating group property interface, and a repeating group with a specified number of repetitions and a table line with a specified number of repetitions are generated.
[0033] According to a second aspect of an embodiment of the present application, a web-based electronic template design system is provided, comprising:
[0034] Frame selection module: used to receive electronic template design instructions based on the Web to enter the template design interface, obtain the mouse selection data and determine the currently selected frame selection area of the template;
[0035] A control determination module: used to determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes the current repeat group;
[0036] Floating window module: used to determine the position of the current menu item floating window and display the menu item floating window according to the currently selected frame selection area and the floating window size; the menu item floating window includes at least one menu item, which is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection;
[0037] Repeating group design module: used to receive the properties of the repeating group through the repeating group property interface, and design the template of the repeating group in combination with the table lines; the properties of the repeating group are used to determine the number of repetitions of the repeating group and the layout of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group.
[0038] According to a third aspect of an embodiment of the present application, an electronic template designer is provided, comprising: a memory for storing executable instructions; and a processor for connecting to the memory to execute the executable instructions to complete a Web-based electronic template design method.
[0039] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement a Web-based electronic template design method.
[0040] The Web-based electronic template design method, system, electronic template designer and storage medium of the present application are adopted to enter the template design interface by receiving electronic template design instructions based on the Web, obtain the mouse selection data and determine the currently selected frame selection area of the template; determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes the current repeating group; determine the position of the current menu item float window according to the currently selected frame selection area and the float window size and display the menu item float window; the menu item float window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection; receive the attributes of the repeating group through the repeating group attribute interface, and design the template of the repeating group in combination with the table lines; the attributes of the repeating group are used to determine the number of repetitions of the repeating group and the layout method of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group. The present application provides an electronic document generation service for electronic receipts and statements. In view of the fact that there are multiple repetitive objects in electronic receipts and statements, a targeted electronic template design for table-type data is performed. Through interface visualization operations, the complexity of operations is greatly reduced, the number of operations is reduced, and the current design gap for repetitive group design is filled, the design efficiency is improved, and the labor cost is reduced.
[0041] In addition, the present application also has the following technical effects: 1) When selecting components in an intuitive interface, the selection of a repeating group is realized by directly selecting the components with the mouse. Compared with the traditional solution of setting component properties one by one, the present application greatly improves the user experience and operation efficiency. 2) When refining the layout, the floating window menu position is optimized for calculation, filling the gap in the detailed control of repeating groups in the current field, solving the pain point that users can only achieve detailed control by modifying component coordinates, and the refined layout can not only use the OFD template designer, but also can be used for other template design applications in the same scene, such as PDF (Portable Document Format) electronic documents. 3) When designing a repeating group, two repeating group schemes can be selected, which can be selected according to the convenience of using the repeating group and the requirements of different scenarios, helping users to complete the template design more accurately. 4) Repeating groups not only greatly simplify the design work and improve the design efficiency, but also no longer need to mark the entire page as a table template, allowing the contents of repeating groups and non-repeating groups to exist on one page at the same time, which improves the utilization rate of paper in design.
[0042] In summary, this application not only improves the complex design problems of template generation of table data such as OFD format, but also greatly enhances the application value of electronic files in the financial industry. The files generated by the back-end based on the template include but are not limited to OFD, PDF and other electronic file formats. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0044] Figure 1 A schematic diagram of a design based on a conventional electronic template is shown in FIG.
[0045] Figure 2 A schematic diagram of the design of repeating groups in an existing electronic template is shown in FIG.
[0046] Figure 3 A schematic diagram of the steps of a Web-based electronic template design method according to an embodiment of the present application is shown in FIG.
[0047] Figure 4 A schematic diagram of the steps of selecting a region according to an embodiment of the present application is shown in FIG.
[0048] Figure 5 The schematic diagram of the steps of designing a repetition group according to an embodiment of the present application is shown in Figure 1 ;
[0049] Figure 6The schematic diagram of the steps of designing a repetition group according to an embodiment of the present application is shown in Figure 2 ;
[0050] Figure 7 A calculation flow chart of generating a rectangular frame selection area according to an embodiment of the present application is shown in FIG.
[0051] Figure 8 A schematic diagram showing a rectangular frame selection area is shown in the figure according to an embodiment of the present application;
[0052] Fig. 9 A flowchart for determining controls within a rectangular selection area according to an embodiment of the present application is shown in FIG.
[0053] Fig.10 A schematic diagram of menu items in a floating window according to an embodiment of the present application is shown in FIG.
[0054] Fig.11 A schematic diagram of a template for a user to draw all table lines according to an embodiment of the present application is shown in FIG.
[0055] Fig.12 A schematic diagram of a repeating group property setting panel according to an embodiment of the present application is shown in FIG.
[0056] Fig.13 A schematic diagram of a template for a user to draw a partial table line according to an embodiment of the present application is shown in FIG.
[0057] Fig.14 : shows a schematic diagram of the structure of a Web-based electronic template design system according to an embodiment of the present application;
[0058] Fig.15 A structural schematic diagram of an electronic template designer according to an embodiment of the present application is shown in FIG. DETAILED DESCRIPTION
[0059] Regarding this application, the electronic document generation service direction for electronic receipts and statements, OFD (Open Fixed-layout Documents) layout documents are electronic files with highly accurate and fixed layout presentation effects, similar to PDF files, with independent format, fixed layout, and solidified presentation. Based on the characteristics of tabular data such as electronic receipts and statements, there are multiple repetitive objects, which can be objects composed of multiple identical or different data types.
[0060] In the OFD template designer, most data types can be designed directly by dragging their corresponding components. However, the generic data of the repetitive objects mentioned above cannot be realized by directly dragging components, which is also the difficulty of the template designer. The characteristic of this type of repetitive object generic data is that it does not belong to a fixed data type but is a combination of multiple data types, and this combination needs to be repeated. This application calls this type of repetitive combination or repetitive object a repeating group.
[0061] like Figure 1 As shown in the design diagram of the conventional electronic template, the row marked in the box is a repeating group. The data of this repeating group is composed of the data of multiple controls in each column.
[0062] The definition of a repeating group is very important in template design. It abstracts hashed, recurring identical or different data types into a whole object for processing, so that users no longer need to process each column control one by one when designing a table template, but can process them as a whole.
[0063] The main application scenario of the repeating group of this application is the template design for realizing the table-type data mentioned above. This application breaks down the table template design into rows or columns to realize: a table is a repetition of rows or columns, and each row / column of data is a combination of multiple data types.
[0064] Figure 2 A schematic diagram of the design of repeating groups in existing electronic templates is shown in FIG.
[0065] However, how to implement the template design of repeating groups is an industry problem. The general approach is either Figure 2 As shown, the entire page is marked as a table, but the utilization rate of the design page is very low. Or mark each "repeating group control" in the property panel. Although this property marking method can also realize the basic functions of the repeating group control, this implementation method is cumbersome to operate. For example: there is a table with 20 columns. According to the general practice, it is necessary to mark the repeating group separately in the property panel of 20 controls. A large number of cumbersome operations will increase the risk of errors in the template design process, and the layout function of the repeating group control for detail control is missing: unified height, unified width, arrangement, alignment, distribution, movement and deletion, etc. If you insist on modifying the coordinates in each control property to realize the above missing functions, it is undoubtedly a nightmare for the operator. Another idea is to realize a table similar to Excel, and repeat the list data through the Excel table repetition. However, the workload is very huge to realize the table and cell effects of Excel on the web or client.
[0066] Therefore, in the current template design of similar repeating groups, either the entire page is marked as a table, which has low page utilization; or it is implemented through repeating group control marking, but the manual workload is cumbersome and the error rate is high.
[0067] In order to solve the design problem of how to implement repeating groups in templates in the OFD template designer, the present invention performs targeted electronic template design for table-type data when providing electronic file generation services for electronic receipts and statements, taking into account the characteristics of electronic receipts and statements that there are multiple repetitive objects, thereby greatly reducing the complexity of the electronic template design process, improving design efficiency and reducing labor costs.
[0068] The repeating group of the present application not only greatly simplifies the design work and improves the design efficiency, but also eliminates the need to mark the entire page as a table template, allowing the coexistence of repeating group and non-repeating group content on one page, thereby improving the utilization rate of paper in design.
[0069] Specifically, the Web-based electronic template design method, system, electronic template designer and storage medium of the present application enter the template design interface by receiving electronic template design instructions based on the Web, obtain the mouse selection data and determine the currently selected frame selection area of the template; determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes the current repeating group; determine the position of the current menu item float window according to the currently selected frame selection area and the float window size and display the menu item float window; the menu item float window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection; in combination with table lines, receive the attributes of the repeating group through the repeating group attribute interface to perform template design for the repeating group; the attributes of the repeating group are used to determine the number of repetitions of the repeating group and the layout method of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group.
[0070] This application provides an electronic file generation service for electronic receipts and statements. In view of the fact that electronic receipts and statements contain multiple repetitive objects, targeted electronic template design for table-type data is performed, which greatly reduces the complexity of the electronic template design process, improves design efficiency and reduces labor costs.
[0071] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0072] Example 1
[0073] Figure 3 A schematic diagram of the steps of a Web-based electronic template design method according to an embodiment of the present application is shown in FIG.
[0074] like Figure 3 As shown, the web-based electronic template design method of the embodiment of the present application includes the following steps:
[0075] S1: First, an electronic template design instruction is received based on the Web to enter the template design interface, obtain the selected data of the mouse and determine the currently selected frame area of the template.
[0076] Figure 4 A schematic diagram of the steps of selecting a region according to an embodiment of the present application is shown in FIG.
[0077] When implementing it, Figure 4 As shown, it includes: S11: establishing a mouse click monitoring event to obtain the initial coordinates when the mouse is clicked; S12: establishing a mouse movement monitoring event to obtain the end point coordinates after pressing the mouse and moving the mouse; S13: ending the monitoring event, determining the currently selected framed rectangular area according to the initial coordinates and the end point coordinates, and displaying the framed rectangular area in the template design interface.
[0078] S2: Determine at least one control in the selected area according to the attributes of the selected area, and mark the control; the at least one marked control constitutes a current repeating group.
[0079] In a preferred implementation, first, the four boundary values of the frame selection area are determined according to the attributes of the frame selection area; then, it is determined in turn whether the position coordinates of each control in the template are within the range defined by the four boundary values; if so, the control is marked. For example, the position coordinates of control A include the values of the four boundaries of control A, and it is determined whether the top boundary value of control A is less than the top boundary value of the frame selection area, whether the bottom boundary value of control A is greater than the bottom boundary value of the frame selection area, whether the left boundary value of control A is greater than the left boundary value of the frame selection area, and whether the right boundary value of control A is less than the right boundary value of the frame selection area.
[0080] S3: Determine the position of the current menu item pop-up window and display the menu item pop-up window according to the currently selected frame selection area and the pop-up window size; the menu item pop-up window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeat group after selection.
[0081] Among them, when determining the position of the current menu item floating window, first, obtain the floating window data of the pre-set floating window size; then, according to the floating window size and the template design interface size, determine that the area at a certain distance to the left, right, top or bottom of the currently selected frame area is the position of the current menu item floating window, and display the menu item floating window.
[0082] The menu items are used to group, ungroup, and adjust the positions of all controls in the current repeating group after selection, including:
[0083] Receive the mouse click selection operation through the menu item, and control all controls of the current repeating group to implement the attribute function of the menu item and then adjust the position; the attribute function of the menu item includes at least one of left alignment, center alignment, right alignment, top alignment, bottom alignment, page horizontal center, page vertical center, equal width, equal height, horizontal uniform distribution and vertical uniform distribution;
[0084] In addition, all controls of the current repeating group can be controlled through the combination menu in the menu item to realize the function of combining them into a whole object or releasing the combination.
[0085] S4: Receive the properties of the repeating group through the repeating group property interface, and design the template of the repeating group in combination with the table lines; the properties of the repeating group are used to determine the number of repetitions of the repeating group and the layout of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group.
[0086] Figure 5 The schematic diagram of the steps of designing a repetition group according to an embodiment of the present application is shown in Figure 1 .
[0087] like Figure 5 As shown, when S4 is implemented specifically, it includes scheme 1:
[0088] S41: All controls of the current repeating group are combined into one whole object;
[0089] S42: determining the positions of a plurality of table lines; the table lines form row table lines or column grid lines according to the arrangement of the controls in the current repeating group;
[0090] S43: receiving the number of repetitions and the control spacing of the current repetition group through the repetition group property interface, and generating a repetition group with a specified number of repetitions between multiple table lines.
[0091] Figure 6 The schematic diagram of the steps of designing a repetition group according to an embodiment of the present application is shown in Figure 2 .
[0092] like Figure 6 As shown, when S4 is implemented specifically, it includes scheme 2:
[0093] S410: Determine the position of the current table line of the current repeating group;
[0094] S420: Control all controls in the current repeating group and the current table line to be combined into an integral object;
[0095] S430: receiving the number of repetitions and the control spacing of the current repetition group through the repetition group property interface, and generating a repetition group with a specified number of repetitions and a table line with a specified number of repetitions.
[0096] In order to further illustrate the implementation scheme of the present application, the following is an explanation through specific implementation scenario steps.
[0097] The embodiment of the present application mainly realizes the layout and display of repeated data by designing the function of repeating groups. Specifically, the floating window menu realizes the refined control of the controls in the repeating group, and the key properties of the repeating group can be set in the property panel, so that the setting of the repeating group is changed from the general property marking method to the interface visualization operation, which greatly reduces the complexity of the operation, reduces the number of operations, solves the problem of table data design, and fills the gap in the design of repeating groups.
[0098] The embodiment of the present application is mainly completed in the following three steps.
[0099] Step 1: Implement the function of selecting components by frame and visually select batch components.
[0100] Implementing the function of the box selection component is divided into two steps: 1. Generate a box selection area based on mouse operations, 2. Determine the controls within the box selection area.
[0101] ① Generate a rectangular selection area based on mouse operations: To select an area, the user is required to first click the left mouse button, and then move the mouse to select a range.
[0102] First, create a mouse left button click listener event—drawDesk_MouseDown—in the drawing board, and record the current coordinates of the mouse when the left button is clicked.
[0103] Then, establish the mouse movement monitoring event drawDesk_MouseMove, record the current mouse coordinates - the end point coordinates - after moving the mouse while holding down the left mouse button, and cancel the drawDesk_MouseMove event when the mouse is released.
[0104] Now we have the initial coordinates and the end point coordinates of the mouse movement, and we can get a selection rectangular area (showing the current selection range to the user).
[0105] Figure 7 A calculation flow chart for generating a rectangular selection area according to an embodiment of the present application is shown in FIG. Figure 8 A schematic diagram of displaying and selecting a rectangular frame selection area according to an embodiment of the present application is shown in FIG.
[0106] like Figure 7As shown, first obtain the initial coordinates A (x1, y1) when the left mouse button is clicked, and obtain the end coordinates B (x2, y2) after the mouse dragging ends; considering the situation of mouse dragging the window, add the step of obtaining the scroll value of the window document in the vertical and horizontal directions; based on the coordinates A (x1, y1), B (x2, y2) and the scroll value, a series of operations as shown in the figure are performed to determine the coordinate values of the rectangular selection area.
[0107] Finally, if Figure 8 The figure shows the box selection area obtained after calculation displayed to the user.
[0108] ② Determine all controls within the selection area. With the rectangular selection area calculated in ①, we can determine which controls are within the selection area.
[0109] Fig. 9 A flowchart for determining controls within a rectangular selection area according to an embodiment of the present application is shown in FIG.
[0110] Judgment method such as Fig. 9 As shown, input the current control cptDom, then get the frame selection area drawRect, and then determine whether the bottom value of the frame selection area drawRect is greater than the bottom value of the control cptDom. The other three sides such as the top, left, and right have similar judgment conditions; when all the requirements are met, it is determined that the current control cptDom is within the frame selection area.
[0111] Finally, identify which controls are selected by the user's box and mark these selected controls to facilitate subsequent combination to form an overall repeating group.
[0112] Step 2: Use the floating window to fine-tune the selected control. This mainly includes: 1. The position display of the floating window menu and 2. The function of the menu item.
[0113] Fig.10 A schematic diagram of menu items in a floating window according to an embodiment of the present application is shown in FIG.
[0114] like Fig.10 As shown, the menu item functions include: left alignment, center alignment, right alignment, top alignment, bottom alignment, horizontal center of the page, vertical center of the page, equal width, equal height, horizontal uniform distribution, vertical uniform distribution and other detailed functions.
[0115] 1. The location of the floating menu is displayed.
[0116] The position of the floating menu is determined by the position of the control currently selected by the user and the width and height of the floating menu itself. After marking the control selected by the user, the smallest x value among the selected controls is used. min Coordinates and y min Coordinates and maximum xmax Coordinates, and the preset width of the floating window menu itself menu and height menu ,
[0117] When the width of the floating menu itself is less than half the distance from the minimum X coordinate to the maximum X coordinate:
[0118] Calculation formula: width menu <=(x max -x min ) / 2;
[0119] X on the floating menu menu is (x max -x min ) / 4, Y of floating menu menu for y min -5px;
[0120] When the width of the floating menu itself is greater than half the distance from the minimum X coordinate to the maximum X coordinate:
[0121] Calculation formula: width menu >(x max -x min ) / 2;
[0122] X on the floating menu menu For x min -5px, Y of floating menu menu for y min -5px;
[0123] Among them, px is the pixel unit.
[0124] Through the above calculation, the floating menu can always be displayed at an appropriate position for a subsequent operation after the control is selected.
[0125] 2. Menu item function.
[0126] About left alignment: After clicking this menu function item, the minimum X coordinate of all controls will be calculated - x min . Resets the X coordinates of all controls to x min .
[0127] About center alignment: After clicking this menu function item, the minimum X coordinate of all controls will be calculated - x min and the maximum X coordinate x max , reset the X coordinates of all controls to (x max -x min ) / 2.
[0128] About top alignment: After clicking this menu function item, the minimum Y coordinate of all controls will be calculated - y min , reset the Y coordinates of all controls to y min .
[0129] About bottom alignment: After clicking this menu function item, the maximum Y coordinate of all controls will be calculated - y max , reset the Y coordinates of all controls to y max .
[0130] About right alignment: After clicking this menu function item, the maximum X coordinate of all controls will be calculated - x max . Resets the X coordinates of all controls to x max .
[0131] About page horizontal centering: After clicking this menu function item, the middle coordinates (x middle ,y middle ). Reset the X coordinates of all controls to the middle coordinate minus half the width of the control, that is: middle -width cpt / 2.
[0132] About page vertical centering: After clicking this menu function item, the middle coordinates (x middle ,y middle ). Reset the X coordinates of all controls to the middle coordinate minus half the control height, that is: y middle -height cpt / 2.
[0133] About horizontal uniform distribution: After clicking this menu function item, the minimum X coordinate of all controls will be calculated - x min and the maximum X coordinate x max , divide the sum of the two by (number of controls - 1) to calculate the horizontally evenly distributed spacing p x =(x max -x min ) / (Count cpt -1). x min The position of the smallest control remains unchanged, and the X coordinates of the remaining controls are stacked in order of size with a uniform spacing p x .
[0134] About vertical uniform distribution: After clicking this menu function item, the minimum Y coordinate of all controls will be calculated - y min and the maximum Y coordinate y max , divide the sum of the two by (number of controls - 1) to calculate the horizontally evenly distributed spacing p y =(ymax -y min ) / (Count cpt -1).y min The position of the smallest control remains unchanged, and the Y coordinates of the remaining controls are stacked in order of size with a uniform spacing p y .
[0135] Step 3: Set up repeating groups.
[0136] After completing the refinement of the selected controls in step 2, you can start setting up repeating groups.
[0137] The embodiment of the present application has two solutions for the specific implementation of setting the repeating group. The two solutions are the same for the implementation without drawing table lines, and the difference lies in the implementation scheme for drawing table lines. Here we explain the implementation scheme for the repeating group of drawing table lines:
[0138] Fig.11 A schematic diagram of a template for a user to draw all table lines according to an embodiment of the present application is shown in FIG.
[0139] like Fig.11 As shown, the first option:
[0140] After the user has completed the selection of the controls according to the first two steps, click Combine to complete the setting of the repeating group. The repeating group is marked with a blue dotted frame. Then the user needs to draw all the table lines. Of course, if the customer does not require table lines, then there is no need for table lines.
[0141] Fig.12 A schematic diagram of a repeating group property setting panel according to an embodiment of the present application is shown in FIG.
[0142] like Fig.12 In the repeating group property setting panel shown, you can also set the properties of the repeating group: row or column repetition, repetition interval, and the length range of the repetition generation cutoff.
[0143] In this mode, the row spacing between repeated data in each row or the column spacing between repeated data in each column is agreed upon. After the OFD generation service on the back end receives the template, it will use the business data to fill in the blank rows or columns according to the repeating group components and corresponding parameters such as row spacing, column spacing, etc. provided in the template, and repeatedly generate multiple pages of the OFD file. The first solution is what you see is what you get, and users can strongly define the table line template they need. This solution is more suitable for situations where the number of words in the same field of the repeating group data does not change much. At the same time, the calculation amount of the generation service is small and the speed is fast.
[0144] Fig.13 A schematic diagram of a template for a user to draw a partial table line according to an embodiment of the present application is shown in FIG.
[0145] like Fig.13 As shown, the difference between the second solution and the first solution is that the second solution does not require the user to draw all the table lines. The user only needs to draw a table line for a row or a column of data, and select it together with the dynamic control, and click Combine to set the table line and the dynamic control as a repeating group.
[0146] At the same time, Fig.12 In the repeating group property setting panel shown, you can also set the properties of the repeating group: whether to repeat in rows or columns, the length range of the repeat generation cutoff, etc.
[0147] When designing repeating groups for these two schemes, the first scheme has fixed spacing between repeating groups because the table lines are drawn in advance and fixed in position; the spacing between rows or columns in the second scheme is not fixed, and the height or width is adjusted adaptively according to the content.
[0148] After receiving the template and business data, the OFD generation service at the backend will adaptively adjust the line spacing according to the business data of each row (column, the same below) based on the repeating group and corresponding parameters provided in the template. For example: for some fields with a lot of text, the row height is automatically increased to fully display; at the same time, according to the number of rows that can be accommodated on each page, it is automatically calculated how many pages are needed to fully display all business data. For those rows that need table lines to separate them, table lines are automatically added to each row according to the position of the template lines. In the second solution, users no longer need to draw so many table lines. The table lines are dynamically generated by the OFD generation service, and the position of the table lines can be adaptive when the data height expands the row height. This method is suitable for situations where the number of words in the same field of the repeating group data varies greatly, but it requires relatively large real-time computing resources and has a certain impact on the generation speed.
[0149] The design scheme of the repeating group proposed in the embodiment of the present application is not limited to the field of electronic documents such as OFD. In other fields such as multi-page report design, professionals in the field can use this scheme to realize the layout and display of repeated data without creative thinking. Such applications all fall within the scope of protection of this application.
[0150] The Web-based electronic template design method of the present application is adopted, and the template design interface is entered by receiving electronic template design instructions based on the Web, obtaining the selected data of the mouse and determining the currently selected frame selection area of the template; determining at least one control in the frame selection area according to the attributes of the frame selection area, and marking the control; the at least one marked control constitutes the current repeating group; determining the position of the current menu item float window according to the currently selected frame selection area and the float window size and displaying the menu item float window; the menu item float window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection; receiving the attributes of the repeating group through the repeating group attribute interface, and designing the template of the repeating group in combination with the table lines; the attributes of the repeating group are used to determine the number of repetitions of the repeating group and the layout method of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group. This application provides an electronic document generation service for electronic receipts and statements. In view of the fact that there are multiple repetitive objects in electronic receipts and statements, a targeted electronic template design for table-type data is performed. Through interface visualization operations, the complexity of operations is greatly reduced, the number of operations is reduced, and the current design gap for repeated group design is filled. In addition, this application also has the following technical effects: 1) When selecting components in an intuitive interface, the repeated group is selected by directly selecting components with the mouse. Compared with the traditional solution of setting component properties one by one, this application greatly improves the user experience and operation efficiency. 2) When refining the layout, the position of the floating window menu is optimized and calculated, filling the gap in the detailed control of repeated groups in the current field, solving the pain point that users can only achieve detailed control by modifying component coordinates, and the refined layout can not only use the OFD template designer, but also can be used for other template design applications in the same scenario, such as PDF (Portable Document Format) electronic documents. 3) When designing a repeating group, you can choose two repeating group schemes. You can choose according to the convenience of using the repeating group and the needs of different scenarios, which can help users complete the template design more accurately. 4) Repeating groups not only greatly simplify the design work and improve design efficiency, but also no longer need to mark the entire page as a table template, allowing repeating groups and non-repeating group content to exist on the same page, which improves the utilization of paper in design.
[0151] In summary, this application not only improves the complex design problems of template generation of table data such as OFD format, but also greatly enhances the application value of electronic files in the financial industry. The files generated by the back-end based on the template include but are not limited to OFD, PDF and other electronic file formats.
[0152] Example 2
[0153] This embodiment provides a Web-based electronic template design system. For details not disclosed in the Web-based electronic template design system of this embodiment, please refer to the specific implementation content of the Web-based electronic template design method in other embodiments.
[0154] Fig.14 A schematic diagram of the structure of a Web-based electronic template design system according to an embodiment of the present application is shown in FIG.
[0155] like Fig.14 As shown, the web-based electronic template design system includes a frame selection module 10, a control determination module 20, a floating window module 30 and a repeating group design module 40.
[0156] Specifically,
[0157] The frame selection module 10 is used to receive the electronic template design instruction based on the Web and enter the template design interface, obtain the selected data of the mouse and determine the frame selection area currently selected by the template.
[0158] The specific implementation includes: establishing a mouse click monitoring event to obtain the initial coordinates of the mouse click; establishing a mouse movement monitoring event to obtain the end point coordinates after holding down the mouse and moving the mouse; ending the monitoring event, determining the currently selected rectangular area based on the initial coordinates and the end point coordinates, and displaying the rectangular area in the template design interface.
[0159] The control determination module 20 is used to determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes a current repetition group.
[0160] In the preferred implementation, first, the four boundary values of the selection area are determined according to the properties of the selection area; then, it is determined in turn whether the position coordinates of each control in the template are within the range defined by the four boundary values; if so, the control is marked.
[0161] Floating window module 30: used to determine the position of the current menu item floating window and display the menu item floating window according to the currently selected frame selection area and the floating window size; the menu item floating window includes at least one menu item, which is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection.
[0162] Among them, when determining the position of the current menu item floating window, first, obtain the floating window data of the pre-set floating window size; then, according to the floating window size and the template design interface size, determine that the area at a certain distance to the left, right, top or bottom of the currently selected frame area is the position of the current menu item floating window, and display the menu item floating window.
[0163] Among them, the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection, including: receiving the mouse click selection operation through the menu item, and controlling all controls in the current repeating group to realize the attribute function of the menu item and then adjust the position; the attribute function of the menu item includes at least one of left alignment, center alignment, right alignment, top alignment, bottom alignment, page horizontal center, page vertical center, equal width, equal height, horizontal uniform distribution and vertical uniform distribution; and, controlling all controls in the current repeating group through the combination menu in the menu item to realize the function of combining into an integral object or the function of uncombining.
[0164] Repeating group design module 40: used to receive the properties of the repeating group through the repeating group property interface to perform template design of the repeating group; the properties of the repeating group are used to determine the number of repetitions of the repeating group and the layout of the repeating group on the template page; table lines are used to divide and position a repeating group.
[0165] The Web-based electronic template design system of the present application is adopted, and the electronic template design instruction is received based on the Web through the frame selection module 10 to enter the template design interface, obtain the mouse selection data and determine the currently selected frame selection area of the template; the control determination module 20 determines at least one control in the frame selection area according to the attributes of the frame selection area, and marks the control; the at least one marked control constitutes the current repeating 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 includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection; the repeating group design module 40 combines the table lines, receives the attributes of the repeating group through the repeating group attribute interface, and combines the table lines to perform template design of the repeating group; the attributes of the repeating group are used to determine the number of repetitions of the repeating group and the layout method of the repeating group on the template page; the table lines are used to divide and position a repeating group. The present application provides an electronic document generation service for electronic receipts and statements. In view of the fact that there are multiple repetitive objects in electronic receipts and statements, a targeted electronic template design for table-type data is performed. Through interface visualization operations, the complexity of operations is greatly reduced, the number of operations is reduced, and the current design gap for repetitive group design is filled.
[0166] In addition, the present application also has the following technical effects: 1) When selecting components in an intuitive interface, the repeating group can be selected by directly selecting the components with the mouse. Compared with the traditional solution of setting component properties one by one, the present application greatly improves the user experience and operating efficiency. 2) When refining the layout, the position of the floating menu is optimized and calculated, filling the gap in the detailed control of repeating groups in the current field, solving the pain point that users can only achieve detailed control by modifying component coordinates, and the refined layout can not only use the OFD template designer, but also can be used for other template design applications in the same scenario, such as PDF (Portable Document Format) electronic documents. 3) When designing a repeating group, two repeating group schemes can be selected, which can be selected based on the convenience of using the repeating group and the needs of different scenarios, to help users complete the template design more accurately.
[0167] In summary, this application not only improves the complex design problems of template generation of table data such as OFD format, but also greatly enhances the application value of electronic files in the financial industry. The files generated by the back-end based on the template include but are not limited to OFD, PDF and other electronic file formats.
[0168] Example 3
[0169] This embodiment provides an electronic template designer. For details not disclosed in the electronic template designer of this embodiment, please refer to the specific implementation content of the Web-based electronic template design method or system in other embodiments.
[0170] Fig.15 Schematic diagram of the structure of the electronic template designer 400 or image recognition device according to an embodiment of the present application is shown in FIG.
[0171] like Fig.15 As shown, the electronic template designer 400 or image recognition device includes:
[0172] Memory 402: used to store executable instructions; and
[0173] Processor 401: used to connect with memory 402 to execute executable instructions to complete the Web-based electronic template design method or image recognition method.
[0174] Those skilled in the art will understand that Fig.15 It is merely an example of the electronic template designer 400 or the image recognition device and does not constitute a limitation of the electronic template designer 400 or the image recognition device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic template designer 400 may also include input and output devices, network access devices, buses, etc.
[0175] 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, etc. A general-purpose processor may be a microprocessor or the processor 401 may also be any conventional processor, etc. The processor 401 is the control center of the electronic template designer 400, and uses various interfaces and lines to connect various parts of the entire electronic template designer 400.
[0176] The memory 402 can be used to store computer-readable instructions. The processor 401 implements various functions of the electronic template designer 400 by running or executing computer-readable instructions or modules stored in the memory 402 and calling data stored in the memory 402. The memory 402 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic template designer 400, etc. In addition, the memory 402 can include a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM) or other non-volatile / volatile storage devices.
[0177] If the modules integrated in the electronic template designer 400 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium, and when the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be implemented.
[0178] Example 5
[0179] This embodiment provides a computer-readable storage medium on which a computer program is stored; the computer program is executed by a processor to implement the Web-based electronic template design method in other embodiments.
[0180] The electronic template designer and storage medium of the embodiment of the present application enter the template design interface by receiving electronic template design instructions based on the Web, obtain the mouse selection data and determine the currently selected frame selection area of the template; determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes the current repeating group; determine the position of the current menu item pop-up window according to the currently selected frame selection area and the size of the pop-up window and display the menu item pop-up window; the menu item pop-up window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeating group after selection; receive the attributes of the repeating group through the repeating group attribute interface, and design the template of the repeating group in combination with the table lines; the attributes of the repeating group are used to determine the number of repetitions of the repeating group and the layout method of the repeating group on the template page; the table lines are used to divide and limit the position of a repeating group.
[0181] The present application provides an electronic document generation service for electronic receipts and statements. In view of the fact that there are multiple repetitive objects in electronic receipts and statements, a targeted electronic template design for table-type data is performed. Through interface visualization operations, the complexity of operations is greatly reduced, the number of operations is reduced, and the current design gap for repetitive group design is filled.
[0182] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0183] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0184] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0186] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0187] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0188] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0189] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A web-based electronic template design method, characterized in that include: Receive electronic template design instructions based on the web and enter the template design interface, obtain the selected data of the mouse and determine the currently selected box area of the template; Determine at least one control in the frame selection area according to the attribute of the frame selection area, and mark the control; the at least one marked control constitutes a current repeating group; the at least one control is a control of a different data type; According to the currently selected frame selection area and the size of the floating window, determine the position of the current menu item floating window and display the menu item floating window; the menu item floating window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeat group after selection; The properties of the repeating group are received through the repeating group property interface, and the template design of the current repeating group is performed in combination with the table lines; the properties of the current repeating group are used to determine the number of repetitions of the current repeating group and the layout of the current repeating group on the template page, and the current repeating group forms a combination of row repetitions or column repetitions according to the layout method; the table lines are used to divide and position a repeating group.
2. The web-based electronic template design method according to claim 1, characterized in that The selected data of the mouse and determine the currently selected box selection area of the template, including: Create a mouse click listening event to obtain the initial coordinates when the mouse clicks; Establish a mouse movement listening event to obtain the end coordinates after the mouse is pressed and held down and moved the mouse at the end; The listening event is ended, and the currently selected box-selected rectangular area is determined based on the initial coordinates and end coordinates, and the box-selected rectangular area is displayed on the template design interface.
3. The web-based electronic template design method according to claim 1, characterized in that The at least one control in the box selection area is determined according to the properties of the box selection area, and marks the control, including: Determine the four boundary values of the box-selected area according to the properties of the box-selected area; Sequentially determine whether the position coordinates of each control in the template are within the range defined by the four boundary values; if so, mark the control.
4. The web-based electronic template design method according to claim 1, characterized in that According to the currently selected box selection area and floating window size, the position of the current menu item floating window is determined and the menu item floating window is displayed, including: Obtain floating window data of the preset floating window size; According to the size of the floating window and the size of the template design interface, determine that an area a certain distance to the left, right, top or bottom of the currently selected frame selection area is the position of the current menu item floating window, and display the menu item floating window.
5. The web-based electronic template design method according to claim 1, characterized in that The menu item is used to select and combine, uncombinate and position adjustment operations on all controls of the current repeat group, including: Receive the mouse click selection operation through the menu item, and control all controls of the current repeating group to implement the attribute function of the menu item and then adjust the position; the attribute function of the menu item includes at least one of left alignment, center alignment, right alignment, top alignment, bottom alignment, page horizontal center, page vertical center, equal width, equal height, horizontal uniform distribution and vertical uniform distribution; The combination function is implemented or the uncombined function is disabled through the combination menu in the menu item.
6. The web-based electronic template design method according to any one of claims 1-5, characterized in that, The attributes of the duplicate group are received through the duplicate group attribute interface, and the template design of the current duplicate group is carried out in combination with the table line, including: Controls that all controls that currently repeat group are combined into a whole object; Determine the positions of a plurality of table lines; the table lines form row table lines or column table lines according to the arrangement of controls in the current repeating group; the table lines are used to divide and position a repeating group; The number of duplicates of the current duplicate group and the control spacing are received through the repeat group attribute interface, and the current duplicate group of a specified number of duplicates is generated between the plurality of table lines.
7. The web-based electronic template design method according to any one of claims 1-5, characterized in that, The attributes of the duplicate group are received through the duplicate group attribute interface, and the template design of the current duplicate group is carried out in combination with the table line, including: Determine the position of the current table line of the current repeat group; the table line is used to divide and define a repeat group; Controls that all controls and current table lines are combined into a whole object in the current repeat group; Receive the number of duplicates of the current duplicate group and the control spacing of the current duplicate group through the duplicate group attribute interface, and generate the current duplicate group with a specified duplicate number and a table line with a specified duplicate number.
8. An electronic template design system based on the web, characterized in that include: The box selection module: is used to receive electronic template design instructions based on the Web to enter the template design interface, obtain the selected data of the mouse and determine the box selection area currently selected by the template; A control determination module: used to determine at least one control in the frame selection area according to the attributes of the frame selection area, and mark the control; the at least one marked control constitutes a current repeating group; the at least one control is a control of a different data type; Floating window module: used to determine the position of the current menu item floating window and display the menu item floating window according to the currently selected frame selection area and the floating window size; the menu item floating window includes at least one menu item, and the menu item is used to combine, uncombine and adjust the position of all controls in the current repeat group after selection; Repeating group design module: used to receive the properties of the repeating group through the repeating group property interface, and to design the template of the current repeating group in combination with the table lines; the properties of the current repeating group are used to determine the number of repetitions of the current repeating group and the layout of the repeating group on the template page, and the current repeating group forms a combination of row repetitions or column repetitions according to the layout method; the table lines are used to divide and limit the position of a repeating group.
9. An electronic template designer, characterized in that include: A memory for storing executable instructions; as well as A processor for connecting with memory to execute executable instructions to perform the method as claimed in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon; the computer program is executed by the processor to implement the method of any of claims 1-7.
