[go: up one dir, main page]

CN111414734A - Document editing method and device, computer storage medium and terminal - Google Patents

Document editing method and device, computer storage medium and terminal Download PDF

Info

Publication number
CN111414734A
CN111414734A CN201910013457.9A CN201910013457A CN111414734A CN 111414734 A CN111414734 A CN 111414734A CN 201910013457 A CN201910013457 A CN 201910013457A CN 111414734 A CN111414734 A CN 111414734A
Authority
CN
China
Prior art keywords
document
format
text
copying
system clipboard
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
CN201910013457.9A
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
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology 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, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201910013457.9A priority Critical patent/CN111414734A/en
Publication of CN111414734A publication Critical patent/CN111414734A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

A method, a device, a computer storage medium and a terminal for editing a document comprise: when an operation instruction for copying the first document is received, copying the text format of the first document to a system clipboard; when the text content of the copied first document is added to a second document, format adjustment is carried out on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard. According to the embodiment of the invention, the document editing efficiency and the operation experience of the user are improved by copying the text format.

Description

一种文档编辑的方法、装置、计算机存储介质及终端A method, device, computer storage medium and terminal for editing a document

技术领域technical field

本文涉及但不限于办公应用技术,尤指一种文档编辑的方法、装置、计算机存储介质及终端。This article involves but is not limited to office application technology, especially a method, device, computer storage medium and terminal for editing a document.

背景技术Background technique

当前,对包括PDF在内的排版或内容固定的文档,在进行文本复制时,往往只能获取文本内容;将文本内容粘贴到指定文档后,需要用户手动对粘贴的文本内容进行格式调整,影响了用户的文档编辑效率和操作体验。Currently, for documents with fixed layout or content, including PDF, when copying text, only the text content is often obtained; after pasting the text content into the specified document, the user needs to manually adjust the format of the pasted text content, which affects the It improves the user's document editing efficiency and operation experience.

发明内容SUMMARY OF THE INVENTION

以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.

本发明实施例提供一种文档编辑的方法、装置、计算机存储介质及终端,能够提升用户的文档编辑效率和操作体验。Embodiments of the present invention provide a method, device, computer storage medium and terminal for editing a document, which can improve the document editing efficiency and operation experience of a user.

本发明实施例提供了一种文档编辑的方法,包括:An embodiment of the present invention provides a method for editing a document, including:

接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;When receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard;

将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。When the copied text content of the first document is added to the second document, formatting is performed on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard.

可选的,所述第一文档包括:Optionally, the first document includes:

便携式文档格式PDF文档。Portable Document Format PDF documents.

可选的,所述将第一文档的文本格式复制到系统剪切板包括:Optionally, the copying the text format of the first document to the system clipboard includes:

将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。Copy the text format of the first document to the system clipboard in the hypertext markup language HTML format.

可选的,所述接收到对第一文档进行复制的操作指令时,所述方法还包括:Optionally, when the operation instruction for copying the first document is received, the method further includes:

将所述第一文档的文本内容复制到系统剪切板。Copy the text content of the first document to the system clipboard.

可选的,所述将所述第一文档的文本内容复制到系统剪切板包括:Optionally, the copying the text content of the first document to the system clipboard includes:

将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format.

另一方面,本发明实施例还提供一种文档编辑的装置,包括:格式复制单元和调整单元;其中,On the other hand, an embodiment of the present invention also provides an apparatus for editing a document, including: a format copying unit and an adjusting unit; wherein,

格式复制单元用于:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;The format copying unit is used for: copying the text format of the first document to the system clipboard when receiving an operation instruction for copying the first document;

调整单元用于:将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。The adjustment unit is used for: when adding the copied text content of the first document to the second document, based on the text format of the first document copied to the system clipboard, adjust the text content from the first document added to the second document Make formatting adjustments.

可选的,所述第一文档包括:Optionally, the first document includes:

便携式文档格式PDF文档。Portable Document Format PDF documents.

可选的,所述格式复制单元具体用于:Optionally, the format copying unit is specifically used for:

接收到对第一文档进行复制的操作指令时,将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。When an operation instruction for copying the first document is received, the text format of the first document is copied to the system clipboard in the hypertext markup language HTML format.

