CN114818625A - Method and device for processing document area - Google Patents

Method and device for processing document area Download PDF

Info

Publication number
CN114818625A
CN114818625A CN202210747316.1A CN202210747316A CN114818625A CN 114818625 A CN114818625 A CN 114818625A CN 202210747316 A CN202210747316 A CN 202210747316A CN 114818625 A CN114818625 A CN 114818625A
Authority
CN
China
Prior art keywords
area
target area
merged
floating layer
target
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.)
Granted
Application number
CN202210747316.1A
Other languages
Chinese (zh)
Other versions
CN114818625B (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.)
Tianjin Lenovo Collaboration Technology Inc
Original Assignee
Tianjin Lenovo Collaboration Technology Inc
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 Tianjin Lenovo Collaboration Technology Inc filed Critical Tianjin Lenovo Collaboration Technology Inc
Priority to CN202210747316.1A priority Critical patent/CN114818625B/en
Publication of CN114818625A publication Critical patent/CN114818625A/en
Application granted granted Critical
Publication of CN114818625B publication Critical patent/CN114818625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for processing a document area, wherein the method comprises the following steps: firstly, acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; then obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area; finally, determining an area to be merged according to the moving track; and combining the target area and the area to be combined to generate a combined area. Therefore, the target area and the area to be merged are merged through the moving track of the view floating layer, so that the efficiency of merging the document areas is improved, and the inconvenience caused by the fact that a user needs to operate the document and the toolbar simultaneously when the areas are merged in the prior art is solved.

Description

