CN-121997903-A - Table operation method and apparatus
Abstract
The application discloses a form operation method and device, and belongs to the technical field of communication. The method comprises the steps of receiving first input of cell identifiers in an operation area of a to-be-processed table by a user under the condition that the to-be-processed table and the operation area of the to-be-processed table are displayed, wherein the to-be-processed table comprises N rows and M columns of cells, N, M are positive integers, the cell identifiers are used for indicating to-be-processed cells in the to-be-processed table, and responding to the first input, executing target operation on the to-be-processed cells, wherein the target operation comprises at least one of display operation and target editing operation.
Inventors
- Shen Sujin
Assignees
- 维沃移动通信有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260107
Claims (10)
- 1. A method of table manipulation, comprising: under the condition that a to-be-processed table and an operation area of the to-be-processed table are displayed, receiving first input of cell identifiers in the operation area of the to-be-processed table by a user, wherein the to-be-processed table comprises N rows and M columns of cells, N, M are positive integers, and the cell identifiers are used for indicating to-be-processed cells in the to-be-processed table; and responding to the first input, and executing target operation on the to-be-processed cell, wherein the target operation comprises at least one of display operation and target editing operation.
- 2. The method of claim 1, wherein the operation area includes at least one edit control, each edit control for performing an edit operation; Before the receiving a first input of a cell identification in an operation area of the to-be-processed form by a user, the method further comprises: receiving a second input of a user to a target editing control in the at least one editing control; The target editing operation is performed in response to the second input.
- 3. The method of claim 1, wherein prior to said performing a target operation on the pending cell, the method further comprises: in the case where the cell identification is displayed in the operation region, Receiving a third input of an operation identifier in the operation area by a user, wherein the operation identifier is used for indicating the target editing operation; The executing the target operation on the to-be-processed cell includes: and responding to the third input, and executing the target editing operation on the to-be-processed cell.
- 4. The method of claim 1, wherein prior to receiving the first input by the user of the cell identification in the operational area of the form to be processed, the method further comprises: In the case of displaying the to-be-processed form, determining whether the to-be-processed form satisfies a first condition, the first condition including at least one of: The number N of the rows of the table to be processed is larger than or equal to a number threshold value, and the number M of the columns of the table to be processed is larger than or equal to a number threshold value; And displaying the operation area under the condition that the to-be-processed table meets a first condition.
- 5. The method of claim 1, wherein prior to receiving the first input by the user of the cell identification in the operational area of the form to be processed, the method further comprises: Receiving a fourth input of a user under the condition of displaying the to-be-processed form; displaying the operation region in response to the fourth input; Receiving a fifth input of a user to the operation area; And responding to the fifth input, and adjusting the display parameters of the operation area according to the input parameters of the fifth input.
- 6. A form operation device is characterized by comprising a receiving module and an executing module; the receiving module is configured to receive, when a to-be-processed table and an operation area of the to-be-processed table are displayed, a first input of a user to a cell identifier in the operation area of the to-be-processed table, where the to-be-processed table includes N rows and M columns of cells, N, M are both positive integers, and the cell identifier is used to indicate to-be-processed cells in the to-be-processed table; The execution module is used for responding to the first input received by the receiving module and executing target operation on the to-be-processed cell, wherein the target operation comprises at least one of display operation and target editing operation.
- 7. The apparatus of claim 6, wherein the operation region includes at least one edit control, each edit control for performing an edit operation; The receiving module is further configured to receive a second input of a target editing control in the at least one editing control by a user before receiving a first input of a cell identifier in an operation area of the to-be-processed form by the user; the execution module is further configured to execute the target editing operation in response to the second input received by the receiving module.
- 8. The apparatus of claim 6, wherein the receiving module is further configured to receive, prior to the performing module performing a target operation on the to-be-processed cell, a third input by a user of an operation identifier in the operation area, where the operation identifier is used to indicate the target editing operation, if the cell identifier is displayed in the operation area; The execution module is specifically configured to execute the target editing operation on the to-be-processed unit cell in response to the third input received by the receiving module.
- 9. The apparatus of claim 6, further comprising a determination module and a display module; The determining module is used for determining whether the to-be-processed table meets a first condition or not under the condition of displaying the to-be-processed table before receiving a first input of a user on cell identification in an operation area of the to-be-processed table, wherein the first condition comprises at least one of the following steps that the number N of lines of the to-be-processed table is larger than or equal to a line number threshold value, the number M of lines of the to-be-processed table is larger than or equal to a line number threshold value, and The display module is used for displaying the operation area under the condition that the to-be-processed table meets a first condition.
- 10. The apparatus of claim 6, further comprising a display module; The receiving module is further configured to receive, before receiving a first input of a user to a cell identifier in an operation area of the to-be-processed form, a fourth input of a user to a form control under the condition that the to-be-processed form is displayed; the display module is used for responding to the fourth input and displaying the operation area; The receiving module is further used for receiving a fifth input of a user to the operation area; The execution module is further configured to, in response to the fifth input received by the receiving module, adjust a display parameter of the operation area according to an input parameter of the fifth input.
Description
Table operation method and apparatus Technical Field The application belongs to the technical field of communication, and particularly relates to a form operation method and device. Background With the development of communication technology, mobile electronic devices such as smart phones and tablets have been deeply integrated into office scenes, and users can quickly browse or edit forms in business trips or leisure gaps through form engines built in Operating Systems (OS) of the electronic devices, so as to meet mobile office requirements. However, the screen size of the mobile electronic device is often smaller, so that the number of displayable cells is smaller and the display range of the cells is smaller, especially when the number of rows and columns of the table is larger, the user needs to perform operations such as zooming and sliding for many times when positioning the target cells, the steps are complicated and the user is easy to touch by mistake, so that the efficiency of the electronic device to operate the table is lower. Disclosure of Invention The embodiment of the application aims to provide a table operation method and a table operation device, which can improve the efficiency of an electronic device for operating a table. In a first aspect, an embodiment of the present application provides a method for operating a table, where the method includes receiving a first input of a user for a cell identifier in an operation area of a table to be processed, where the table to be processed includes N rows and M columns of cells, and N, M are positive integers, where the cell identifier is used to indicate a cell to be processed in the table to be processed, and executing, in response to the first input, a target operation on the cell to be processed, where the target operation includes at least one of a display operation and a target editing operation. In a second aspect, an embodiment of the present application provides a table operation device, where the table operation device includes a receiving module and an executing module. The receiving module is configured to receive, when a to-be-processed table and an operation area of the to-be-processed table are displayed, a first input of a user to a cell identifier in the operation area of the to-be-processed table, where the to-be-processed table includes N rows and M columns of cells, N, M are both positive integers, and the cell identifier is used to indicate to-be-processed cells in the to-be-processed table. The execution module is used for responding to the first input received by the receiving module and executing target operation on the unit to be processed, wherein the target operation comprises at least one of display operation and target editing operation. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect. In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect. In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect. In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect. In the embodiment of the application, the electronic equipment can receive the first input of the cell identification in the operation area of the to-be-processed table by the user under the condition of displaying the to-be-processed table and the operation area of the to-be-processed table, wherein the to-be-processed table comprises N rows and M columns of cells, the cell identification is used for indicating the to-be-processed cells in the to-be-processed table, and then, in response to the first input, the target operation is executed on the to-be-processed cells, and comprises at least one of a display operation and a target editing operation. In the scheme, the electronic equipment can receive the input of the user to the cell identification, and the cell identification indicates the cell to be processed in the form to be processed, so that the electronic equipment can directly display the cell to be processed through the cell identification and directly execute target editing operation on the cell to be processed, complex operations such as multiple times of zooming and sliding can be om