可选的,所述装置还包括内容复制单元,用于:Optionally, the apparatus further includes a content copying unit for:

接收到对第一文档进行复制的操作指令时,将所述第一文档的文本内容复制到系统剪切板。When an operation instruction for copying the first document is received, the text content of the first document is copied to the system clipboard.

可选的,所述内容复制单元具体用于:Optionally, the content copying unit is specifically used for:

将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format.

再一方面,本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述文档编辑的方法。In another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for editing a document.

还一方面,本发明实施例还提供一种终端,包括:存储器和处理器;其中,In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,

处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following:

接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;When receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard;

将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。When the copied text content of the first document is added to the second document, formatting is performed on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard.

与相关技术相比,本申请技术方案包括:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。本发明实施例通过文本格式的复制,提升了用户的文档编辑效率和操作体验。Compared with the related art, the technical solution of the present application includes: when receiving an operation instruction for copying the first document, copying the text format of the first document to the system clipboard; adding the copied text content of the first document to the system clipboard; When the second document is used, the text content from the first document added to the second document is formatted based on the text format of the first document copied to the system clipboard. The embodiment of the present invention improves the user's document editing efficiency and operation experience by copying the text format.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the description, claims and drawings.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.

图1为本发明实施例文档编辑的方法的流程图;1 is a flowchart of a method for editing a document according to an embodiment of the present invention;

图2为本发明实施例文档编辑的装置的结构框图。FIG. 2 is a structural block diagram of an apparatus for editing a document according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, 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 in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

图1为本发明实施例文档编辑的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for editing a document according to an embodiment of the present invention, as shown in FIG. 1 , including:

步骤101、接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;Step 101, when receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard;

可选的,本发明实施例第一文档包括:Optionally, the first document in this embodiment of the present invention includes:

便携式文档格式PDF文档。Portable Document Format PDF documents.

可选的,本发明实施例将第一文档的文本格式复制到系统剪切板包括:Optionally, in this embodiment of the present invention, copying the text format of the first document to the system clipboard includes:

将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。Copy the text format of the first document to the system clipboard in the hypertext markup language HTML format.

步骤102、将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。Step 102: When adding the copied text content of the first document to the second document, format the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard Adjustment.

需要说明的是,本发明实施例第二文档可以包括WORD在内的进行信息编辑的文档。It should be noted that, the second document in the embodiment of the present invention may include a document for information editing including WORD.

可选的,接收到对第一文档进行复制的操作指令时,本发明实施例方法还包括:Optionally, when an operation instruction for copying the first document is received, the method according to the embodiment of the present invention further includes:

将所述第一文档的文本内容复制到系统剪切板。Copy the text content of the first document to the system clipboard.

需要说明的是,本发明实施例第一文档的文本内容也可以参照相关技术中已有的复制方式进行复制。It should be noted that, the text content of the first document in the embodiment of the present invention may also be copied by referring to the existing copying methods in the related art.

可选的,本发明实施例将所述第一文档的文本内容复制到系统剪切板包括:Optionally, in this embodiment of the present invention, copying the text content of the first document to the system clipboard includes:

将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format.

需要说明的是,本发明实施例可以借助一句代码同时实现文本格式和文本内容的复制,以下通过代码示例对将第一文档的文本格式和文本内容以HTML格式复制到系统剪切板的内容进行示例:It should be noted that, in this embodiment of the present invention, the text format and text content can be copied simultaneously with the help of a sentence of code. The following code example is used to copy the text format and text content of the first document to the system clipboard in HTML format. Example:

示例1代码为:Example 1 code is:

<p style="font-size:14.0;font=simsun;color:#ff0000">文字</p>;<p style="font-size:14.0;font=simsun;color:#ff0000">text</p>;

示例1代码表示的内容为:The content represented by the code of example 1 is:

文字,字号为:14,字体名为:simsun,颜色RGB值为:ff0000;Text, font size: 14, font name: simsun, color RGB value: ff0000;

示例2代码为:Example 2 code is:

<p style="font-size:14.0;font=simsun;color:#000000;font-weight:bold">文字</p><p style="font-size:14.0;font=simsun;color:#000000;font-weight:bold">text</p>

示例2代码表示的内容为:The content represented by the code of example 2 is:

