Method, apparatus and device for configuring spreadsheet, and storage medium
By receiving and pre-associating the input operations of function options and field data in the spreadsheet, the target cells are displayed, which solves the problem of users having difficulty in determining the cells where the function options are applied, reduces the difficulty of configuration and improves efficiency.
Patent Information
- Application Number
- PCT/CN2024/083140
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-21
- Publication Date
- 2024-10-03
AI Technical Summary
During the process of configuring the spreadsheet, it is difficult for users to determine the cells corresponding to each function option, making configuration difficult.
By receiving the input operation of the target function option in the spreadsheet, pre-associating the field data with the function option, and displaying the corresponding target cell in a preset display mode, such as highlighting, thickening the outline, or coloring the outline, to help users quickly identify the function The cell to which the option applies.
It reduces the difficulty of configuring the spreadsheet, improves the user's ability to understand and identify the cells on which functional options are applied, and simplifies the configuration process.
Smart Images

Figure CN2024083140_03102024_PF_FP_ABST
Abstract
Description
Electronic spreadsheet configuration method, device, equipment and storage medium
[0001] This application claims priority to Chinese invention patent application No. 2023103131916, entitled “Method, device, equipment and storage medium for configuring electronic spreadsheets”, filed on March 28, 2023. The entire contents of that application are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for configuring an electronic spreadsheet. Background Art
[0003] Spreadsheets can help users create various complex table documents, perform tedious data calculations, and perform various complex statistical operations on the input data and display them as highly visible tables, greatly enhancing the visibility of the data.
[0004] However, currently, in the process of configuring a spreadsheet, it is difficult for users to determine the cells on which each configuration function acts, which makes the configuration of the spreadsheet difficult and even more difficult to produce a spreadsheet document that meets user expectations.
[0005] Summary of the Invention
[0006] The purpose of the embodiments of the present application is to provide a method, apparatus, device and storage medium for configuring an electronic spreadsheet, so as to solve the problem that it is difficult to determine the cells corresponding to each function option during the current process of configuring an electronic spreadsheet, resulting in great difficulty in configuring the electronic spreadsheet.
[0007] To solve the above technical problems, the embodiments of the present application are implemented as follows:
[0008] In one aspect, an embodiment of the present application provides a method for configuring an electronic form, comprising:
[0009] Receiving an input operation for a target function option in an electronic form; the target function option is used to configure the electronic form; the input operation includes pre-associating field data with the target function option;
[0010] In response to the input operation, determining a target cell in the electronic form corresponding to the target function option;
[0011] The target cell is displayed in a preset display mode.
[0012] In another aspect, an embodiment of the present application provides an electronic form configuration device, comprising:
[0013] A first receiving module is configured to receive an input operation on a target function option in an electronic form; the target function option is used to configure the electronic form; the input operation includes pre-associating field data with the target function option;
[0014] a determination module, configured to determine, in response to the input operation, a target cell in the electronic form corresponding to the target function option;
[0015] The display module is configured to display the target cell in a preset display manner.
[0016] On the other hand, an embodiment of the present application provides a device for configuring an electronic spreadsheet, comprising a processor; and a memory arranged to store computer-executable instructions, wherein the computer-executable instructions are configured to be executed by the processor, and the computer-executable instructions are executed by the processor to implement the above-mentioned electronic spreadsheet configuration method.
[0017] On the other hand, an embodiment of the present application provides a storage medium for storing computer-executable instructions, which implement the above-mentioned electronic spreadsheet configuration method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] FIG1 is a schematic flow chart of a method for configuring an electronic form according to an embodiment of the present application;
[0020] FIG2 is a schematic diagram of an interface of a pivot table according to an embodiment of the present application;
[0021] FIG3 is a schematic diagram of an interface of a pivot table according to another embodiment of the present application;
[0022] FIG4 is a schematic diagram of an interface of a pivot table according to another embodiment of the present application;
[0023] FIG5 is a schematic diagram of an interface of a pivot table according to another embodiment of the present application;
[0024] FIG6 is a schematic structural diagram of an electronic form configuration device according to an embodiment of the present application;
[0025] FIG7 is a schematic structural diagram of an electronic form configuration device according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiments of the present application provide a method, apparatus, device and storage medium for configuring an electronic spreadsheet, which are used to solve the problem that it is difficult to determine the cells corresponding to each function option during the current electronic spreadsheet configuration process, resulting in great difficulty in configuring the electronic spreadsheet.
[0027] Using the technical solution of the embodiment of the present application, by receiving an input operation for a target function option in a spreadsheet, the target function option is used to configure the spreadsheet. The input operation may include pre-associating field data with the target function option, thereby determining the target cell corresponding to the target function option in the spreadsheet in response to the input operation, and then displaying the target cell in a preset display mode. It can be seen that during the process of configuring the spreadsheet, this technical solution can display the cells corresponding to each function option based on the operation of pre-associating the function option and the field data, making it easier for users to quickly and accurately know the cells affected by each function option in the spreadsheet, reducing the difficulty of understanding the various function options used to configure the spreadsheet, and thus helping to reduce the difficulty of configuring the spreadsheet.
[0028] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0029] FIG1 is a schematic flow chart of a method for configuring an electronic form according to an embodiment of the present application. As shown in FIG1 , the method may include:
[0030] S102: receiving an input operation for a target function option in the electronic form.
[0031] In this embodiment, the target function option is used to configure the spreadsheet, and the target function option may be a function option that is input by clicking, dragging, etc. Optionally, the target function option may be a field placement area for configuring the spreadsheet, and the field placement area may include placement areas for field data such as row data, column data, value data, and filter fields. The target function option may be a function option for configuring the spreadsheet to sort rows or columns, may be a function option for configuring the spreadsheet to display or hide category subtotals, may be a function option for configuring the spreadsheet to display or hide duplicate item labels, and so on. It should be understood that in addition to the target function option, the spreadsheet also includes other function options, such as function options for configuring font color, font size, etc., which are not limited in the embodiments of the present application.
[0032] In this embodiment, the input operation includes pre-association of field data with target function options. Optionally, pre-association of field data with target function options may be an operation of moving any field in the field data to any field placement area, or an operation of triggering the target function option in a selection manner. There is a difference between pre-association and association. For example, for the operation of triggering the target function option in a selection manner, pre-association may be an operation of hovering the user's mouse over the target function option, while association may be an operation of clicking the target function option; for the operation of moving any field in the field data to any field placement area, pre-association may be an operation of dragging the user's mouse to any field placement area and hovering, while association may be an operation of letting go after dragging any field to any field placement area.
[0033] S104 , in response to the input operation, determining a target cell corresponding to the target function option in the electronic form.
[0034] S106: Display the target cell in a preset display mode.
[0035] In one embodiment, the preset display mode includes at least one of the following: highlighting, bolding, and coloring. Optionally, the target cell can be displayed using one or more of the highlighting, bolding, and coloring display modes. This enhanced display of the target cells facilitates the user to intuitively identify which cells in the spreadsheet are target cells. The target cells can be displayed using any color of highlighting, bolding, or coloring, and can be displayed using any specification of bolding.
[0036] In one embodiment, after the user hovers the mouse over the target function option, if the user leaves the target function option, the enhanced display of the target cell will not disappear immediately. This not only helps the user to clearly understand the cells affected by each function option in the spreadsheet, but also does not require the user to operate a device (such as a mouse) to hover over the target function option, freeing up the user's hands. Optionally, the enhanced display of the target cell can disappear after a preset length of time, or disappear after the user clicks on another area of the spreadsheet.
[0037] Using the technical solution of the embodiment of the present application, by receiving an input operation for a target function option in a spreadsheet, the target function option is used to configure the spreadsheet. The input operation may include pre-associating field data with the target function option, thereby determining the target cell corresponding to the target function option in the spreadsheet in response to the input operation, and then displaying the target cell in a preset display mode. It can be seen that during the process of configuring the spreadsheet, this technical solution can display the cells corresponding to each function option based on the operation of pre-associating the function option and the field data, making it easier for users to quickly and accurately know the cells affected by each function option in the spreadsheet, reducing the difficulty of understanding the various function options used to configure the spreadsheet, and thus helping to reduce the difficulty of configuring the spreadsheet.
[0038] The electronic table configuration method provided in the embodiments of the present application is applicable to a variety of electronic tables. Below, the electronic table configuration method provided in the embodiments of the present application will be described in detail using a pivot table as an example. A pivot table is essentially a two-dimensional table, which is different from a simple one-dimensional table. A two-dimensional table involves a tree structure, which is more difficult to understand. Therefore, a method for configuring an electronic table that is easy to understand is even more necessary.
[0039] In one embodiment, the electronic form is a pivot table. Receiving an input operation for a target function option in the electronic form (i.e., S102) may be performed as follows: Step A1:
[0040] Step A1: receiving an input operation on a target function option in a configuration bar on a pivot table.
[0041] The target function options in the configuration bar may include a field placement area for configuring a pivot table, and the field placement area includes a placement area for at least one of the following field data: row data, column data, value data, and filter field.
[0042] Optionally, the target function options in the configuration bar may further include a function option for displaying or hiding duplicate item labels, a function option for displaying or hiding category subtotals, and the like.
[0043] For ease of understanding, the various target function options in the configuration bar are explained below through the interface diagrams of the pivot table shown in Figures 2 and 3. It should be noted that Figures 2 and 3 are only examples of a pivot table for illustrating this embodiment, and other menu bars and other function options in the pivot table are not reflected.
[0044] As shown in Figure 2, in the pivot table 200, a configuration bar 210 is provided on the right side. The field configuration of the configuration bar 210 includes a field name selection area and a pivot table area. The pivot table area includes a filter field placement area (i.e., the filter in Figure 2) 211, a row data placement area (i.e., the row in Figure 2) 212, a column data placement area (i.e., the column in Figure 2) 213, and a value data placement area (i.e., the value in Figure 2) 214. The user can pre-associate the field data with the target function option by dragging any field name to any field placement area and hovering it. Since each field placement area corresponds to a cell of the pivot table, the target cell corresponding to the field placement area in the pivot table can be determined through the pre-association operation, so that the target cell is displayed in a preset display mode.
[0045] As shown in FIG3 , a configuration bar 210 is provided on the right side of the pivot table 300. The display configuration of the configuration bar 210 includes a function option 311 for showing or hiding category subtotals and a function option 312 for showing or hiding duplicate item labels. The function option 311 for showing or hiding category subtotals includes showing or hiding category subtotals, showing or hiding row totals, and showing or hiding column totals. Users can select to show category subtotals, show row totals, show column totals, etc. by checking the checkboxes in front of each function option. Users can also select to hide category subtotals, hide row totals, hide column totals, etc. by clearing the checkboxes in front of each function option. In the pivot table shown in FIG3 , if the user chooses to show category subtotals, the data in the row for "Province X Total" and the data in the row for "Province Y Total" will both be displayed, as shown in FIG3 . If the user chooses to hide category subtotals, the data in the row for "Province X Total" and the data in the row for "Province Y Total" will both be hidden, an effect not shown in FIG3 .
[0046] Among them, the function option 312 for showing or hiding duplicate item labels includes showing or hiding row fields and showing or hiding column fields. The user can choose to show row fields, show column fields, etc. by checking the checkbox before each function option, and can choose to hide row fields, hide column fields, etc. by clearing the checkbox before each function option. In the pivot table shown in Figure 3, if the user chooses to show row fields, the previous cell in the row where "City B" and "City C" are located will display "Province X", and the previous cell in the row where "City E" and "City F" are located will display "Province Y", which is not shown in Figure 3. If the user chooses to hide row fields, the previous cell in the row where "City B" and "City C" are located will be cleared, and the previous cell in the row where "City E" and "City F" are located will be cleared, as shown in Figure 3.
[0047] It should be noted that the way users choose to display or hide includes but is not limited to checking or clearing the check box. In actual applications, users can choose to display or hide in a corresponding manner according to the specific situation of the page being displayed. The embodiments of this application do not limit this.
[0048] In one embodiment, an operation of associating field data with a field placement area may be received, and in response to the operation, a mapping relationship between the field data and the cells corresponding to the field placement area in the pivot table may be established.
[0049] Alternatively, you can associate field data with a field drop zone by dragging any field onto a field drop zone and then releasing it. Since each field drop zone corresponds to a cell in the PivotTable, this association establishes a mapping between the field data and the cell corresponding to the field drop zone.
[0050] Continuing with the pivot table shown in FIG2 , if an operation is received to associate the “sales price” with the value data placement area 214 , in response to the operation, a mapping relationship between the “sales price” and the cells corresponding to the value data placement area 214 can be established based on the cells in the pivot table corresponding to the value data placement area 214 .
[0051] In one embodiment, the cells in the pivot table may be filled with the field data based on the mapping relationship between the field data and the cells.
[0052] Continuing with the PivotTable shown in FIG2 , if a mapping relationship has been established between the "sales price" and the cells corresponding to the value data placement area 214 , then, based on this mapping relationship, each "sales price" can be used to fill in the cells corresponding to the value data placement area 214 in the PivotTable, thereby accurately filling the "sales price" in the original table into the PivotTable.
[0053] In one embodiment, receiving an input operation for a target function option in a configuration bar on a pivot table (ie, step A1) may be performed as follows: step A11 or step A12:
[0054] Step A11: receiving an operation of moving any field in the field data to any field placement area.
[0055] Alternatively, as shown in FIG2 , a user can select or search for any field in the field name selection area in the field configuration of the configuration bar 210, thereby moving the field to the user's desired field placement area. The method for moving a field to the field placement area can be: dragging the field and hovering it within the field placement area. It should be understood that pivot tables are often used for data summarization and statistics. Therefore, users generally configure pivot tables with a purpose, that is, for each field, the user has a desired field placement area.
[0056] Step A12: receiving a triggering operation on a target function option in a selection manner in the configuration bar.
[0057] Among them, the target function options may include a function option for displaying or hiding duplicate item labels, and / or a function option for displaying or hiding category subtotals. Optionally, the triggering operation on the target function options in a selection manner may be an operation of hovering the user's mouse over the target function options. Following the pivot table shown in Figure 3, when the user hovers the mouse over the function option 312 for displaying or hiding duplicate item labels, and / or the function option 311 for displaying or hiding category subtotals, it is considered that the triggering operation on the target function options in a selection manner in the configuration bar has been received. At this time, it can be regarded as the user checking the check box in front of the corresponding function option.
[0058] In this embodiment, in response to the input operation, determining the target cell corresponding to the target function option in the electronic form (ie, S104) can be performed as follows: step B1 or step B2:
[0059] Step B1 , in response to an operation of moving any field in the field data to any field placement area, determining a target cell corresponding to the field placement area in the electronic form according to the field placement area.
[0060] Each field placement area corresponds to a cell in the spreadsheet.
[0061] Step B2: In response to a triggering operation of a target function option in a selection manner in the configuration bar, a target cell corresponding to the target function option in the electronic sheet is determined according to the selected cell and the triggered target function option.
[0062] Alternatively, based on the pivot table shown in FIG3 , assuming that the triggering operation for the target function option in a selection manner is performed as follows: hovering the user's mouse over the target function option, then step B2 may be performed as follows: in response to the user hovering the mouse over the function option for displaying or hiding duplicate labels in the configuration bar, determining the target cell in the spreadsheet corresponding to the function option for displaying or hiding duplicate labels based on the cell selected by the user and the function option for displaying or hiding duplicate labels; or, in response to the user hovering the mouse over the function option for displaying or hiding category subtotals in the configuration bar, determining the target cell in the spreadsheet corresponding to the function option for displaying or hiding category subtotals based on the cell selected by the user and the function option for displaying or hiding category subtotals. The detailed process of step B2 may refer to steps E1-E3 below, which will not be described in detail here.
[0063] In this embodiment, by performing different input operations on different target function options, corresponding methods for determining the target cell are provided, which is conducive to accurate determination of the target cell.
[0064] In one embodiment, the electronic form is a pivot table. Receiving an input operation for a target function option in the electronic form (i.e., S102) may be performed as follows: Step C1:
[0065] Step C1: receiving an input operation on a menu bar associated with a target function option in a pivot table.
[0066] The menu bar may include at least one of the following target function options: a sorting function option, a function option to show or hide category subtotals, and a function option to show or hide duplicate item labels. Optionally, the menu bar associated with the target function option can be popped up by right-clicking the mouse, can be popped up by triggering a preset shortcut key, or can be fixed at any location on the PivotTable interface.
[0067] For ease of understanding, the various target function options in the menu bar are explained below using the interface diagram of a pivot table shown in FIG4 . In the pivot table shown in FIG4 , the menu bar can be popped up by right-clicking the mouse or by triggering a preset shortcut key. It should be noted that FIG4 is only an example of a pivot table used to illustrate this embodiment, and other menu bars and other function options in the pivot table are not shown.
[0068] As shown in (a) of Figure 4, in the PivotTable 400, the user selects any cell and right-clicks the mouse, or triggers the preset shortcut key to call out the menu bar 410. The menu bar 410 includes a sorting function option 411, a function option 412 for showing or hiding category subtotals, and a function option 413 for showing or hiding duplicate item labels.
[0069] In one embodiment, receiving an input operation on a menu bar associated with a target function option in a pivot table (ie, step C1 ) may be performed as follows: receiving a triggering operation on the target function option in a selection manner in the menu bar.
[0070] Optionally, the triggering operation on the target function option in a selection manner may be performed as: an operation of hovering the user's mouse over the target function option.
[0071] In this embodiment, in response to an input operation, determining the target cell corresponding to the target function option in the spreadsheet (i.e., S104) can be performed as follows: in response to a triggering operation on the target function option in a selection manner on a selected cell and in a menu bar that triggers a pop-up, determining the target cell corresponding to the target function option in the spreadsheet based on the selected cell and the selected target function option.
[0072] Alternatively, based on the pivot table shown in FIG4 , assuming that the triggering operation for the target function option in a selection manner is performed by hovering the user's mouse over the target function option, then in response to the triggering operation for the target function option in a selection manner in a menu bar that is triggered to pop up on a selected cell, determining the target cell corresponding to the target function option in the spreadsheet based on the selected cell and the selected target function option may be performed as follows: step D1, step D2, or step D3:
[0073] Step D1 , in response to the operation of hovering the user's mouse over the sort function option in the pop-up menu bar on the selected cell, determines the target cell corresponding to the sort function option in the spreadsheet according to the selected cell and the sort function option.
[0074] Continuing with the pivot table shown in FIG4(a), when the user hovers the mouse over the selected cell "294" and triggers a pop-up menu bar sorting function, a next-level menu bar 420 pops up, as shown in FIG4(b). Next-level menu bar 420 includes "N Factory" in ascending order by value, "N Factory" in descending order by value, "B City" in ascending order by value, and "B City" in descending order by value. In this embodiment, the target cell corresponding to the sorting function option in the spreadsheet can be determined by receiving the user's mouse hovering operation over each function option in next-level menu bar 420 and combining it with the selected cell.
[0075] Step D2, in response to the operation of hovering the user's mouse over the function option of showing or hiding the category subtotal in the pop-up menu bar triggered by the selected cell, determines the target cell in the spreadsheet corresponding to the function option of showing or hiding the category subtotal based on the selected cell and the function option of showing or hiding the category subtotal.
[0076] Step D3, in response to the operation of hovering the user's mouse over the function option of showing or hiding duplicate labels in the menu bar that triggers the pop-up on the selected cell, determines the target cell in the spreadsheet corresponding to the function option of showing or hiding duplicate labels based on the selected cell and the function option of showing or hiding duplicate labels.
[0077] The detailed process of step D1, step D2 or step D3 can refer to the following steps E1-E3, which will not be described in detail here. In this embodiment, by performing different input operations on different target function options, corresponding methods for determining the target cell are provided, which is conducive to accurately determining the target cell.
[0078] In one embodiment, the spreadsheet is a pivot table, which is a mapping table constructed based on row data of a first dimension and column data of a second dimension. The pivot information of cells in the pivot table includes: element information and hierarchical information in the first dimension, and element information and hierarchical information in the second dimension.
[0079] Optionally, the row data of the first dimension and the column data of the second dimension each correspond to a balanced multitree, and the two balanced multitrees are mapped to each other to form a pivot table. For each balanced multitree, each node of the balanced multitree contains the node's hierarchical information and element information. Therefore, each cell in the pivot table corresponds to the element information and hierarchical information of two balanced multitrees.
[0080] Following the pivot table shown in (a) of Figure 4, it can be seen that the pivot table is constructed based on the row data "sales province-sales city" of the first dimension and the column data "factory-M factory and N factory" of the second dimension. Assuming that the level of city b is m, the level of province X is m-1, the level of factory N is n, and the level of the manufacturer is n-1, then the pivot information of the selected cell "294" includes: the element information "city b" and the level information "m" on the first dimension, and the element information "factory N" and the level information "n" on the second dimension. It should be noted that the specific levels 0, 1, 2, etc. can be set according to the needs of the specific scenario, and the embodiment of the present application does not limit this. Therefore, in this embodiment, the specific levels 0, 1, 2, etc. are not used for example.
[0081] In one embodiment, in response to the input operation, determining the target cell corresponding to the target function option in the electronic form (ie, S104) may be performed as follows: Steps E1-E3:
[0082] Step E1: Determine target element information corresponding to the target function option.
[0083] Continuing with the pivot table shown in Figure 4(b), it can be seen that this pivot table is constructed based on the row data of the first dimension, "Sales Province - Sales City," and the column data of the second dimension, "Manufacturer - Factory M and Factory N." Assume that the level of City B is m, the level of Province X is m-1, the level of Factory N is n, and the level of Manufacturer is n-1. If the target function option is "N Factory" in the next-level menu bar 420, sorted by value in ascending order, then the target element information corresponding to the target function option can be determined to be "N Factory."
[0084] Step E2: Determine the target level information of the selected cell in the dimension corresponding to the target element information.
[0085] Continuing with the example in step E1, it can be determined that the target level information of the selected cell in the dimension corresponding to the target element information is "n".
[0086] In step E3, in the pivot table, a target cell corresponding to the target function option is determined, wherein the target cell has corresponding element information that matches the target element information and hierarchical information that matches the target hierarchical information in the dimension corresponding to the target element information.
[0087] Continuing with the example in step E2, the target cell has its corresponding element information matching the target element information on the dimension corresponding to the target element information, that is, the cell whose element information on the second dimension is "N factory", and its hierarchical information matches the target hierarchical information, that is, the cell whose hierarchical information on the second dimension is "n". As shown in FIG5 , the target cells are exemplarily displayed in a bold outline display manner, including cell "154", cell "294", cell "275", cell "791", cell "448" and cell "662".
[0088] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing may be advantageous.
[0089] The above is a method for configuring an electronic table provided in an embodiment of the present application. Based on the same idea, an embodiment of the present application also provides a device for configuring an electronic table.
[0090] FIG6 is a schematic diagram of the structure of an electronic form configuration device according to an embodiment of the present application. As shown in FIG6 , the electronic form configuration device may include:
[0091] The first receiving module 610 is configured to receive an input operation on a target function option in the electronic form; the target function option is used to configure the electronic form; the input operation includes pre-associating field data with the target function option;
[0092] A determination module 620 is configured to determine a target cell corresponding to a target function option in the electronic form in response to an input operation;
[0093] The display module 630 is configured to display the target cell in a preset display manner.
[0094] In one embodiment, the electronic form is a pivot table; the first receiving module 610 includes:
[0095] A first receiving unit is configured to receive an input operation on a target function option in a configuration bar on the pivot table;
[0096] The target function options in the configuration bar include a field placement area for configuring a pivot table, and the field placement area includes a placement area for at least one of the following field data: row data, column data, value data, and filter field.
[0097] In one embodiment, the electronic form configuration device further comprises:
[0098] A second receiving module is used to receive an operation of associating field data with a field placement area;
[0099] The establishment module is used to establish a mapping relationship between field data and cells according to cells corresponding to the field placement area in the pivot table in response to the operation.
[0100] In one embodiment, the electronic form configuration device further comprises:
[0101] The Fill module is used to fill cells in the PivotTable with field data based on mapping relationships.
[0102] In one embodiment, the electronic form is a pivot table; the first receiving module 610 includes:
[0103] A second receiving unit is configured to receive an input operation on a menu bar associated with a target function option in the pivot table;
[0104] The menu bar includes at least one of the following target function options: a sorting function option, a function option for displaying or hiding category subtotals, and a function option for displaying or hiding duplicate item labels.
[0105] In one embodiment, the first receiving unit is specifically configured to:
[0106] Receive an operation of moving any field in the field data to any field placement area;
[0107] Alternatively, a trigger operation of selecting a target function option in a configuration bar is received.
[0108] In one embodiment, the second receiving unit is specifically configured to:
[0109] Receive the trigger operation of the target function option in the menu bar by selecting it.
[0110] In one embodiment, the determination module 620 includes:
[0111] a first determining unit configured to, in response to an operation of moving any field in the field data to any field placement area, determine a target cell corresponding to the field placement area in the electronic sheet according to the field placement area;
[0112] or,
[0113] The second determining unit is configured to determine a target cell corresponding to the target function option in the electronic sheet according to the selected cell and the triggered target function option in response to a triggering operation on the target function option in a selection manner in the configuration bar.
[0114] In one embodiment, the determination module 620 includes:
[0115] The third determination unit is used to respond to the triggering operation of selecting the target function option in the menu bar that triggers the pop-up on the selected cell, and determine the target cell corresponding to the target function option in the spreadsheet according to the selected cell and the selected target function option.
[0116] In one embodiment, the spreadsheet is a pivot table, which is a mapping table constructed based on row data of a first dimension and column data of a second dimension; the pivot information of cells in the pivot table includes: element information and hierarchical information on the first dimension, and element information and hierarchical information on the second dimension.
[0117] In one embodiment, the determination module 620 includes:
[0118] A target element information determining unit, configured to determine target element information corresponding to a target function option;
[0119] A target level information determination unit, configured to determine the target level information of the selected cell in the dimension corresponding to the target element information;
[0120] The fourth determination unit is used to determine the target cell corresponding to the target function option in the pivot table; wherein, the target cell has, on the dimension corresponding to the target element information, a matching element information between the corresponding element information and the target element information, and a matching hierarchical information between the corresponding element information and the target hierarchical information.
[0121] In one embodiment, the preset display mode includes at least one of the following: highlighting, bolding the outline, and coloring the outline.
[0122] Using the technical solution of the embodiment of the present application, by receiving an input operation for a target function option in a spreadsheet, the target function option is used to configure the spreadsheet. The input operation may include pre-associating field data with the target function option, thereby determining the target cell corresponding to the target function option in the spreadsheet in response to the input operation, and then displaying the target cell in a preset display mode. It can be seen that during the process of configuring the spreadsheet, this technical solution can display the cells corresponding to each function option based on the operation of pre-associating the function option and the field data, making it easier for users to quickly and accurately know the cells affected by each function option in the spreadsheet, reducing the difficulty of understanding the various function options used to configure the spreadsheet, and thus helping to reduce the difficulty of configuring the spreadsheet.
[0123] Those skilled in the art should understand that the electronic table configuration device in Figure 6 can be used to implement the electronic table configuration method described above, and the detailed description should be similar to the description of the method part above. To avoid redundancy, it will not be repeated here.
[0124] Based on the same idea, an embodiment of the present application also provides a configuration device for an electronic form, as shown in Figure 7. The configuration device for an electronic form may vary greatly due to different configurations or performances, and may include one or more processors 701 and a memory 702, and the memory 702 may store one or more applications or data. Among them, the memory 702 may be a temporary storage or a persistent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), each module may include a series of computer-executable instructions in the configuration device for the electronic form. Furthermore, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer-executable instructions in the memory 702 on the configuration device for the electronic form. The configuration device for the electronic form may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, and one or more keyboards 706.
[0125] Specifically, in this embodiment, the electronic form configuration device includes a memory and one or more application programs, wherein the one or more application programs are stored in the memory, and the one or more application programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic form configuration device, and the one or more application programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:
[0126] Receiving an input operation for a target function option in the electronic form; the target function option is used to configure the electronic form; the input operation includes pre-associating field data with the target function option;
[0127] In response to the input operation, determining a target cell corresponding to the target function option in the electronic sheet;
[0128] Display the target cell in the preset display mode.
[0129] Using the technical solution of the embodiment of the present application, by receiving an input operation for a target function option in a spreadsheet, the target function option is used to configure the spreadsheet. The input operation may include pre-associating field data with the target function option, thereby determining the target cell corresponding to the target function option in the spreadsheet in response to the input operation, and then displaying the target cell in a preset display mode. It can be seen that during the process of configuring the spreadsheet, this technical solution can display the cells corresponding to each function option based on the operation of pre-associating the function option and the field data, making it easier for users to quickly and accurately know the cells affected by each function option in the spreadsheet, reducing the difficulty of understanding the various function options used to configure the spreadsheet, and thus helping to reduce the difficulty of configuring the spreadsheet.
[0130] An embodiment of the present application also proposes a storage medium that stores one or more computer programs, which include computer-executable instructions. When the computer-executable instructions are executed by an electronic device that includes multiple applications, the electronic device can perform the various processes of the above-mentioned electronic spreadsheet configuration method embodiment and achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0131] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0132] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0133] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can 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 can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0134] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.
[0135] These computer program instructions may also be stored in a computer-readable memory that can direct 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 a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0136] 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, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0137] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0138] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0139] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0140] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0141] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0142] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0143] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for configuring an electronic form, characterized in that: include: Receiving input operations for target function options in the electronic form; The target function options are used to configure the electronic form; The input operation includes pre-associating field data with the target function option; In response to the input operation, determining a target cell in the electronic form corresponding to the target function option; The target cell is displayed in a preset display mode.
2. The method according to claim 1, characterized in that The electronic form is a pivot table; the receiving of an input operation on a target function option in the electronic form includes: receiving an input operation on a target function option in a configuration bar on the pivot table; The target function options in the configuration bar include a field placement area for configuring the pivot table, and the field placement area includes a placement area for at least one of the following field data: row data, column data, value data, and filter field.
3. The method according to claim 2, characterized in that The method further comprises: receiving an operation to associate the field data with the field placement area; In response to the operation, a mapping relationship between the field data and the cell is established according to the cell in the pivot table corresponding to the field placement area.
4. The method according to claim 3, characterized in that The method further comprises: Based on the mapping relationship, cells in the pivot table are filled with the field data.
5. The method according to claim 1, characterized in that The electronic form is a pivot table; the receiving of an input operation on a target function option in the electronic form includes: Receiving an input operation on a menu bar associated with a target function option in the pivot table; The menu bar includes at least one of the following target function options: a sorting function option, a function option for displaying or hiding category subtotals, and a function option for displaying or hiding duplicate item labels.
6. The method according to claim 2, characterized in that The receiving an input operation on a target function option in a configuration bar on the pivot table includes: receiving an operation of moving any field in the field data to any field placement area; Alternatively, a triggering operation of selecting the target function option in the configuration bar is received.
7. The method according to claim 5, characterized in that The receiving an input operation on a menu bar associated with a target function option in the pivot table includes: A triggering operation of selecting the target function option in the menu bar is received.
8. The method according to claim 6, characterized in that In response to the input operation, determining a target cell in the electronic form corresponding to the target function option includes: In response to an operation of moving any field in the field data to any field placement area, determining a target cell in the electronic form corresponding to the field placement area according to the field placement area; or, In response to a triggering operation of the target function option in a selection manner in the configuration bar, a target cell corresponding to the target function option in the electronic form is determined according to the selected cell and the triggered target function option.
9. The method according to claim 7, characterized in that: In response to the input operation, determining a target cell in the electronic form corresponding to the target function option includes: In response to a triggering operation of selecting the target function option in the menu bar that triggers the pop-up on the selected cell, a target cell corresponding to the target function option in the electronic form is determined according to the selected cell and the selected target function option.
10. The method according to claim 1, characterized in that The electronic spreadsheet is a pivot table, which is a mapping table constructed based on row data of a first dimension and column data of a second dimension; the pivot information of cells in the pivot table includes: element information and hierarchical information on the first dimension, and element information and hierarchical information on the second dimension.
11. The method according to claim 10, characterized in that In response to the input operation, determining a target cell in the electronic form corresponding to the target function option includes: Determine the target element information corresponding to the target function option; Determine the target level information of the selected cell in the dimension corresponding to the target element information; In the pivot table, a target cell corresponding to the target function option is determined; wherein, in the dimension corresponding to the target element information, the element information corresponding to the target cell matches the target element information, and the hierarchical information matches the target hierarchical information.
12. The method according to claim 1, characterized in that The preset display mode includes at least one of the following: highlighting, bolding the outline, and coloring the outline.
13. An electronic table configuration device, characterized in that: include: A first receiving module, used for receiving an input operation on a target function option in an electronic form; The target function options are used to configure the electronic form; The input operation includes pre-associating field data with the target function option; A determination module, configured to determine, in response to the input operation, a target cell in the electronic form corresponding to the target function option; The display module is used to display the target cell in a preset display mode.
14. An electronic table configuration device, characterized in that: include: processor; as well as A memory arranged to store computer executable instructions, wherein the computer executable instructions are configured to be executed by the processor, and the computer executable instructions are executed by the processor to implement the electronic form configuration method according to any one of claims 1 to 12.
15. A storage medium, characterized in that: The storage medium is used to store computer executable instructions, and when the computer executable instructions are executed by a processor, the electronic form configuration method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Data cube-oriented operable graphic perspective table construction method
CN111949658A
Data processing method and device, electronic equipment and storage medium
CN113947065A
Cross perspective table generation method and device, electronic equipment and readable storage medium
CN114238308A
Spreadsheet configuration method and device, equipment and storage medium
CN116341503A
Dynamic Pivot Table Creation and Modification
US20140019842A1