Method and device for processing document area
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a document area.
Background
The electronic form is a comprehensive office and family affairs processing software integrating text editing, form making, data processing and database functions, graphic and image functions, typesetting and printing.
Currently, the problem of merging cells is often encountered when using spreadsheets. The existing solution is to select a cell to be merged by a mouse, and then merge multiple cells based on a button on a toolbar. However, this method has the disadvantage that the operation process is complicated, for example, after selecting the merge area, the user needs to operate the button on the toolbar to merge the cells, so the operation process is complicated, and much inconvenience is brought to the user.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for processing a document region, which can reduce user operations and improve merging efficiency of the document region.
In order to achieve the above object, according to a first aspect of the embodiments of the present invention, there is provided a method for processing a document region, the method including: acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; acquiring a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area; determining an area to be merged according to the moving track; and merging the target area and the area to be merged to generate a merged area.
Optionally, the obtaining the merging instruction of the target area includes: acquiring a triggered instruction of a target area; detecting, in response to the instruction, a duration of time to trigger the target area; judging whether the duration time meets a preset condition or not; and if the judgment result represents that the duration time meets the preset condition, acquiring a merging instruction of the target area.
Optionally, the determining a region to be merged according to the movement trajectory includes: determining the moving direction of the view floating layer in the document according to the moving track; and determining the area to be merged corresponding to the moving track according to the moving direction.
Optionally, the determining, according to the moving direction, a region to be merged corresponding to the moving trajectory includes: if the moving direction represents that the view floating layer moves along a first direction in the document, determining all non-target areas passed by the moving track as areas to be merged; wherein the first direction is used for indicating an X-axis direction or a Y-axis direction.
Optionally, the determining, according to the moving direction, a region to be merged corresponding to the moving trajectory includes: if the moving direction represents that the view floating layer moves in a second direction in the document, acquiring a target area corresponding to the moving track starting point and a non-target area corresponding to the moving track end point; determining the row and the column of the non-target area corresponding to the end point coordinate, and an area surrounded by the row and the column of the target area; and determining all non-target areas in the areas as areas to be merged corresponding to the moving tracks.
Optionally, the merging the target region and the region to be merged to generate a merged region includes: merging the target area and the area to be merged to generate a virtual merged area; and acquiring a trigger instruction of the movement end of the view floating layer, and generating a merging area corresponding to the virtual merging area.
In order to achieve the above object, according to a second aspect of the embodiments of the present invention, there is also provided a processing apparatus of a document area, including: the first acquisition module is used for acquiring a merging instruction of a target area and generating a view floating layer corresponding to the target area, the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; a second obtaining module, configured to obtain a moving trajectory of the view floating layer, where the moving trajectory is used to indicate a trajectory generated when the view floating layer moves in the non-target region; the determining module is used for determining the area to be merged according to the moving track; and the merging module is used for merging the target area and the area to be merged to generate a merged area.
Optionally, the first obtaining module includes: the first acquisition unit is used for acquiring a triggered instruction of the target area; a detection unit for detecting, in response to the instruction, a duration of triggering the target area; the judging unit is used for judging whether the duration time meets a preset condition or not; and the second obtaining unit is used for obtaining the merging instruction of the target area if the judgment result represents that the duration time meets the preset condition.
Optionally, the determining module includes: the first determining unit is used for determining the moving direction of the view floating layer in the document according to the moving track; and the second determining unit is used for determining the area to be merged corresponding to the moving track according to the moving direction.
Optionally, the second determining unit is further configured to determine, if the moving direction represents that the view floating layer moves in the document along a first direction, all non-target areas through which the moving trajectory passes as areas to be merged, where the first direction is used to indicate an X-axis direction or a Y-axis direction.
To achieve the above object, according to a third aspect of the embodiments of the present invention, there is also provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the method for processing a document region according to the first aspect.
Compared with the prior art, the method and the device for processing the document area provided by the embodiment of the invention have the advantages that firstly, a merging instruction of a target area is obtained, and a view floating layer corresponding to the target area is generated, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; then obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area; finally, determining an area to be merged according to the moving track; and combining the target area and the area to be combined to generate a combined area. Therefore, the target area and the area to be merged are merged through the moving track of the view floating layer, so that the efficiency of merging the document areas is improved, and the inconvenience caused by the fact that a user needs to operate the document and the toolbar simultaneously when the areas are merged in the prior art is solved.
It is to be understood that the teachings of the present invention need not achieve all of the above-described benefits, but rather that specific embodiments may achieve specific technical results, and that other embodiments of the present invention may achieve benefits not mentioned above.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein like or corresponding reference numerals designate like or corresponding parts throughout the several views.
FIG. 1 is a schematic flow chart diagram of a processing method of a document region according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a processing method of a document region according to another embodiment of the present invention;
FIG. 3 is a diagram illustrating a virtual merge area according to another embodiment of the present invention; wherein, fig. 3a is a virtual merge region obtained when the view floating layer moves along the Y-axis direction in the excel document; FIG. 3b is a virtual merge region obtained when the view floating layer moves in the excel document along the X-axis direction; FIG. 3c is a virtual merge region obtained when the view floating layer moves in a second direction within the excel document;
FIG. 4 is a schematic block diagram of a processing apparatus for a document area according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in FIG. 1, a schematic flow chart of a processing method of a document region according to an embodiment of the present invention is shown. A method of processing a document region, the method comprising: s101, acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein a document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; s102, obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in a non-target area; s103, determining an area to be merged according to the moving track; and S104, merging the target area and the area to be merged to generate a merged area.
In S101, a user triggers a target area, and a system acquires a triggered instruction of the target area; detecting a duration of the trigger target area in response to the instruction; judging whether the duration time meets a preset condition or not; if the representation duration time of the judgment result meets the preset condition, acquiring a merging instruction of the target area, and generating a view floating layer corresponding to the target area; if the judgment result represents that the trigger time does not meet the preset condition, the merging instruction of the target area cannot be obtained, and the view floating layer corresponding to the target area cannot be generated. The view floating layer is a view control floating on the target area and is mainly used for receiving user instructions and simulating preview effects of the target area or the merging area. The size of the view floating layer is smaller than or equal to the size of the target area.
In S102, a movement trajectory of the floating layer of the inside view of the document is obtained based on the movement of the user to the floating layer of the inside view of the document.
In S103, determining the moving direction of the view floating layer in the document according to the moving track; and determining the area to be merged corresponding to the moving track according to the moving direction. For example, with the X-axis and Y-axis coordinates as the reference directions, there are two cases of the moving direction: the first direction and the second direction move in the first direction, such as in the X-axis direction or the Y-axis direction, and the second direction, such as in both the X-axis direction and the Y-axis direction. Different region merging strategies can be designed according to different moving directions by combining application scenes and service requirements.
The embodiment of the invention generates the view floating layer, and combines the target area and the area to be combined based on the moving track of the view floating layer, thereby generating the combined area. Therefore, the target area and the area to be merged can be merged based on the moving track of the view floating layer, the operation of a toolbar during area merging in the prior art is reduced, the operation of area merging in the document is simplified, and the efficiency of document area merging is improved.
As shown in FIG. 2, a schematic flow chart of a processing method of a document region according to another embodiment of the present invention is shown. The embodiment is further optimized on the basis of the previous embodiment. A method for processing a document region comprises the following steps: s201, acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein a document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; s202, obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in a non-target area; s203, determining the moving direction of the view floating layer in the document according to the moving track; s204, if the moving direction represents that the view floating layer moves in the first direction in the document, determining all non-target areas through which the moving track passes as areas to be merged; wherein the first direction is used for indicating an X-axis direction or a Y-axis direction; s205, if the moving direction represents that the view floating layer moves in the second direction in the document, acquiring a target area corresponding to a moving track starting point and a non-target area corresponding to a moving track end point; determining a region surrounded by a row and a column of a non-target region corresponding to the terminal point coordinate and a row and a column of a target region; determining all non-target areas in the area as areas to be merged corresponding to the moving track; s206, merging the target area and the target area to be merged to generate a virtual merging area; and S207, acquiring a trigger instruction of the movement completion of the view floating layer, and generating a merging area corresponding to the virtual merging area.
The specific implementation processes of S201, S202, and S203 are similar to the specific implementation processes of S101, S102, and S103 in the embodiment shown in fig. 1, and are not described here again.
In S204 and S205, the first direction, for example, the view float, moves in the X-axis direction or the Y-axis direction. The second direction, e.g., the view-float, is moved in both the X-axis direction and the Y-axis direction. The line where the target region corresponding to the starting point of the moving track is located and the line where the non-target region corresponding to the end point is located are both parallel to the X axis, and the column where the target region corresponding to the starting point of the moving track is located and the column where the non-target region corresponding to the end point is located are both parallel to the Y axis, so that the surrounded region is the region with the smallest area.
In S206 and S207, the virtual merge region refers to a virtual region that simulates the actual merge region, and the area of the virtual region may be smaller than the area of the actual merge region or equal to the area of the actual merge region. From the start of view floating layer movement to the end of view floating layer movement, a merged region is generated.
It should be noted that the generated merging area can be used as a target area for the next merging operation, so as to improve the efficiency of area merging.
Specific processes of the above embodiments will be described in detail with reference to specific application scenarios. FIG. 3 is a schematic diagram of a merge area according to another embodiment of the present invention; wherein, fig. 3a is a virtual merge region obtained when the view floating layer moves along the Y-axis direction in the excel document; FIG. 3b is a virtual merged area obtained when the view floating layer moves along the X-axis direction in the excel document; fig. 3c is a virtual merge region resulting when the view floating layer moves in a second direction within the excel document.
In the excel document, both the target area and the non-target area are regular cells. The target area can be any cell in an excel document, and only one target cell is provided each time the document area merging operation is carried out, but a plurality of non-target cells are provided. And determining the cell as a target cell based on the triggering action of the user on the cell in the document. The system detects the duration of a trigger action when the target cell is triggered by a user, and if the duration meets a preset condition, the system acquires a merging instruction of the target cell and generates a view floating layer corresponding to the target cell. The view floating layer can be positioned at the upper right corner of the target cell, and can also be positioned in other areas of the target cell. A user moves the view floating layer in the excel document to generate a moving track; the system acquires a moving track of the view floating layer, determines the moving direction of the view floating layer in the excel document based on the moving track, and determines a non-target cell through which the moving track passes as an area to be merged if the moving direction represents that the view floating layer moves in the excel document along a first direction, namely the Y-axis direction, as shown in FIG. 3 a; if the moving direction represents that the view floating layer moves along a first direction in the excel document, namely the X-axis direction, the system determines the non-target cells passed by the moving track as the areas to be merged, as shown in FIG. 3 b; if the moving direction represents that the view floating layer moves in the excel document along the second direction, determining a region surrounded by rows and columns where target cells corresponding to the moving track starting point are located and rows and columns where non-target cells corresponding to the moving track end point are located; and determining the non-target cells in the surrounded area as the area to be merged corresponding to the moving track, and merging the target cells and the area to be merged to generate a virtual merging area, as shown in fig. 3 c. And finally, clicking the view floating layer by the user, and acquiring a trigger instruction for finishing the movement of the view floating layer by the system to generate a merging area corresponding to the virtual merging area.
The embodiment of the invention determines the area to be merged based on the moving track of the view floating layer, thereby simplifying the operation of area merging and improving the efficiency of area merging; by generating the virtual merging area corresponding to the merging area, the merging effect can be displayed more visually, and the accuracy of area merging is improved; and further improves the experience of the user.
It should be understood that, in the embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
FIG. 4 is a schematic block diagram of a processing apparatus for processing a document area according to an embodiment of the present invention. A device for processing a document region, the device 400 comprising: a first obtaining module 401, configured to obtain a merging instruction of a target region, and generate a view floating layer corresponding to the target region, where the document includes the target region and a non-target region, and both the target region and the non-target region are regular graphs; a second obtaining module 402, configured to obtain a moving track of the view floating layer, where the moving track is used to indicate a track generated when the view floating layer moves in the non-target area; a determining module 403, configured to determine, according to the moving trajectory, an area to be merged; a merging module 404, configured to merge the target region and the region to be merged to generate a merged region.
In an optional embodiment, the first obtaining module includes: the first acquisition unit is used for acquiring a triggered instruction of the target area; a detection unit for detecting, in response to the instruction, a duration of triggering the target area; the judging unit is used for judging whether the duration time meets a preset condition or not; and the second obtaining unit is used for obtaining the merging instruction of the target area if the judgment result represents that the duration time meets the preset condition.
In an alternative embodiment, the determining module includes: the first determining unit is used for determining the moving direction of the view floating layer in the document according to the moving track; and the second determining unit is used for determining the area to be merged corresponding to the moving track according to the moving direction.
In an optional embodiment, the second determining unit is further configured to determine, as the area to be merged, all non-target areas that the movement trajectory passes through if the movement direction represents that the view floating layer moves in a first direction within the document, where the first direction is used to indicate an X-axis direction or a Y-axis direction.
In an optional embodiment, the second determining unit is further configured to, if the moving direction represents that the view floating layer moves in the document along a second direction, obtain a target area corresponding to the start point of the moving track and a non-target area corresponding to the end point of the moving track; determining the row and the column of the non-target area corresponding to the end point coordinate, and an area surrounded by the row and the column of the target area; and determining all non-target areas in the areas as areas to be merged corresponding to the moving tracks.
In an alternative embodiment, the merging module includes: the first generating unit is used for merging the target area and the area to be merged to generate a virtual merging area; and the second generating unit is used for acquiring the trigger instruction of the end of the movement of the view floating layer and generating a merging area corresponding to the virtual merging area.
The device can execute the processing method and the method of the device for processing the document area, and has the corresponding functional modules and beneficial effects of executing the processing method for the document area. For details of the technology that are not described in detail in this embodiment, reference may be made to the method for processing the document area provided in the embodiment of the present invention.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, causes the processor to perform at least the following operation steps: s101, acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; s102, obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area; s103, determining an area to be merged according to the moving track; and S104, merging the target area and the area to be merged to generate a merged area.
Compared with the prior art, the method and the device for processing the document area provided by the embodiment of the invention have the advantages that firstly, a merging instruction of a target area is obtained, and a view floating layer corresponding to the target area is generated, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs; then obtaining a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area; finally, determining an area to be merged according to the moving track; and combining the target area and the area to be combined to generate a combined area. Therefore, the target area and the area to be merged are merged through the moving track of the view floating layer, so that the efficiency of merging the document areas is improved, and the inconvenience caused by the fact that a user needs to operate the document and the toolbar simultaneously when the areas are merged in the prior art is solved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing a document region, comprising:
acquiring a merging instruction of a target area, and generating a view floating layer corresponding to the target area, wherein the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs;
acquiring a moving track of the view floating layer, wherein the moving track is used for indicating a track generated when the view floating layer moves in the non-target area;
determining an area to be merged according to the moving track;
and combining the target area and the area to be combined to generate a combined area.
2. The method of claim 1, wherein the obtaining the merge instruction of the target region comprises:
acquiring a triggered instruction of a target area;
detecting, in response to the instruction, a duration of time to trigger the target area;
judging whether the duration time meets a preset condition or not;
and if the judgment result represents that the duration time meets the preset condition, acquiring a merging instruction of the target area.
3. The method according to claim 1, wherein the determining the region to be merged according to the movement track comprises:
determining the moving direction of the view floating layer in the document according to the moving track;
and determining the area to be merged corresponding to the moving track according to the moving direction.
4. The method according to claim 3, wherein the determining the area to be merged corresponding to the movement track according to the movement direction comprises:
if the moving direction represents that the view floating layer moves in the document along a first direction, determining all non-target areas through which the moving track passes as areas to be merged; wherein the first direction is used for indicating an X-axis direction or a Y-axis direction.
5. The method according to claim 3, wherein the determining, according to the moving direction, the area to be merged corresponding to the moving track comprises:
if the moving direction represents that the view floating layer moves in a second direction in the document, acquiring a target area corresponding to the moving track starting point and a non-target area corresponding to the moving track end point;
determining the row and the column of the non-target area corresponding to the end point coordinate, and an area surrounded by the row and the column of the target area;
and determining all non-target areas in the areas as areas to be merged corresponding to the moving tracks.
6. The method according to claim 1, wherein the merging the target region and the region to be merged to generate a merged region comprises:
merging the target area and the area to be merged to generate a virtual merged area;
and acquiring a trigger instruction of the movement end of the view floating layer, and generating a merging area corresponding to the virtual merging area.
7. A document region processing apparatus, comprising:
the first acquisition module is used for acquiring a merging instruction of a target area and generating a view floating layer corresponding to the target area, the document comprises the target area and a non-target area, and the target area and the non-target area are both regular graphs;
a second obtaining module, configured to obtain a moving trajectory of the view floating layer, where the moving trajectory is used to indicate a trajectory generated when the view floating layer moves in the non-target region;
the determining module is used for determining the area to be merged according to the moving track;
and the merging module is used for merging the target area and the area to be merged to generate a merged area.
8. The apparatus of claim 7, wherein the first obtaining module comprises:
the first acquisition unit is used for acquiring a triggered instruction of the target area;
a detection unit for detecting, in response to the instruction, a duration of triggering the target area;
the judging unit is used for judging whether the duration time meets a preset condition or not;
and the second obtaining unit is used for obtaining the merging instruction of the target area if the judgment result represents that the duration time meets the preset condition.
9. The apparatus of claim 7, wherein the determining module comprises:
a first determining unit, configured to determine, according to the movement trajectory, a movement direction of the view floating layer within the document;
and the second determining unit is used for determining the area to be merged corresponding to the moving track according to the moving direction.
10. The apparatus according to claim 9, wherein the second determining unit is further configured to determine all non-target areas passed by the movement trajectory as the areas to be merged if the movement direction represents that the view floating layer moves in a first direction within the document, wherein the first direction is used to indicate an X-axis direction or a Y-axis direction.
CN202210747316.1A 2022-06-29 2022-06-29 Method and device for processing document area Active CN114818625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210747316.1A CN114818625B (en) 2022-06-29 2022-06-29 Method and device for processing document area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210747316.1A CN114818625B (en) 2022-06-29 2022-06-29 Method and device for processing document area