文字,字号为:14,字体名为:simsun,颜色RGB值为:000000,同时加粗。Text, font size: 14, font name: simsun, color RGB value: 000000, and bold.

与相关技术相比,本申请技术方案包括:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。本发明实施例通过文本格式的复制,提升了用户的文档编辑效率和操作体验。Compared with the related art, the technical solution of the present application includes: when receiving an operation instruction for copying the first document, copying the text format of the first document to the system clipboard; adding the copied text content of the first document to the system clipboard; When the second document is used, the text content from the first document added to the second document is formatted based on the text format of the first document copied to the system clipboard. The embodiment of the present invention improves the user's document editing efficiency and operation experience by copying the text format.

图2为本发明实施例文档编辑的装置的结构框图,如图2所示,包括:格式复制单元和调整单元;其中,FIG. 2 is a structural block diagram of an apparatus for editing a document according to an embodiment of the present invention. As shown in FIG. 2 , it includes: a format copying unit and an adjusting unit; wherein,

格式复制单元用于:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;The format copying unit is used for: copying the text format of the first document to the system clipboard when receiving an operation instruction for copying the first document;

调整单元用于:将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。The adjustment unit is used for: when adding the copied text content of the first document to the second document, based on the text format of the first document copied to the system clipboard, adjust the text content from the first document added to the second document Make formatting adjustments.

需要说明的是,本发明实施例第二文档可以包括WORD在内的进行信息编辑的文档。It should be noted that, the second document in the embodiment of the present invention may include a document for information editing including WORD.

可选的,本发明实施例第一文档包括:Optionally, the first document in this embodiment of the present invention includes:

便携式文档格式PDF文档。Portable Document Format PDF documents.

可选的,本发明实施例格式复制单元具体用于:Optionally, the format copying unit in this embodiment of the present invention is specifically used for:

接收到对第一文档进行复制的操作指令时,将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。When an operation instruction for copying the first document is received, the text format of the first document is copied to the system clipboard in the hypertext markup language HTML format.

可选的,本发明实施例装置还包括内容复制单元,用于:Optionally, the apparatus according to the embodiment of the present invention further includes a content copying unit, configured to:

接收到对第一文档进行复制的操作指令时,将所述第一文档的文本内容复制到系统剪切板。When an operation instruction for copying the first document is received, the text content of the first document is copied to the system clipboard.

需要说明的是,本发明实施例第一文档的文本内容也可以参照相关技术中已有的复制方式进行复制。It should be noted that, the text content of the first document in the embodiment of the present invention may also be copied by referring to the existing copying methods in the related art.

可选的,本发明实施例内容复制单元具体用于:Optionally, the content copying unit in this embodiment of the present invention is specifically used for:

将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format.

需要说明的是,本发明实施例可以借助一句代码同时实现文本格式和文本内容的复制,以下通过代码示例对将第一文档的文本格式和文本内容以HTML格式复制到系统剪切板的内容进行示例:It should be noted that, in this embodiment of the present invention, the text format and text content can be copied simultaneously with the help of a sentence of code. The following code example is used to copy the text format and text content of the first document to the system clipboard in HTML format. Example:

示例1代码为:Example 1 code is:

<p style="font-size:14.0;font=simsun;color:#ff0000">文字</p>;<p style="font-size:14.0;font=simsun;color:#ff0000">text</p>;

示例1代码表示的内容为:The content represented by the code of example 1 is:

文字,字号为:14,字体名为:simsun,颜色RGB值为:ff0000;Text, font size: 14, font name: simsun, color RGB value: ff0000;

示例2代码为:Example 2 code is:

<p style="font-size:14.0;font=simsun;color:#000000;font-weight:bold">文字</p><p style="font-size:14.0;font=simsun;color:#000000;font-weight:bold">text</p>

示例2代码表示的内容为:The content represented by the code of example 2 is:

文字,字号为:14,字体名为:simsun,颜色RGB值为:000000,同时加粗。Text, font size: 14, font name: simsun, color RGB value: 000000, and bold.

