CN112507673B - Method and device for editing form, computer storage medium and terminal - Google Patents

Method and device for editing form, computer storage medium and terminal Download PDF

Info

Publication number
CN112507673B
CN112507673B CN201910789891.6A CN201910789891A CN112507673B CN 112507673 B CN112507673 B CN 112507673B CN 201910789891 A CN201910789891 A CN 201910789891A CN 112507673 B CN112507673 B CN 112507673B
Authority
CN
China
Prior art keywords
editing
cells
data
cell
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910789891.6A
Other languages
Chinese (zh)
Other versions
CN112507673A (en
Inventor
何文甲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201910789891.6A priority Critical patent/CN112507673B/en
Publication of CN112507673A publication Critical patent/CN112507673A/en
Application granted granted Critical
Publication of CN112507673B publication Critical patent/CN112507673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method, device, computer storage medium and terminal for editing a table, comprising: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface; loading the received first editing parameters in the table to edit the table; wherein the editing includes adding columns of data and/or adding rows of data. According to the embodiment of the invention, the parameter receiving of the edited form is realized based on the interactive interface, the editing operation of the form is simplified, and the editing efficiency and the operation experience of the form are improved.

Description

Method and device for editing form, computer storage medium and terminal
Technical Field
The present invention relates to, but is not limited to, office application technologies, and in particular, to a method, an apparatus, a computer storage medium, and a terminal for editing a table.
Background
Merging, splitting, inserting cells, adjusting cell row spacing or column width, etc., are editing operations that are often performed when electronic forms are applied to data recording.
In the related art, editing and adjusting the electronic form is mainly performed manually; for convenience of explanation of the edit adjustment process, examples are given below by tables 1 to 4; assume that table 1 is a memo record table for initially memoing an item execution, including: header, title, and digital data; wherein, the title of the initial setting of the project includes: project content, participating members, project sites, etc.; along with the promotion of the project, the memo content of the project is adjusted; table 2 is an adjusted item memo table, and as shown in table 2, the item contents are subdivided into: project base content, project core content, and project extension content. Related arts
Figure BDA0002179231840000011
TABLE 1
Figure BDA0002179231840000012
TABLE 2
Table 2 can be obtained by expanding table 1 by inserting data columns or splitting cells. In table 3, as shown in table 3, after the project content is split into the project basic content, the project core content and the project expansion content by inserting data columns in table 1, all rows behind the header and the title will have the above editing operation of inserting data columns added with data columns, so that the user needs to select the inserted useless data columns row by row to perform merging cell processing in order to ensure the clear and clean table content. Table 4 is a schematic table for editing and adjusting table 1 by splitting cells, as described in table 4, after the operation of splitting cells is performed on the content of the item, the user needs to adjust the digital data portion corresponding to the content of the item row by splitting cells, so that the user needs to manually adjust the column widths of all the data columns in the list for recording.
Figure BDA0002179231840000021
TABLE 3 Table 3
Figure BDA0002179231840000022
TABLE 4 Table 4
In summary, the related art edits and adjusts the electronic form, which has complicated operation and low efficiency, and affects the document editing experience of the user.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method, a device, a computer storage medium and a terminal for editing a table, which can simplify the editing operation of the table and promote the editing efficiency and the operation experience of the table.
The embodiment of the invention provides a method for editing a table, which comprises the following steps:
receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface;
loading the received first editing parameters in the table to edit the table;
wherein the editing includes adding columns of data and/or adding rows of data.
In an exemplary embodiment, the receiving, through a preset interactive interface, a first editing parameter for editing a first cell selected in a table includes:
when the first cell for editing is determined to be selected, popping up a menu bar for receiving the first editing parameter through a preset trigger instruction;
and receiving the first editing parameter through the popup menu bar.
In an exemplary embodiment, the method further comprises:
when the first editing parameters comprise editing parameters of the added data column, receiving second editing parameters through the interactive interface; loading the received second editing parameters in a table;
when the first editing parameters comprise editing parameters of the added data line, receiving third editing parameters through the interactive interface: loading the received third editing parameters in a table;
wherein the second editing parameter is for: merging one or more cells of the data column where the first cell is located with newly added cells when the data column is added in the data row where each cell is located; the third editing parameter is used for: and merging one or more cells of the data row where the first cell is located with the newly added cells of the data row where each cell is located.
In an exemplary embodiment, the method further comprises:
when the first editing parameters comprise editing parameters for adding data columns, editing one or more second cells of the data columns where the first cells are located, and editing each second cell with the newly added cell in the data row where the second cell is located according to a preset first adjustment strategy;
when the first editing parameters comprise editing parameters of the data line, editing one or more third cells of the data line where the first cells are located, adding new cells of the data line to the data column where each third cell is located according to a preset second adjustment strategy, and selecting the corresponding third cell. In an exemplary embodiment, the adjusting according to the preset first adjustment policy includes: the first cells are independent cells or cells which are only combined in a single row, the second cells are cells which are only combined in a row, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned; the first cells are independent cells or cells which are only combined in a single row, the second cells are independent cells, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned;
the editing according to the preset second adjustment strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single column, the third cells are cells which are only combined in a column, and each third cell and the cells which are newly added when the data column is added with the third cells are subjected to cell combining treatment; the first cells are independent cells or cells which are merged only in a single row, the third cells are independent cells, and each third cell is merged with the newly added cells when the data is added in the data row where the third cell is located.
In an exemplary embodiment, when the first editing parameter includes an editing parameter of an added data column, the first editing parameter includes one or any combination of the following: the added position of the data column, the column number of the added data column, the column width of the added data column and the column content of the added data column;
when the first editing parameter includes editing parameters of adding data lines, the first editing parameter includes one or any combination of the following: the position of the data line increase, the line number of the data line increase, the line spacing of the data line increase, and the line content of the data line increase.
In an exemplary embodiment, after loading the received first editing parameter in the table, the method further includes:
and distinguishing and displaying the edited cells.
On the other hand, the embodiment of the invention also provides a device for editing the table, which comprises: an interaction unit and a loading unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the interaction unit is used for: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface;
the loading unit is used for: loading the received first editing parameters in the table to edit the table;
wherein the editing includes adding columns of data and/or adding rows of data.
In yet another aspect, an embodiment of the present invention further provides a computer storage medium having stored therein computer-executable instructions for performing the method of editing a table described above.
In yet another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the processor is configured to execute the program instructions in the memory;
the program instructions read the method of executing the edit form described above at the processor.
Compared with the related art, the technical scheme of the application comprises the following steps: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface; loading the received first editing parameters in the table to edit the table; wherein the editing includes adding columns of data and/or adding rows of data. According to the embodiment of the invention, the parameter receiving of the edited form is realized based on the interactive interface, the editing operation of the form is simplified, and the editing efficiency and the operation experience of the form are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
FIG. 1 is a flow chart of a method for editing a table according to an embodiment of the present invention;
fig. 2 is a block diagram of an apparatus for editing a table according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
The steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
FIG. 1 is a flowchart of a method for editing a table according to an embodiment of the present invention, as shown in FIG. 1, including:
step 101, receiving first editing parameters for editing a first cell selected in a table through a preset interactive interface;
wherein the editing includes adding columns of data and/or adding rows of data.
In an exemplary embodiment, receiving, through a preset interactive interface, a first editing parameter for editing a first cell selected in a table, including:
when the first cell for editing is determined to be selected, popping up a menu bar for receiving the first editing parameter through a preset trigger instruction;
and receiving the first editing parameter through the popup menu bar.
102, loading the received first editing parameters in a table to edit the table;
it should be noted that, the addition of the data row or the data column in the embodiment of the present invention may be performed by an inserting manner. The method for loading the editing parameters in the table comprises the following steps: and after the editing parameters are accessed to the application through an application programming interface set in the application for editing the table, loading the editing parameters through the application.
In an exemplary embodiment, the method further comprises:
when the first editing parameters comprise editing parameters of the added data column, receiving second editing parameters through the interactive interface; loading the received second editing parameters in a table;
when the first editing parameters comprise editing parameters of the added data line, receiving third editing parameters through the interactive interface: loading the received third editing parameters in a table;
wherein the second editing parameter is for: merging one or more cells of the data column where the first cell is located with newly added cells when the data column is added in the data row where each cell is located; the third editing parameter is used for: and merging one or more cells of the data row where the first cell is located with the newly added cells of the data row where each cell is located. It should be noted that, the second adjustment parameters in the embodiment of the present invention may include: specific line numbers for cell merging are carried out; the third adjustment parameter may include: specific columns of cell combinations are performed.
In an exemplary embodiment, the method further comprises:
when the first editing parameters comprise editing parameters for adding data columns, editing one or more second cells of the data columns where the first cells are located, and editing each second cell with the newly added cell in the data row where the second cell is located according to a preset first adjustment strategy;
in an exemplary embodiment, the method further comprises:
when the first editing parameters comprise editing parameters of the data line, editing one or more third cells of the data line where the first cells are located, adding new cells of the data line to the data column where each third cell is located according to a preset second adjustment strategy, and selecting the corresponding third cell. It should be noted that, in the embodiment of the present invention, the added data row and data column may be automatically adjusted by referring to the first adjustment policy and the second adjustment policy; the embodiment of the invention can also realize the automatic adjustment of the added data row and the added data column by setting a default option in the interactive interface; the first adjustment strategy and the second adjustment strategy comprise default adjustment strategies, and the embodiment of the invention can also receive adjustment parameters for editing other data rows except the selected cells or other data columns except the selected cells through the interactive interface. Editing of other rows of data other than the selected cell, or other columns of data other than the selected cell, may include adjustment of the merge cell.
In an exemplary embodiment, the first adjustment policy may set an adjustment made to a newly added cell when a data column is added with reference to the related art when the data column is added. The second adjustment policy may refer to the related art to add a data line, and set an adjustment performed on a newly added cell when adding the data line.
In an exemplary embodiment, the adjusting according to the preset first adjustment policy includes: the first cells are independent cells or cells which are only combined in a single row, the second cells are cells which are only combined in a row, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned; the first cells are independent cells or cells which are only combined in a single row, the second cells are independent cells, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned;
table 5 is an example list to be edited, see table 5, in which table 5 includes a first cell and a second cell, where the first cell is an independent cell, and the second cell includes a second cell 1 that is only combined in a row and an independent second cell 2; assuming that after a first cell is selected, a data column is inserted into the left side of the first cell according to the method of the embodiment of the present invention, the adjusting according to the preset first adjustment policy includes: merging the second cell with the newly added cell when the data column is added in the data row where the second cell is positioned; table 6 is a data list after editing based on the first adjustment policy; in table 6: the second cell 3 is a cell obtained by combining the second cell 1 in table 5 with a cell newly added when a data column is added; the second cell 4 is a cell obtained by combining the second cell 2 in the table 5 with a cell newly added when the data column is added; further, since the title also belongs to the merging cell, the merging process is performed in accordance with the editing mode of the second cell.
Figure BDA0002179231840000081
TABLE 5
Figure BDA0002179231840000091
TABLE 6
Figure BDA0002179231840000092
TABLE 7
Figure BDA0002179231840000093
TABLE 8
Table 7 is an example list to be edited, see table 7, where table 7 includes a first cell and a second cell, where the first cell is a merged cell; the second unit cell includes a second unit cell 1 which is only combined in rows and an independent second unit cell 2, and when the first unit cell is selected and a data column is inserted into the left side of the first unit cell according to the method of the embodiment of the invention, the adjustment according to the preset first adjustment strategy includes: merging the second cell with the newly added cell when the data column is added in the data row where the second cell is positioned; table 8 is a data list after editing based on the first adjustment policy; in table 8: the second cell 7 is a cell obtained by combining the second cell 5 in the table 7 with a cell newly added when the data column is added; the second cell 8 is a cell obtained by combining the second cell 6 in the table 7 with a cell newly added when the data column is added; further, since the title also belongs to the merging cell, the merging process is performed in accordance with the editing mode of the second cell.
The editing according to the preset second adjustment strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single column, the third cells are cells which are only combined in a column, and each third cell and the cells which are newly added when the data column is added with the third cells are subjected to cell combining treatment; the first cells are independent cells or cells which are merged only in a single row, the third cells are independent cells, and each third cell is merged with the newly added cells when the data is added in the data row where the third cell is located. It should be noted that, in the embodiment of the present invention, the independent cell refers to a cell that is not subjected to the merging cell processing; furthermore, the user can simultaneously edit two or even a plurality of first cells by simple superimposition based on the process of selecting one first cell. When the embodiment of the invention is edited to increase the data column, the first cell comprises: when the cells are combined by columns or rows, the corresponding first adjustment strategy can be set for the adjustment which should be made by the added cells when the data columns are added when editing is performed on the cells based on the cells. When the first cell comprises cells combined by rows or cells combined by columns and rows, the corresponding second adjustment strategy can be set for adjustment of the cells added by the data adding line when editing the cells.
It should be noted that, only a single row of merged cells includes: the combined cells are obtained by combining cells in the same row; only single column consolidated cells include: the combined cells are obtained by combining cells in the same column;
in an exemplary embodiment, when the first editing parameter includes an editing parameter of an added data column, the first editing parameter includes one or any combination of the following: the added position of the data column, the column number of the added data column, the column width of the added data column and the column content of the added data column;
in an exemplary embodiment, when the first editing parameter includes an editing parameter that increases a data line, the first editing parameter includes one or any combination of the following: the position of the data line increase, the line number of the data line increase, the line spacing of the data line increase, and the line content of the data line increase.
It should be noted that the row content and the column content may include title content; the row spacing of the added data row can be automatically determined by referring to the mode of inserting the data row in the related technology, and can also be input through an input box or a numerical selection column; when the current line space is input through the input box or the numerical selection field, the current line space can be displayed in the input box or the numerical selection field for reference adjustment of a user. Column width of the added data column: the method can be automatically determined by referring to the mode of inserting the data columns in the related technology, and can also be input through an input box or a numerical selection column; when the current column width is input through the input box or the numerical selection column, the current column width can be displayed in the input box or the numerical selection column for reference adjustment by a user.
In an exemplary embodiment, after loading the received first editing parameter in the table, the method further includes:
and distinguishing and displaying the edited cells.
In one exemplary embodiment, distinguishing the edited cell includes: distinguishing the selected cells, loading the first editing parameters on the added data rows and/or columns of the table, and configuring different display formats to display the distinguished different cells; the different display formats of the configuration include, but are not limited to: different display brightness, colors, etc. are configured. Compared with the related art, the technical scheme of the application comprises the following steps: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface; loading the received first editing parameters in the table to edit the table; wherein the editing includes adding columns of data and/or adding rows of data. According to the embodiment of the invention, the parameter receiving of the edited form is realized based on the interactive interface, the editing operation of the form is simplified, and the editing efficiency and the operation experience of the form are improved.
Fig. 2 is a block diagram of an apparatus for editing a table according to an embodiment of the present invention, as shown in fig. 2, including: an interaction unit and a loading unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the interaction unit is used for: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface;
in an exemplary embodiment, the interaction unit is specifically configured to:
when the first cell for editing is determined to be selected, popping up a menu bar for receiving the first editing parameter through a preset trigger instruction;
and receiving the first editing parameter through the popup menu bar.
The loading unit is used for: loading the received first editing parameters in the table to edit the table;
wherein the editing includes adding columns of data and/or adding rows of data.
It should be noted that, the addition of the data row or the data column in the embodiment of the present invention may be performed by an inserting manner. The method for loading the editing parameters in the table comprises the following steps: and after the editing parameters are accessed to the application through an application programming interface set in the application for editing the table, loading the editing parameters through the application.
In one exemplary embodiment of the present invention,
the interaction unit is further configured to: receiving a second editing parameter;
wherein the second editing parameter is for: merging one or more cells of the data column where the first cell is located with newly added cells when the data column is added in the data row where each cell is located; when the first editing parameter comprises the editing parameter of the added data column, receiving the editing parameter through the interactive interface: a second adjustment parameter for merging one or more cells of the data column in which the first cell is located with newly added cells when the data column is added to the data row in which each of the cells is located;
the loading unit is further configured to: loading the received second editing parameters in a table;
the interaction unit is further configured to: receiving a third editing parameter through the interactive interface;
the loading unit is further configured to: and loading the received third editing parameters in the table.
The third editing parameter is used for: and merging one or more cells of the data row where the first cell is located with the newly added cells of the data row where each cell is located.
It should be noted that, the second adjustment parameters in the embodiment of the present invention may include: specific line numbers for cell merging are carried out; the third adjustment parameter may include: specific columns of cell combinations are performed.
In an exemplary embodiment, the loading unit is further configured to:
when the first editing parameters comprise editing parameters for adding data columns, editing one or more second cells of the data columns where the first cells are located, and editing each second cell with the newly added cell in the data row where the second cell is located according to a preset first adjustment strategy;
when the first editing parameters comprise editing parameters of the data line, editing one or more third cells of the data line where the first cells are located, adding new cells of the data line to the data column where each third cell is located according to a preset second adjustment strategy, and selecting the corresponding third cell.
It should be noted that, in the embodiment of the present invention, the added data row and data column may be automatically adjusted by referring to the first adjustment policy and the second adjustment policy; the embodiment of the invention can also realize the automatic adjustment of the added data row and the added data column by setting a default option in the interactive interface; the first adjustment strategy and the second adjustment strategy comprise default adjustment strategies, and the embodiment of the invention can also receive adjustment parameters for editing other data rows except the selected cells or other data columns except the selected cells through the interactive interface. Editing of other rows of data other than the selected cell, or other columns of data other than the selected cell, may include adjustment of the merge cell.
In an exemplary embodiment, the first adjustment policy may set an adjustment made to a newly added cell when a data column is added with reference to the related art when the data column is added. The second adjustment policy may refer to the related art to add a data line, and set an adjustment performed on a newly added cell when adding the data line.
In an exemplary embodiment, the loading unit is configured to perform adjustment according to a preset first adjustment policy, including:
the adjusting according to the preset first adjusting strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single row, the second cells are cells which are only combined in a row, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned; the first cells are independent cells or cells which are only combined in a single row, the second cells are independent cells, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned; in an exemplary embodiment, the editing by the loading unit according to a preset second adjustment policy includes: the editing according to the preset second adjustment strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single column, the third cells are cells which are only combined in a column, and each third cell and the cells which are newly added when the data column is added with the third cells are subjected to cell combining treatment; the first cells are independent cells or cells which are merged only in a single row, the third cells are independent cells, and each third cell is merged with the newly added cells when the data is added in the data row where the third cell is located. It should be noted that, in the embodiment of the present invention, the independent cell refers to a cell that is not subjected to the merging cell processing; furthermore, the user can simultaneously edit two or even a plurality of first cells by simple superimposition based on the process of selecting one first cell. When the embodiment of the invention is edited to increase the data column, the first cell comprises: when the cells are combined by columns or rows, the corresponding first adjustment strategy can be set for the adjustment which should be made by the added cells when the data columns are added when editing is performed on the cells based on the cells. The embodiment of the invention is edited to increase the data line, when the first cell comprises: when the cells are combined by rows or columns, the corresponding second adjustment strategy can be set for the adjustment which should be made for the added cells when the data line is added when editing is performed on the cells based on the cells.
In an exemplary embodiment, when the first editing parameter includes an editing parameter of an added data column, the first editing parameter includes one or any combination of the following: the added position of the data column, the column number of the added data column, the column width of the added data column and the column content of the added data column;
in an exemplary embodiment, when the first editing parameter includes an editing parameter that increases a data line, the first editing parameter includes one or any combination of the following: the position of the data line increase, the line number of the data line increase, the line spacing of the data line increase, and the line content of the data line increase.
It should be noted that the row content and the column content may include title content; the row spacing of the added data row can be automatically determined by referring to the mode of inserting the data row in the related technology, and can also be input through an input box or a numerical selection column; when the current line space is input through the input box or the numerical selection field, the current line space can be displayed in the input box or the numerical selection field for reference adjustment of a user. Column width of the added data column: the method can be automatically determined by referring to the mode of inserting the data columns in the related technology, and can also be input through an input box or a numerical selection column; when the current column width is input through the input box or the numerical selection column, the current column width can be displayed in the input box or the numerical selection column for reference adjustment by a user.
In an exemplary embodiment, the apparatus further comprises a display unit for:
and distinguishing and displaying the edited cells.
Compared with the related art, the technical scheme of the application comprises the following steps: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface; loading the received first editing parameters in the table to edit the table; wherein the editing includes adding columns of data and/or adding rows of data. According to the embodiment of the invention, the parameter receiving of the edited form is realized based on the interactive interface, the editing operation of the form is simplified, and the editing efficiency and the operation experience of the form are improved.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions for executing the method for editing the table.
The embodiment of the invention also provides a terminal, which comprises: a memory and a processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the processor is configured to execute the program instructions in the memory;
the program instructions read the method of executing the edit form described above at the processor.
"one of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. ".

Claims (7)

1. A method of editing a form, comprising:
receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface;
loading the received first editing parameters in the table to edit the table;
wherein the editing includes: adding columns of data and/or adding rows of data;
when the first editing parameter includes an editing parameter of an added data column, the first editing parameter includes one or any combination of the following: the added position of the data column, the column number of the added data column, the column width of the added data column and the column content of the added data column;
when the first editing parameter includes editing parameters of adding data lines, the first editing parameter includes one or any combination of the following: the position of the data line is increased, the line number of the data line is increased, the line spacing of the data line is increased, and the line content of the data line is increased;
the receiving, through a preset interactive interface, a first editing parameter for editing a first cell selected in a table includes:
when the first cell for editing is determined to be selected, popping up a menu bar for receiving the first editing parameter through a preset trigger instruction;
receiving the first editing parameter through the popped menu bar;
the method further comprises the steps of:
when the first editing parameters comprise editing parameters of the added data column, receiving second editing parameters through the interactive interface; loading the received second editing parameters in a table;
when the first editing parameters comprise editing parameters of the added data line, receiving third editing parameters through the interactive interface: loading the received third editing parameters in a table;
wherein the second editing parameter is for: merging one or more cells of the data column where the first cell is located with newly added cells when the data column is added in the data row where each cell is located; the third editing parameter is used for: and merging one or more cells of the data row where the first cell is located with the newly added cells of the data row where each cell is located.
2. The method according to claim 1, wherein the method further comprises:
when the first editing parameters comprise editing parameters for adding data columns, editing one or more second cells of the data columns where the first cells are located, and editing each second cell with the newly added cell in the data row where the second cell is located according to a preset first adjustment strategy;
when the first editing parameters comprise editing parameters of the data line, editing one or more third cells of the data line where the first cells are located, adding new cells of the data line to the data column where each third cell is located according to a preset second adjustment strategy, and selecting the corresponding third cell.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the adjusting according to the preset first adjusting strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single row, the second cells are cells which are only combined in a row, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned; the first cells are independent cells or cells which are only combined in a single row, the second cells are independent cells, and each second cell is combined with the newly added cells when the data columns are added in the data row where the second cell is positioned;
the editing according to the preset second adjustment strategy comprises the following steps: the first cells are independent cells or cells which are only combined in a single column, the third cells are cells which are only combined in a column, and each third cell and the cells which are newly added when the data column is added with the third cells are subjected to cell combining treatment; the first cells are independent cells or cells which are merged only in a single row, the third cells are independent cells, and each third cell is merged with the newly added cells when the data is added in the data row where the third cell is located.
4. A method according to any one of claims 1 to 3, wherein the loading of the received first editing parameter into the table is followed by:
and distinguishing and displaying the edited cells.
5. An apparatus for editing a form, applied to the method for editing a form as claimed in any one of claims 1 to 4, comprising: an interaction unit and a loading unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the interaction unit is used for: receiving a first editing parameter for editing a first cell selected in a table through a preset interactive interface;
the loading unit is used for: loading the received first editing parameters in the table to edit the table;
wherein the editing includes adding columns of data and/or adding rows of data.
6. A computer storage medium having stored therein computer executable instructions for performing the method of editing a table of any one of claims 1 to 4.
7. A terminal, comprising: a memory and a processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the processor is configured to execute the program instructions in the memory;
program instructions for executing the method of editing a table according to any one of claims 1 to 4.
CN201910789891.6A 2019-08-26 2019-08-26 Method and device for editing form, computer storage medium and terminal Active CN112507673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910789891.6A CN112507673B (en) 2019-08-26 2019-08-26 Method and device for editing form, computer storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910789891.6A CN112507673B (en) 2019-08-26 2019-08-26 Method and device for editing form, computer storage medium and terminal

Publications (2)

Publication Number Publication Date
CN112507673A CN112507673A (en) 2021-03-16
CN112507673B true CN112507673B (en) 2023-06-27

Family

ID=74923839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910789891.6A Active CN112507673B (en) 2019-08-26 2019-08-26 Method and device for editing form, computer storage medium and terminal

Country Status (1)

Country Link
CN (1) CN112507673B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2435530A1 (en) * 2002-11-26 2004-05-26 Sonoco Development, Inc. Method and apparatus for displaying data in a web page
EP1909192B1 (en) * 2006-10-03 2010-03-03 Research In Motion Limited System and method for freezing columns and rows in a UI table
CN102103584A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for editing table by utilizing computer
CN106610774A (en) * 2015-10-23 2017-05-03 北京国双科技有限公司 Webpage table editing method and device
CN110008455A (en) * 2019-03-13 2019-07-12 平安科技(深圳)有限公司 Table edit method, apparatus, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2435530A1 (en) * 2002-11-26 2004-05-26 Sonoco Development, Inc. Method and apparatus for displaying data in a web page
EP1909192B1 (en) * 2006-10-03 2010-03-03 Research In Motion Limited System and method for freezing columns and rows in a UI table
CN102103584A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for editing table by utilizing computer
CN106610774A (en) * 2015-10-23 2017-05-03 北京国双科技有限公司 Webpage table editing method and device
CN110008455A (en) * 2019-03-13 2019-07-12 平安科技(深圳)有限公司 Table edit method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112507673A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN101253494B (en) Method for establishing and applying customizable electronic table styles
CN101896880B (en) Method for providing graphical user interface (GUI) using divided screen and multimedia device using the same
US20050234858A1 (en) Recording and reproducing apparatus, reproducing apparatus, recording and reproducing method, reproducing method, program and recording medium
CN105100869A (en) Bullet curtain displaying method and device
US20140157166A1 (en) Method and apparatus for content processing
US20140149926A1 (en) Apparatus, method and computer readable recording medium for arranging a plurality of items automatically in a canvas
CN105635790A (en) Video display method and apparatus
CN112507673B (en) Method and device for editing form, computer storage medium and terminal
CN113518187A (en) Video editing method and device
EP4351150A1 (en) Video processing method and apparatus, and device and storage medium
CN108196803A (en) A kind of multi-screen display method and equipment
US20150371680A1 (en) Content play device having content forming function and method for forming content thereof
US20220270647A1 (en) Method and device for editing video
CN111476005B (en) Method, system, terminal and storage medium for annotating electronic forms
CN112784538A (en) Document page editing method and device
CN112115690A (en) Method, system, storage medium and terminal for selecting area in mobile terminal table
CN112052644A (en) Document editing method and device, computer storage medium and terminal
CN112783666A (en) Clipboard content editing method and device in electronic document and storage medium
EP4340372A1 (en) Video processing method, apparatus, and device, and storage medium
CN103198101A (en) Method and equipment for scanning media file
CN113873312B (en) Video editing method and device
CN113556576B (en) Video generation method and device
US8214412B2 (en) Playlist editing apparatus and playlist editing method
US8677239B2 (en) Electronic album and method for replaying electronic album
CN113505285A (en) Mixed display method of enterprise information and related products

Legal Events

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