Publications (2)

Publication Number Publication Date
CN114818625A true CN114818625A (en) 2022-07-29
CN114818625B CN114818625B (en) 2022-11-08

Family

ID=82522591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210747316.1A Active CN114818625B (en) 2022-06-29 2022-06-29 Method and device for processing document area

Country Status (1)

Country Link
CN (1) CN114818625B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941973A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Batch selection method and device and touch screen terminal
CN107180019A (en) * 2016-03-11 2017-09-19 阿里巴巴集团控股有限公司 Form methods of exhibiting and device
CN109710909A (en) * 2018-12-29 2019-05-03 腾讯科技(深圳)有限公司 Content acquisition method, device, terminal and storage medium
CN109871171A (en) * 2018-12-29 2019-06-11 天津字节跳动科技有限公司 A kind of method, apparatus, medium and electronic equipment that documentor merges
CN110162260A (en) * 2019-04-16 2019-08-23 深圳壹账通智能科技有限公司 File batch processing method, device, computer equipment and storage medium
CN110851040A (en) * 2019-10-28 2020-02-28 维沃移动通信有限公司 Information processing method and electronic equipment
CN114077826A (en) * 2021-10-27 2022-02-22 联想(北京)有限公司 Data processing method and device and computer readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941973A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Batch selection method and device and touch screen terminal
CN107180019A (en) * 2016-03-11 2017-09-19 阿里巴巴集团控股有限公司 Form methods of exhibiting and device
CN109710909A (en) * 2018-12-29 2019-05-03 腾讯科技(深圳)有限公司 Content acquisition method, device, terminal and storage medium
CN109871171A (en) * 2018-12-29 2019-06-11 天津字节跳动科技有限公司 A kind of method, apparatus, medium and electronic equipment that documentor merges
CN110162260A (en) * 2019-04-16 2019-08-23 深圳壹账通智能科技有限公司 File batch processing method, device, computer equipment and storage medium
CN110851040A (en) * 2019-10-28 2020-02-28 维沃移动通信有限公司 Information processing method and electronic equipment
CN114077826A (en) * 2021-10-27 2022-02-22 联想(北京)有限公司 Data processing method and device and computer readable medium

