如何将一个Word文档的内容插入另一个

本文介绍如何在Office 2016中将一个Word文档的内容(文本、图片等)插入到另一个文档,即使在无网络环境下,也提供步骤指导。重点讲解了如何通过对象功能插入文件内容,以及如何处理源文件样式和文本文件的特殊处理。
摘要由CSDN通过智能技术生成
00_lead_image_insert_text_from_another_file

When working on a document in Word, you may find that you need to insert text from another Word document. Maybe you’re collaborating with others and combining multiple pieces, for example.

在Word中处理文档时,您可能会发现需要从另一个Word文档中插入文本。 例如,也许您正在与其他人合作并合并多个作品。

There is a better way to collaborate on documents in Office 2016, but there may be times when a fellow collaborator needs to work offline and they send you a document to integrate into the main document. So, we’ll show you how to insert the contents of a Word file into another Word file for situations where online collaboration is not an option. (Sure, you could just open the second document and copy and paste its text, but the method below is often faster.)

在Office 2016中,有一种更好的文档协作方式,但是有时协作伙伴需要脱机工作,他们会向您发送文档以集成到主文档中。 因此,我们将向您展示如何在无法进行在线协作的情况下将Word文件的内容插入另一个Word文件。 (当然,您可以打开第二个文档并复制并粘贴其文本,但是下面的方法通常更快。)

For the purposes of this article, we’ll call the file being inserted the “source” file and the file into which you are inserting the source file the “target” file.

出于本文的目的,我们将插入的文件称为“源”文件,将要插入源文件的文件称为“目标”文件。

To insert the contents of a source Word file into a target Word file, open the target document, place the cursor where you want to insert the source file, and then click the “Insert” tab.

要将源Word文件的内容插入到目标Word文件中,请打开目标文档,将光标放在要插入源文件的位置,然后单击“插入”选项卡。

01_clicking_insert_tab

In the “Text” section, click the “Object” button and select “Text from File” from the drop-down menu.

在“文本”部分中,单击“对象”按钮,然后从下拉菜单中选择“文件中的文本”。

02_selecting_text_from_file

The “Insert File” dialog box displays. Navigate to the folder that contains the source file you want to insert and select the file. Then, click “Insert”.

显示“插入文件”对话框。 导航到包含要插入的源文件的文件夹,然后选择文件。 然后,单击“插入”。

NOTE: You can also insert text from a text (.txt) file.

注意:您还可以从文本(.txt)文件插入文本。

03_selecting_word_file_to_insert

The entire contents of the source file (text, images, tables, etc.) will be inserted at the cursor in the target document.

源文件的全部内容(文本,图像,表格等)将插入目标文档中的光标处。

04_text_inserted

When inserting text from a source document that has styles using the same names as in the target document (for example, the “Normal” style), the style in the target document takes precedence. If you want to keep the formatting of the text from the source document, make sure the style applied to that text in the source document has a different name than any of the styles in the target document. So, if you want the text from the source document to look like the text in the target document, such that the formatting is consistent, you’re good. All you have to do is insert the file or part of the file as we described in this article.

从具有与目标文档中相同名称的样式的源文档中插入文本时(例如,“普通”样式),目标文档中的样式优先。 如果要保留源文档中文本的格式,请确保应用于源文档中该文本的样式的名称与目标文档中的任何样式均不同。 因此,如果您希望源文档中的文本看起来像目标文档中的文本,并且格式一致,那么您就很好。 您所要做的就是按照本文中的描述插入文件或文件的一部分。



You can also insert text from a text (.txt) file, but you have to insert the entire file in that case, because you cannot add bookmarks to text files.

您也可以从文本(.txt)文件插入文本,但是在这种情况下,您必须插入整个文件,因为您不能在文本文件中添加书签。

We previously described a trick where can put common content into one Word document and reference it in other Word documents. The content will even automatically update in all your documents if you change it in the common document because the two are linked using a field. That feature is different from inserting files as described in this article because when you insert content from a source file into a target file, there is no link between the source file and the target file. So, when you change the content in the source file that content is not updated in the target file.

前面我们描述了一种技巧,可以将公共内容放入一个Word文档中,并在其他Word文档中进行引用。 如果您在公共文档中更改内容,则该内容甚至会自动更新所有文档中的内容,因为这两个字段是通过字段链接在一起的。 该功能与本文所述的插入文件不同,因为当您将内容从源文件插入目标文件时,源文件与目标文件之间没有链接。 因此,当您更改源文件中的内容时,该内容不会在目标文件中更新。

翻译自: https://www.howtogeek.com/243422/how-to-insert-the-contents-of-one-word-document-into-another/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值