CN112328157A - Method and device for selecting cell, electronic equipment and readable storage medium - Google Patents

Method and device for selecting cell, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112328157A
CN112328157A CN201910716214.1A CN201910716214A CN112328157A CN 112328157 A CN112328157 A CN 112328157A CN 201910716214 A CN201910716214 A CN 201910716214A CN 112328157 A CN112328157 A CN 112328157A
Authority
CN
China
Prior art keywords
cell
document
frame
area
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910716214.1A
Other languages
Chinese (zh)
Inventor
朱健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 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 CN201910716214.1A priority Critical patent/CN112328157A/en
Publication of CN112328157A publication Critical patent/CN112328157A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and a device for selecting a cell, electronic equipment and a readable storage medium. The method comprises the following steps: when a selection instruction for a cell in a document is received, acquiring a frame selection instruction triggered by touch operation of a user; generating a frame selection area according to the frame selection instruction; and determining the cells with the overlapped areas with the frame selection areas in the document as the selected cells. Therefore, the multiple cells which the user wants to select can be accurately and quickly determined, and the user experience is improved.

Description

Method and device for selecting cell, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of document processing technologies, and in particular, to a method and an apparatus for selecting a cell, an electronic device, and a readable storage medium.
Background
In work and study, a user often needs to select a plurality of cells in a document and then perform batch operation on the selected cells. For example, highlighting is set for the selected plurality of cells.
The inventor in the process of implementing the invention finds that when a user wants to select a plurality of cells in a document displayed on a touch screen device, the user often selects a row and column adjustment line between the cells. Therefore, the user needs to spend more time and energy to select the plurality of cells which the user wants to select, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, an electronic device and a readable storage medium for selecting a cell, so that a plurality of cells which a user wants to select can be accurately and quickly determined, and the user experience is improved. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for selecting a cell, where the method may include:
when a selection instruction for a cell in a document is received, acquiring a frame selection instruction triggered by touch operation of a user;
generating a frame selection area according to the frame selection instruction;
and determining the cells with the overlapped areas with the frame selection areas in the document as the selected cells.
Optionally, in this embodiment of the present invention, the framing instruction may carry: and the position information of the starting point and the position information of the ending point corresponding to the touch operation.
Optionally, in this embodiment of the present invention, the step of determining a cell in the document, which has an overlap area with the frame selection area, as the selected cell may include:
determining first position information of each cell displayed in a document;
determining second position information of a frame selection area displayed in the document;
determining a cell of the document, which has an intersection area with the frame selection area, according to the first position information and the second position information;
and determining the cells with the intersection areas as the selected cells.
Optionally, in this embodiment of the present invention, when a selection instruction for a cell in a document is received, the step of obtaining a frame selection instruction triggered by a touch operation of a user may include:
when a selection instruction for a cell in a document is received, displaying a preset first dragging and selecting area frame in the document;
acquiring a frame selection instruction triggered by touch operation of a user for a first dragging and selecting area frame; wherein, the instruction of frame selection includes: a drag instruction and/or a zoom instruction;
generating a framing area according to the framing instruction, wherein the step comprises the following steps:
and dragging and/or zooming the first dragging and selecting area frame in response to the frame selecting instruction to obtain a frame selecting area.
Optionally, in this embodiment of the present invention, the first drag area box may include: a rectangular frame, a triangular frame, a polygonal frame, or a circular frame.
Optionally, in an embodiment of the present invention, before the step of obtaining the frame selection instruction triggered by the touch operation of the user, the method may further include:
detecting whether a touch instruction aiming at a non-cell area in a document is received;
if yes, determining that a selection instruction for a cell in the document is received.
Optionally, in another embodiment of the present invention, before the step of obtaining the frame selection instruction triggered by the touch operation of the user, the method may further include:
detecting whether a touch instruction aiming at a cell selection key is received;
if yes, determining that a selection instruction for a cell in the document is received.
In a second aspect, an embodiment of the present invention further provides an apparatus for selecting a cell, where the apparatus may include:
the obtaining module is used for obtaining a frame selection instruction triggered by touch operation of a user when a selection instruction aiming at a cell in a document is received;
the generating module is used for generating a framing area according to the framing instruction;
and the first determining module is used for determining the cells with the overlapped areas with the frame selection areas in the document as the selected cells.
Optionally, in this embodiment of the present invention, the framing instruction may carry: and the position information of the starting point and the position information of the ending point corresponding to the touch operation.
Optionally, in an embodiment of the present invention, the first determining module is specifically configured to:
determining first position information of each cell displayed in a document;
determining second position information of a frame selection area displayed in the document;
determining a cell of the document, which has an intersection area with the frame selection area, according to the first position information and the second position information;
and determining the cells with the intersection areas as the selected cells.
Optionally, in an embodiment of the present invention, the obtaining module is specifically configured to:
when a selection instruction for a cell in a document is received, displaying a preset first dragging and selecting area frame in the document;
acquiring a frame selection instruction triggered by touch operation of a user for a first dragging and selecting area frame; wherein, the instruction of frame selection includes: a drag instruction and/or a zoom instruction;
correspondingly, the generation module is specifically configured to: and dragging and/or zooming the first dragging and selecting area frame in response to the frame selecting instruction to obtain a frame selecting area.
Optionally, in this embodiment of the present invention, the first drag area box may include: a rectangular frame, a triangular frame, a polygonal frame, or a circular frame.
Optionally, in an embodiment of the present invention, the apparatus further includes:
the device comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is used for detecting whether a touch instruction aiming at a non-cell area in a document is received or not before a frame selection instruction triggered by touch operation of a user is obtained;
and the second determination module is used for determining that a selection instruction for the cell in the document is received when a touch instruction for the non-cell area in the document is received.
Optionally, in another embodiment of the present invention, the apparatus further comprises:
the second detection module is used for detecting whether a touch instruction aiming at the cell selection key is received or not before a frame selection instruction triggered by touch operation of a user is obtained;
and the third determining module is used for determining that the selection instruction for the cells in the document is received when the touch instruction for the cell selection key is received.
In a third aspect, an embodiment of the present invention further provides an electronic device, which may include a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, the present invention further provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method steps described in any one of the first aspect are implemented.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, which when run on an electronic device, causes the electronic device to perform: the method steps of any one of the first aspect.
In the embodiment of the invention, when a selection instruction for a cell in a document is received, a frame selection instruction triggered by touch operation of a user can be obtained. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for selecting a cell according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a selected area and a selected cell provided by an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for selecting a cell according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve technical problems in the related art, embodiments of the present invention provide a method and an apparatus for selecting a cell, an electronic device, and a readable storage medium.
The method for selecting the cell provided by the embodiment of the invention is applied to the electronic equipment, the electronic equipment can be provided with document editing software, and a user can edit the document through the document editing software. Wherein a cell may be provided in the document. That is, the user may perform an editing operation on a cell in the document. For example, copy-paste and highlight settings are made on the cells.
The document editing software includes, but is not limited to: word document editing software, PPT (PowerPoint) document editing software, and WPS (WPS software) document editing software. Additionally, the electronic devices include, but are not limited to, smart phones and smart wearable devices.
Referring to fig. 1, a method for selecting a cell according to an embodiment of the present invention may include the following steps:
s101: when a selection instruction for a cell in a document is received, acquiring a frame selection instruction triggered by touch operation of a user;
s102: generating a frame selection area according to the frame selection instruction;
in one implementation, a cell selection key may be provided in the document editing software. And, when the user clicks the cell selection key, the electronic device may receive a touch instruction for the cell selection key. For this case, the electronic device may first detect whether a touch instruction for the cell selection key is received. If the touch instruction is received, the electronic device may determine that a selection instruction for a cell in the document is received.
In another implementation, the cell selection button may not be provided in the document editing software. In this manner, the electronic device may first detect whether a touch instruction is received for a non-cell area in the document. If the touch instruction is received, the electronic device may determine that a selection instruction for a cell in the document is received. In order to distinguish the operation of clicking the non-cell area in the document by the user, the touch instruction for the non-cell area in the document can be set as a long-press instruction. Of course, the touch instruction for the non-cell area in the document may also be set as an instruction of a preset touch shape. Although not limited thereto.
After clicking a cell selection key or long-pressing a non-cell area in a document, a user can also perform touch operation in the cell area by using a finger. The touch trajectory corresponding to the touch operation may be a straight line or a curved line, but is not limited thereto.
After the electronic device detects the touch operation of the user, a frame selection instruction triggered by the touch operation of the user can be obtained. The framing instruction may carry: and the position information of the starting point and the position information of the ending point corresponding to the touch operation. Further, the electronic apparatus may generate a rectangular area having a line segment between the start point and the end point as a diagonal line, based on the position information of the start point and the position information of the end point, and take the rectangular area as a frame selection area. Although not limited thereto.
In addition, after the user clicks a cell selection key or long-presses a non-cell area in the document, the electronic device may receive a selection instruction for a cell in the document. After obtaining the selection instruction, the electronic device may first display a preset first drag and drop area box in the document. The user may then perform a touch operation, such as dragging and/or zooming, on the first drag area box. In this way, the electronic device can obtain a frame selection instruction triggered by the touch operation of the user on the first drag and selection area frame. Wherein, the instruction of frame selection includes: a drag instruction and/or a zoom instruction. Furthermore, the electronic device may move and/or zoom in the first dragging and selecting area frame according to the dragging instruction and/or the stretching instruction, so as to obtain the frame selecting area.
It is to be understood that the drag instruction refers to an instruction to drag a first drag area box, and the zoom instruction refers to an instruction to zoom in or out the first drag area box. It is reasonable to note that the enlargement or reduction may be an equal-scale enlargement or reduction, or may be a non-equal-scale enlargement or reduction.
In addition, the electronic device may display a preset first drag area box at any position in the document. Of course, the electronic device may also display the preset first drag area frame at the center position in the cell in the document, which is not limited to this. In addition, the first dragging and selecting area frame may be any one of a rectangular frame, a triangular frame, a polygonal frame and a circular frame, but is not limited thereto.
The shape and size of the frame selection area may be the same as or different from the shape and size of the area surrounded by the first dragging area frame, which is reasonable.
S103: and determining the cells with the overlapped areas with the frame selection areas in the document as the selected cells.
Specifically, the electronic device may first determine first location information for each cell displayed in the document and determine second location information for a select area displayed in the document. And then, determining a cell of the document, which has an intersection area with the frame selection area, according to the first position information and the second position information. Thereafter, the cells in which the intersection region exists may be determined as the selected cells. Therefore, the user can select the cells based on the frame selection area, the situation of a row and column adjustment line between the selected cells cannot occur in the mode, the situation that the unexpected cells are selected in the finger sliding process cannot occur, the selection precision and the selection speed of the cells are improved, and the user experience is improved.
In the embodiment of the invention, when a selection instruction for a cell in a document is received, a frame selection instruction triggered by touch operation of a user can be obtained. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
The method for selecting a cell according to the embodiment of the present invention will be described again with reference to fig. 2.
Wherein, the user can use one finger to perform long-pressing on the non-unit cell area in the document. In this way, the electronic device may detect a touch instruction for a non-cell area in the document. After detecting the touch instruction, the electronic device may receive a selection instruction for a cell in the document generated based on the touch instruction.
After the electronic equipment receives the selection instruction, the document is in a cell selection mode. In this mode, the user can perform a touch operation on a cell area in the document: the finger moves in the cell area along an arbitrary trajectory such as a straight line or a curved line. At this time, the electronic device may obtain a frame selection instruction triggered by a touch operation of the user. Wherein, the frame selection instruction carries: and the position information of the starting point and the position information of the ending point corresponding to the touch operation.
Then, the electronic device may generate a rectangular area as shown in fig. 2 with a line segment before the start point and the end point as a diagonal line based on the position information of the start point and the position information of the end point carried in the framing instruction, and take the rectangular area as the framing area.
After obtaining the boxed region, the electronic device may determine first location information for each cell displayed in the document and determine second location information for the boxed region displayed in the document. Specifically, the upper left-hand coordinate, length, and width of each cell may be determined, and the upper left-hand coordinate, length, and width of the second drag-and-drop field box may be determined.
Then, the electronic device can determine a cell in the document, which has an intersection area with the frame selection area, according to the first position information and the second position information. Specifically, the electronic device may compare the first location information of each cell with the second location information of the framed area. The electronic device may then determine the cells in which the intersection region exists as the cells that were selected as shown in FIG. 2.
For example, when a cell is completely contained within the boxed area, it indicates that the cell and the boxed area have an overlap region. In this case, the minimum abscissa value of the cell is greater than the maximum abscissa value of the framed-selection region, the maximum abscissa value of the cell is greater than the minimum abscissa value of the framed-selection region, the maximum ordinate of the cell is greater than the minimum value of the framed-selection region, and the minimum ordinate of the cell is less than the maximum value of the framed-selection region.
In conclusion, the scheme for selecting the cells provided by the embodiment of the invention can accurately and quickly select the cells which the user wants to select, thereby improving the user experience.
Corresponding to the above method embodiment, an apparatus for selecting a cell according to an embodiment of the present invention, referring to fig. 3, may include:
an obtaining module 301, configured to obtain, when a selection instruction for a cell in a document is received, a frame selection instruction triggered by a touch operation of a user;
a generating module 302, configured to generate a framing area according to a framing instruction;
and a first determining module 303, configured to determine a cell in the document, which has an overlapping area with the frame selection area, as the selected cell.
In the embodiment of the invention, when a selection instruction for a cell in a document is received, a frame selection instruction triggered by touch operation of a user can be obtained. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
Optionally, in this embodiment of the present invention, the framing instruction may carry: and the position information of the starting point and the position information of the ending point corresponding to the touch operation.
Optionally, in this embodiment of the present invention, the first determining module 303 is specifically configured to:
determining first position information of each cell displayed in a document;
determining second position information of a frame selection area displayed in the document;
determining a cell of the document, which has an intersection area with the frame selection area, according to the first position information and the second position information;
and determining the cells with the intersection areas as the selected cells.
Optionally, in this embodiment of the present invention, the obtaining module 301 is specifically configured to:
when a selection instruction for a cell in a document is received, displaying a preset first dragging and selecting area frame in the document;
acquiring a frame selection instruction triggered by touch operation of a user for a first dragging and selecting area frame; wherein, the instruction of frame selection includes: a drag instruction and/or a zoom instruction;
accordingly, the generating module 302 is specifically configured to: and dragging and/or zooming the first dragging and selecting area frame in response to the frame selecting instruction to obtain a frame selecting area.
Optionally, in this embodiment of the present invention, the first drag area box may include: a rectangular frame, a triangular frame, a polygonal frame, or a circular frame.
Optionally, in an embodiment of the present invention, the apparatus further includes:
the device comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is used for detecting whether a touch instruction aiming at a non-cell area in a document is received or not before a frame selection instruction triggered by touch operation of a user is obtained;
and the second determination module is used for determining that a selection instruction for the cell in the document is received when a touch instruction for the non-cell area in the document is received.
Optionally, in another embodiment of the present invention, the apparatus further comprises:
the second detection module is used for detecting whether a touch instruction aiming at the cell selection key is received or not before a frame selection instruction triggered by touch operation of a user is obtained;
and the third determining module is used for determining that the selection instruction for the cells in the document is received when the touch instruction for the cell selection key is received.
Corresponding to the above method embodiment, an embodiment of the present invention further provides an electronic device, see fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404;
a memory 403 for storing a computer program;
the processor 401 is configured to implement any of the above method steps for selecting a cell when executing the program stored in the memory 403.
In the embodiment of the invention, the electronic equipment can obtain the frame selection instruction triggered by the touch operation of the user when receiving the selection instruction aiming at the cell in the document. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the above method steps for selecting a cell.
After the computer program stored in the readable storage medium provided by the embodiment of the present invention is executed by the processor of the electronic device, the electronic device may obtain a frame selection instruction triggered by a touch operation of a user when receiving a selection instruction for a cell in a document. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer program product, which when run on an electronic device, causes the electronic device to perform: any of the above method steps for selecting a cell.
After the computer program product provided by the embodiment of the invention is executed by the processor of the electronic device, the electronic device can obtain the frame selection instruction triggered by the touch operation of the user when receiving the selection instruction aiming at the cell in the document. A framing area may then be generated in accordance with the framing instruction. Then, the cells in the document having the overlapped area with the frame selection area can be determined as the selected cells. Therefore, the multiple cells which the user wants to select can be simply and quickly determined, the row and column adjusting line of the cells selected by the user when the user selects the multiple cells is avoided, and the user experience is improved.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the electronic device and the storage medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment. The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method of selecting a cell, comprising:
when a selection instruction for a cell in a document is received, acquiring a frame selection instruction triggered by touch operation of a user;
generating a frame selection area according to the frame selection instruction;
and determining the cells in the document, which have the overlapped areas with the frame selection areas, as the selected cells.
2. The method of claim 1, wherein the framing instruction carries: and the position information of the starting point and the position information of the ending point corresponding to the touch operation.
3. The method of claim 1, wherein the step of determining the cell in the document having the overlap area with the boxed area as the selected cell comprises:
determining first location information for each cell displayed in the document;
determining second position information of the frame selection area displayed in the document;
determining a cell of the document, which has an intersection area with the frame selection area, according to the first position information and the second position information;
and determining the cells with the intersection areas as the selected cells.
4. The method according to claim 1, wherein the step of obtaining a frame selection instruction triggered by a touch operation of a user when a selection instruction for a cell in a document is received comprises:
when a selection instruction for a cell in a document is received, displaying a preset first dragging and selecting area frame in the document;
acquiring a frame selection instruction triggered by touch operation of a user for the first dragging and selecting area frame; wherein the framing instruction comprises: a drag instruction and/or a zoom instruction;
the step of generating a framing area according to the framing instruction includes:
and dragging and/or zooming the first dragging and selecting area frame in response to the frame selecting instruction to obtain a frame selecting area.
5. The method of claim 4, wherein the first drag area box comprises: a rectangular frame, a triangular frame, a polygonal frame, or a circular frame.
6. The method according to claim 1, wherein before the step of obtaining a frame selection instruction triggered by a touch operation of a user, the method further comprises:
detecting whether a touch instruction aiming at a non-cell area in the document is received;
if yes, determining that a selection instruction for a cell in the document is received.
7. The method according to claim 1, wherein before the step of obtaining a frame selection instruction triggered by a touch operation of a user, the method further comprises:
detecting whether a touch instruction aiming at a cell selection key is received;
if yes, determining that a selection instruction for a cell in the document is received.
8. An apparatus for selecting a cell, comprising:
the obtaining module is used for obtaining a frame selection instruction triggered by touch operation of a user when a selection instruction aiming at a cell in a document is received;
the generating module is used for generating a framing area according to the framing instruction;
and the first determining module is used for determining the cells with the overlapped areas with the frame selection areas in the document as the selected cells.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 7 when executing a program stored in the memory.
10. A readable storage medium, characterized in that a computer program is stored in the readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-7.
CN201910716214.1A 2019-08-05 2019-08-05 Method and device for selecting cell, electronic equipment and readable storage medium Pending CN112328157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910716214.1A CN112328157A (en) 2019-08-05 2019-08-05 Method and device for selecting cell, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910716214.1A CN112328157A (en) 2019-08-05 2019-08-05 Method and device for selecting cell, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112328157A true CN112328157A (en) 2021-02-05

