CN112783666A - Clipboard content editing method and device in electronic document and storage medium - Google Patents

Clipboard content editing method and device in electronic document and storage medium Download PDF

Info

Publication number
CN112783666A
CN112783666A CN201911086452.5A CN201911086452A CN112783666A CN 112783666 A CN112783666 A CN 112783666A CN 201911086452 A CN201911086452 A CN 201911086452A CN 112783666 A CN112783666 A CN 112783666A
Authority
CN
China
Prior art keywords
clipboard
content
editing
text content
text
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.)
Withdrawn
Application number
CN201911086452.5A
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 CN201911086452.5A priority Critical patent/CN112783666A/en
Publication of CN112783666A publication Critical patent/CN112783666A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The embodiment of the invention discloses a method, a device and a storage medium for editing clipboard content in an electronic document, wherein the method comprises the following steps: selecting one text content in the clipboard according to the input operation; when an editing instruction of the text content of the selected clipboard is received, receiving a content editing operation of the text content; and saving the edited text content to a clipboard. According to the method and the device, clipboard content in the electronic document is edited, the document editing efficiency is improved, and the user experience is improved.

Description

Clipboard content editing method and device in electronic document and storage medium
Technical Field
The present invention relates to document processing technologies, and in particular, to a method, an apparatus, and a storage medium for editing clipboard content in an electronic document.
Background
Currently, in an electronic document, when a user copies or cuts selected content, a clipboard may keep a data backup of the currently copied or cut content, and when the user performs paste in another operation area, the previously selected content may be pasted to the current location. If the pasted content needs to be edited and the edited content is called in the document, the pasted content needs to be copied again after being edited and pasted at the position where calling is needed. The method is slow and tedious to operate.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a storage medium for editing clipboard content in an electronic document, which are used for editing the clipboard content in the electronic document, improving the document editing efficiency and improving the user experience.
To achieve the object of the embodiment of the present invention, an embodiment of the present invention provides a method for editing clipboard content in an electronic document, where the method includes:
selecting one text content in the clipboard according to the input operation;
when an editing instruction of the text content of the selected clipboard is received, receiving a content editing operation of the text content;
and saving the edited text content to a clipboard.
Preferably, the method for editing contents of a clipboard further includes:
and when a paste instruction at the selected target position is received, pasting the edited text content at the target position.
Preferably, after receiving the instruction to edit the text content of the selected clipboard, the method further includes: popping up a content editing bullet frame;
receiving a content editing operation on the text content comprises:
and in the content editing bullet box, performing content editing on the text content.
Preferably, saving the edited text content to a clipboard comprises:
replacing the edited text content with the text content and saving the text content to a clipboard; alternatively, the first and second electrodes may be,
additionally storing the edited text content to a clipboard.
Preferably, the method further comprises:
when a copy instruction or a cut instruction of selected text contents in the electronic document is detected, the selected text contents are added to the clipboard.
Preferably, the electronic document comprises one of: text applications, table applications, slide applications.
Preferably, the text content comprises one of: characters, tables, pictures.
In a second aspect, an embodiment of the present invention further provides an apparatus for editing contents of a clipboard in an electronic document, including:
the selection module is arranged for selecting one text content in the clipboard according to the input operation;
the editing module is used for receiving the content editing operation of the text content when receiving an editing instruction of the text content of the selected clipboard;
and the storage module is used for storing the edited text content to a clipboard.
Preferably, the clipboard content editing apparatus further includes:
and the pasting module is used for pasting the edited text content at the target position when a pasting instruction at the selected target position is received.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored, where the computer-executable instructions are configured to execute the above clipboard content editing method.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for implementing clipboard content editing in an electronic document, including a memory and a processor, where the memory stores a clipboard content editing program, and the processor is configured to execute the clipboard content editing method when the clipboard content editing program is read.
The beneficial effects of the embodiment of the invention can include:
the embodiment of the invention realizes the editing of the clipboard content in the electronic document, can edit the copied content on the clipboard before pasting, and can paste the required text content at the target position only by one copying operation and one pasting operation after pasting, thereby reducing the pasting operation and greatly improving the working efficiency.
Additional features and advantages of embodiments of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the embodiments of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the examples of the application do not constitute a limitation of the embodiments of the invention.
FIG. 1 is a flowchart of a method for editing clipboard content in an electronic document according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating clipboard editing in an electronic document, in accordance with an embodiment of the present invention;
FIG. 3 is a diagram illustrating pop-up of a content editing pop-up box in an electronic document according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a clipboard content editing apparatus in an electronic document according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Example one
An embodiment of the present invention provides a method for editing clipboard content in an electronic document, as shown in fig. 1, where the method may include steps S101 to S103:
s101, selecting one text content in a clipboard according to input operation;
s102, when an editing instruction of the text content of the selected clipboard is received, receiving a content editing operation of the text content;
s103, storing the edited text content to a clipboard.
In the embodiment of the present invention, the item of the copied content in the clipboard is added with an identifier of editing or revision, and as shown in fig. 2, an editing icon is displayed in the upper right corner of the text item area in the clipboard. Receiving an edit instruction to the text content of the selected clipboard comprises: detecting the position of a mouse cursor, and determining to receive an editing instruction of the text content of the selected clipboard when detecting that the mouse cursor is at the position of the editing or revising identifier and a left mouse button is pressed; or when the fact that the editing or revision identification positioned in the screen is clicked is detected, the fact that the editing instruction of the text content of the selected clipboard is received is determined.
In the embodiment of the invention, for the electronic document installed in the computer, the mouse can be used for operating the electronic document, and when the editing instruction of the text content of the selected clipboard is determined to be received, the judgment is carried out according to the position and the operation of the mouse cursor. And judging the electronic document installed on the tablet personal computer or the mobile phone according to the operation and motion track of the finger or the handwriting pen.
In this embodiment of the present invention, the method for editing contents of a clipboard further includes: and when a paste instruction at the selected target position is received, pasting the edited text content at the target position.
The embodiment of the invention can store the edited text content to the clipboard. The required text content can be pasted at the target position only by one copying operation and one pasting operation, so that the pasting operation is reduced, and the working efficiency is greatly improved.
In this embodiment of the present invention, after receiving the instruction to edit the text content of the selected clipboard in step S102, the method further includes: popping up a content editing bullet frame;
receiving a content editing operation on the text content comprises:
and in the content editing bullet box, performing content editing on the text content.
In the embodiment of the present invention, in order to perform a content editing operation on the text content of the clipboard visually, quickly, and conveniently, a popup box may be popped up after receiving an editing instruction for the text content of the selected clipboard (an editing icon in the upper right corner of a text entry area in the clipboard in fig. 2 is clicked), as shown in fig. 3. In the content editing bullet frame, a user can edit the previous copied content before pasting, and in the bullet frame, the user can edit the text content, click the modification button after determining the modification, and store the modification button in the clipboard. If the selection is cancelled, the text content of the clipboard is not changed.
In the embodiment of the present invention, the method for editing contents of a clipboard further includes:
when a copy instruction or a cut instruction of selected text contents in the electronic document is detected, the selected text contents are added to the clipboard.
In the embodiment of the invention, the clipboard can store a plurality of items of copied contents, and when a user copies or cuts the selected text contents, the plurality of items of copied contents are stored and displayed in the clipboard in a sequential or reverse order mode.
In an embodiment of the present invention, saving the edited text content to a clipboard includes:
replacing the edited text content with the text content and saving the text content to a clipboard; alternatively, the first and second electrodes may be,
additionally storing the edited text content to a clipboard.
In the embodiment of the present invention, the edited text content may be used to replace the text content, or the edited text content may be stored in the clipboard as another item, that is, both the text content before editing and the text content after editing are stored in the clipboard.
In an embodiment of the present invention, the electronic document includes one of: text applications, table applications, slide applications.
In an embodiment of the present invention, the text content includes one of: characters, tables, pictures.
In the embodiment of the invention, the clipboard can store a plurality of copied contents, and the copied contents in different electronic document applications can be stored on the clipboard.
Example two
As shown in fig. 4, an embodiment of the present invention further provides an apparatus for editing contents of a clipboard in an electronic document, including:
the selection module is arranged for selecting one text content in the clipboard according to the input operation;
the editing module is used for receiving the content editing operation of the text content when receiving an editing instruction of the text content of the selected clipboard;
and the storage module is used for storing the edited text content to a clipboard.
In this embodiment of the present invention, the apparatus for editing contents of a clipboard further includes:
and the pasting module is used for pasting the edited text content at the target position when a pasting instruction at the selected target position is received.
The embodiment of the invention also provides a computer-readable storage medium, which stores computer-executable instructions, wherein the computer-executable instructions are used for executing the clipboard content editing method.
The embodiment of the invention also provides equipment for realizing the clipboard content editing in the electronic document, which comprises a memory and a processor, wherein the memory stores the clipboard content editing program, and the processor is used for executing the clipboard content editing method when the clipboard content editing program is read.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (11)