与相关技术相比,本申请技术方案包括:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。本发明实施例通过文本格式的复制,提升了用户的文档编辑效率和操作体验。Compared with the related art, the technical solution of the present application includes: when receiving an operation instruction for copying the first document, copying the text format of the first document to the system clipboard; adding the copied text content of the first document to the system clipboard; When the second document is used, the text content from the first document added to the second document is formatted based on the text format of the first document copied to the system clipboard. The embodiment of the present invention improves the user's document editing efficiency and operation experience by copying the text format.

本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述文档编辑的方法。An embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for editing a document.

本发明实施例还提供一种终端,包括:存储器和处理器;其中,An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,

处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following:

接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;When receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard;

将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。When the copied text content of the first document is added to the second document, formatting is performed on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。Those of ordinary skill in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware (such as a processor) through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk Wait. Optionally, all or part of the steps in the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above-mentioned embodiments can be implemented in the form of hardware, for example, an integrated circuit to implement its corresponding function, or it can be implemented in the form of a software function module, for example, a processor executes a function stored in a memory. program/instruction to achieve its corresponding function. The present invention is not limited to any particular form of combination of hardware and software.

虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of the patent protection of the present invention still needs to be The scope defined by the appended claims shall prevail.

Claims (12)

1.一种文档编辑的方法,其特征在于,包括:1. a method for document editing, is characterized in that, comprises: 接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;When receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard; 将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。When the copied text content of the first document is added to the second document, formatting is performed on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard. 2.根据权利要求1所述的方法,其特征在于,所述第一文档包括:2. The method of claim 1, wherein the first document comprises: 便携式文档格式PDF文档。Portable Document Format PDF documents. 3.根据权利要求1或2所述的方法,其特征在于,所述将第一文档的文本格式复制到系统剪切板包括:3. The method according to claim 1 or 2, wherein the copying the text format of the first document to the system clipboard comprises: 将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。Copy the text format of the first document to the system clipboard in the hypertext markup language HTML format. 4.根据权利要求1或2所述的方法,其特征在于,所述接收到对第一文档进行复制的操作指令时,所述方法还包括:4. The method according to claim 1 or 2, wherein when the operation instruction for copying the first document is received, the method further comprises: 将所述第一文档的文本内容复制到系统剪切板。Copy the text content of the first document to the system clipboard. 5.根据权利要求4所述的方法,其特征在于,所述将所述第一文档的文本内容复制到系统剪切板包括:5. The method according to claim 4, wherein the copying the text content of the first document to the system clipboard comprises: 将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format. 6.一种文档编辑的装置,其特征在于,包括:格式复制单元和调整单元;其中,6. A device for editing a document, comprising: a format copying unit and an adjusting unit; wherein, 格式复制单元用于:接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;The format copying unit is used for: copying the text format of the first document to the system clipboard when receiving an operation instruction for copying the first document; 调整单元用于:将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。The adjustment unit is used for: when adding the copied text content of the first document to the second document, based on the text format of the first document copied to the system clipboard, adjust the text content from the first document added to the second document Make formatting adjustments. 7.根据权利要求6所述的装置,其特征在于,所述第一文档包括:7. The apparatus of claim 6, wherein the first document comprises: 便携式文档格式PDF文档。Portable Document Format PDF documents. 8.根据权利要求6或7所述的装置,其特征在于,所述格式复制单元具体用于:8. The device according to claim 6 or 7, wherein the format copying unit is specifically used for: 接收到对第一文档进行复制的操作指令时,将所述第一文档的文本格式以超文本标记语言HTML格式复制到系统剪切板。When an operation instruction for copying the first document is received, the text format of the first document is copied to the system clipboard in the hypertext markup language HTML format. 9.根据权利要求6或7所述的装置,其特征在于,所述装置还包括内容复制单元,用于:9. The apparatus according to claim 6 or 7, characterized in that, the apparatus further comprises a content duplication unit, for: 接收到对第一文档进行复制的操作指令时,将所述第一文档的文本内容复制到系统剪切板。When an operation instruction for copying the first document is received, the text content of the first document is copied to the system clipboard. 10.根据权利要求9所述的装置,其特征在于,所述内容复制单元具体用于:10. The apparatus according to claim 9, wherein the content copying unit is specifically used for: 将所述第一文档的文本内容以超文本标记语言HTML格式复制到系统剪切板。Copy the text content of the first document to the system clipboard in HTML format. 11.一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~5中任一项所述的文档编辑的方法。11 . A computer storage medium storing computer-executable instructions, the computer-executable instructions being used to execute the method for editing a document according to any one of claims 1 to 5 . 12.一种终端,包括:存储器和处理器;其中,12. A terminal, comprising: a memory and a processor; wherein, 处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory; 程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following: 接收到对第一文档进行复制的操作指令时,将第一文档的文本格式复制到系统剪切板;When receiving the operation instruction to copy the first document, copy the text format of the first document to the system clipboard; 将复制的第一文档的文本内容添加至第二文档时,基于复制至系统剪切板的第一文档的文本格式,对添加至第二文档的来自第一文档的文本内容进行格式调整。When the copied text content of the first document is added to the second document, formatting is performed on the text content from the first document added to the second document based on the text format of the first document copied to the system clipboard.
CN201910013457.9A 2019-01-07 2019-01-07 Document editing method and device, computer storage medium and terminal Pending CN111414734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910013457.9A CN111414734A (en) 2019-01-07 2019-01-07 Document editing method and device, computer storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910013457.9A CN111414734A (en) 2019-01-07 2019-01-07 Document editing method and device, computer storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111414734A true CN111414734A (en) 2020-07-14