Also Published As

Publication number Publication date
CN114818625B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US10198421B2 (en) Method for inserting or deleting cells, rows or columns in spreadsheet and a device therefor
US8634645B2 (en) Method and tool for recognizing a hand-drawn table
US10373359B2 (en) Method and device for erasing a writing path on an infrared electronic white board, and a system for writing on an infrared electronic white board
CN112764616B (en) Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium
CN105630939B (en) A kind of general painting canvas input interface design method and device
CN101821705A (en) Pointer controlling apparatus
US20140129931A1 (en) Electronic apparatus and handwritten document processing method
CN105045439A (en) Touch screen multi-point positioning method and apparatus and touchscreen device
CN110704087A (en) Page generation method and device, computer equipment and storage medium
JP2011034216A (en) Selection object decision method, decision method for anteroposterior relation of object, and apparatus therefor
CN103793178A (en) Vector graph editing method of touch screen of mobile device
CN108509133B (en) Search component display method and device
CN109407882A (en) The smooth method, apparatus of contact track, equipment and storage medium
CN114818625B (en) Method and device for processing document area
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
WO2022123929A1 (en) Information processing device and information processing method
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
CN114489461A (en) Touch response method, device, equipment and storage medium
CN114063859A (en) Method for erasing graph, electronic equipment and storage medium
CN103176731A (en) Method and device for determining ending of handwriting input
CN110794986A (en) Conference tablet control method and device based on infrared touch frame and conference tablet
KR20020082855A (en) A method of providing a display for a graphical user interface
US8810580B2 (en) Method and tool for creating irregular-shaped tables
CN111381755A (en) Interface content switching method and device 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
GR01 Patent grant
GR01 Patent grant