1. A method for editing clipboard content in an electronic document, the method comprising:
selecting one text content in the clipboard according to the input operation;
when an editing instruction of the text content of the selected clipboard is received, receiving a content editing operation of the text content;
and saving the edited text content to a clipboard.
2. The clipboard content editing method of claim 1, further comprising:
and when a paste instruction at the selected target position is received, pasting the edited text content at the target position.
3. The method for editing contents of a clipboard according to claim 1, further comprising, after receiving an instruction to edit the text contents of the selected clipboard: popping up a content editing bullet frame;
receiving a content editing operation on the text content comprises:
and in the content editing bullet box, performing content editing on the text content.
4. The method for editing contents of a clipboard according to claim 1, wherein saving the edited text contents to a clipboard comprises:
replacing the edited text content with the text content and saving the text content to a clipboard; alternatively, the first and second electrodes may be,
additionally storing the edited text content to a clipboard.
5. The clipboard content editing method of claim 1, wherein the method further comprises:
when a copy instruction or a cut instruction of selected text contents in the electronic document is detected, the selected text contents are added to the clipboard.
6. The text content editing method according to claim 1 or 5, wherein the electronic document includes one of: text applications, table applications, slide applications.
7. The text content editing method according to claim 1 or 5, wherein the text content includes one of: characters, tables, pictures.
8. An apparatus for editing contents of a clipboard in an electronic document, comprising:
the selection module is arranged for selecting one text content in the clipboard according to the input operation;
the editing module is used for receiving the content editing operation of the text content when receiving an editing instruction of the text content of the selected clipboard;
and the storage module is used for storing the edited text content to a clipboard.
9. The clipboard content editing apparatus according to claim 1, further comprising:
and the pasting module is used for pasting the edited text content at the target position when a pasting instruction at the selected target position is received.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method of clipboard content editing of any of claims 1-7.
11. An apparatus for implementing clipboard content editing in an electronic document, comprising a memory and a processor, wherein the memory stores a clipboard content editing program, and the processor is configured to execute the clipboard content editing method of any of claims 1-7 when the clipboard content editing program is read.
CN201911086452.5A 2019-11-08 2019-11-08 Clipboard content editing method and device in electronic document and storage medium Withdrawn CN112783666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911086452.5A CN112783666A (en) 2019-11-08 2019-11-08 Clipboard content editing method and device in electronic document and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911086452.5A CN112783666A (en) 2019-11-08 2019-11-08 Clipboard content editing method and device in electronic document and storage medium