Family

ID=71492543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910013457.9A Pending CN111414734A (en) 2019-01-07 2019-01-07 Document editing method and device, computer storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111414734A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
US20140250369A1 (en) * 2005-04-29 2014-09-04 Macromedia, Inc. Interactive special paste
CN104199873A (en) * 2014-08-19 2014-12-10 深圳市兴森快捷电路科技股份有限公司 PCB design drawing device search method and system based on PDF circuit diagram
CN107943770A (en) * 2017-11-13 2018-04-20 深圳开思时代科技有限公司 Web page form speed input method and device based on spare and accessory parts transaction platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140250369A1 (en) * 2005-04-29 2014-09-04 Macromedia, Inc. Interactive special paste
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
CN104199873A (en) * 2014-08-19 2014-12-10 深圳市兴森快捷电路科技股份有限公司 PCB design drawing device search method and system based on PDF circuit diagram
CN107943770A (en) * 2017-11-13 2018-04-20 深圳开思时代科技有限公司 Web page form speed input method and device based on spare and accessory parts transaction platform

Similar Documents

Publication Publication Date Title
JP4954978B2 (en) Determining fields for presentable files and Extensible Markup Language schema for bibliography and citations
JP4880191B2 (en) System and method for supporting non-native XML within native XML of word processing documents
US20100318894A1 (en) Modifications to Editable Elements of Web Pages Rendered in Word Processor Applications
US20040172584A1 (en) Method and system for enhancing paste functionality of a computer software application
EP1672524A2 (en) Systems and methods for converting a formatted document to a web page
JP2004086883A (en) Word processing document stored in single xml file operated with application which understands xml
JP2006236321A (en) Data store for software application documents
US9141596B2 (en) System and method for processing markup language templates from partial input data
CN104346322A (en) Document format processing device and document format processing method
US7865481B2 (en) Changing documents to include changes made to schemas
CN105824788B (en) A kind of method and system that PowerPoint file is converted to word document
CN102298575A (en) Method and system for copying and pasting Word file content with format
CA2823624C (en) Systems, methods, and interfaces for pagination and display on an access device
CN110737860A (en) rich text picture insertion method and device
US20200134005A1 (en) Exposing Annotations in a Document
CN104216868B (en) A kind of adaptation method and device of document display format
US7793224B1 (en) Methods and apparatus for formatting identified content
KR102013620B1 (en) Web based document editing server for changing template of web based document and operating method thereof
CN111414734A (en) Document editing method and device, computer storage medium and terminal
JP2011233104A (en) Information processing system, information processor, information processing method, program, and recording medium
CN111104805A (en) Translation processing method and device, computer storage medium and terminal
CN115329782A (en) Language translation method, device, electronic device and storage medium
CN112052655A (en) A method, device, computer storage medium and terminal for page processing
CN112818642B (en) Method and device for converting PDF (Portable document Format) file into form file, computer equipment and storage medium
CN111581921A (en) A text editing method, device, computer storage medium and terminal

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: 20200714