Family

ID=74319525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910716214.1A Pending CN112328157A (en) 2019-08-05 2019-08-05 Method and device for selecting cell, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112328157A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103580A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system of selection of some areas in table utilizing computer
US20140173512A1 (en) * 2012-12-19 2014-06-19 Teledyne Lecroy, Inc. Field Selection Graphical User Interface
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
CN110083813A (en) * 2012-10-09 2019-08-02 微软技术许可有限责任公司 User interface element for content selection and expansion content selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103580A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system of selection of some areas in table utilizing computer
CN110083813A (en) * 2012-10-09 2019-08-02 微软技术许可有限责任公司 User interface element for content selection and expansion content selection
US20140173512A1 (en) * 2012-12-19 2014-06-19 Teledyne Lecroy, Inc. Field Selection Graphical User Interface
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface

Similar Documents

Publication Publication Date Title
US11301126B2 (en) Icon control method and terminal
US9696871B2 (en) Method and portable terminal for moving icon
EP2360566A2 (en) Method and apparatus for selecting hyperlinks
US20120192108A1 (en) Gesture-based menu controls
TWI611338B (en) Method for zooming screen and electronic apparatus and computer program product using the same
KR20140114392A (en) Confident item selection using direct manipulation
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
US10698588B2 (en) Combined selection tool
WO2017032307A1 (en) File folder merging method and device
CN109144392B (en) Method and device for processing gesture conflict and electronic equipment
WO2017202287A1 (en) Page swiping method and device
WO2013182141A1 (en) Man-machine interaction method and device and electronic apparatus thereof
CN109240591B (en) Interface display method and device
CN104598228A (en) Measuring method of size of object
US20170364233A1 (en) Operation processing method, electronic device, and computer storage medium
CN111580905A (en) Negative one-screen card management method, terminal and computer readable storage medium
EP4155890A1 (en) Method and device for responding to user operation
US9928220B2 (en) Temporary highlighting of selected fields
CN115878010B (en) Operation interaction method, device, electronic equipment and computer readable storage medium
CN107450809B (en) Page interaction method and device and electronic terminal
US20170010805A1 (en) Character Input Method and Electronic Device
US20140372886A1 (en) Providing help on visual components displayed on touch screens
CN112328157A (en) Method and device for selecting cell, electronic equipment and readable storage medium
CN116244537A (en) Page layout method and device, electronic equipment and readable storage medium
CN111784800B (en) Graphic object selection method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205