Publications (1)

Publication Number Publication Date
CN112783666A true CN112783666A (en) 2021-05-11

Family

ID=75748318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911086452.5A Withdrawn CN112783666A (en) 2019-11-08 2019-11-08 Clipboard content editing method and device in electronic document and storage medium

Country Status (1)

Country Link
CN (1) CN112783666A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117113417A (en) * 2023-10-18 2023-11-24 中孚安全技术有限公司 Method, system, equipment and medium for managing and controlling clipboard under Linux system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271806A1 (en) * 2008-04-28 2009-10-29 Microsoft Corporation Techniques to modify a document using a latent transfer surface
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data
CN107025056A (en) * 2017-03-22 2017-08-08 上海斐讯数据通信技术有限公司 A kind of mobile terminal paste functionality control method and system
CN107992371A (en) * 2017-11-30 2018-05-04 努比亚技术有限公司 Replicate method of attaching, device and computer-readable recording medium
CN108664201A (en) * 2017-03-29 2018-10-16 北京搜狗科技发展有限公司 A kind of method for editing text, device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271806A1 (en) * 2008-04-28 2009-10-29 Microsoft Corporation Techniques to modify a document using a latent transfer surface
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data
CN107025056A (en) * 2017-03-22 2017-08-08 上海斐讯数据通信技术有限公司 A kind of mobile terminal paste functionality control method and system
CN108664201A (en) * 2017-03-29 2018-10-16 北京搜狗科技发展有限公司 A kind of method for editing text, device and electronic equipment
CN107992371A (en) * 2017-11-30 2018-05-04 努比亚技术有限公司 Replicate method of attaching, device and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117113417A (en) * 2023-10-18 2023-11-24 中孚安全技术有限公司 Method, system, equipment and medium for managing and controlling clipboard under Linux system

Similar Documents

Publication Publication Date Title
US9710147B2 (en) Mobile terminal and controlling method thereof
US9003283B2 (en) Copying text using parameters displayed on a clipboard
EP2613286A1 (en) Mobile terminal and message-based conversation operation method for the same
US20140160049A1 (en) Clipboard function control method and apparatus of electronic device
US20130268895A1 (en) Terminal device and icon management method
CN106951140A (en) The icon replacing options and electronic equipment of application program
CN110941373B (en) Interaction method and device for intelligent interaction panel, terminal equipment and storage medium
CN104866206A (en) Method for moving picture data, and mobile terminal
CN106033407B (en) Data pasting method and device
CN104731500A (en) Information processing method and electronic equipment
CN111338538A (en) Page operation method, device, equipment and storage medium of intelligent interactive tablet
US20190042070A1 (en) Method for editing display information and electronic device thereof
CN108241460A (en) Picture suspension display methods, system and computer readable storage medium
CN109460175B (en) Method and device for moving application icon, electronic terminal and medium
CN104615422A (en) Procedure customizing method for application software interface
CN112783666A (en) Clipboard content editing method and device in electronic document and storage medium
CN111897607A (en) Application interface loading and interaction method, device and storage medium
CN112099701A (en) Application icon processing method and device, storage medium and processor
CN110928611A (en) Text processing method, terminal and computer readable storage medium
CN113190365B (en) Information processing method and device and electronic equipment
WO2022068370A1 (en) Terminal-use minus-2 screen interface display method, apparatus, terminal, and medium
US20130155072A1 (en) Electronic device and method for managing files using the electronic device
CN114443567A (en) Multimedia file management method, device, electronic equipment and medium
CN112925456A (en) Display method and device and electronic equipment
CN113836872A (en) Page diagram object editing method, device, equipment and readable 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210511