1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguidetextdoc_inframexml" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Inserting an Entire Text Document</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/textdoc_inframe.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3155185"><bookmark_value>sections;inserting external content</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>text documents;merging</bookmark_value>
37*b1cdbd2cSJim Jagielski      <bookmark_value>links;inserting text documents as</bookmark_value>
38*b1cdbd2cSJim Jagielski      <bookmark_value>inserting;text documents</bookmark_value>
39*b1cdbd2cSJim Jagielski</bookmark><comment>mw deleted "text;"</comment>
40*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3155185" role="heading" level="1" l10n="U"
41*b1cdbd2cSJim Jagielski                 oldref="23"><variable id="textdoc_inframe"><link href="text/swriter/guide/textdoc_inframe.xhp" name="Inserting an Entire Text Document">Inserting an Entire Text Document</link>
42*b1cdbd2cSJim Jagielski</variable></paragraph>
43*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id1812799" role="heading" level="2" l10n="NEW">To Insert a Text File</paragraph>
44*b1cdbd2cSJim Jagielski      <list type="ordered">
45*b1cdbd2cSJim Jagielski         <listitem>
46*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3155855" role="listitem" l10n="U" oldref="28">Place the cursor in the document where you want to insert the file.</paragraph>
47*b1cdbd2cSJim Jagielski         </listitem>
48*b1cdbd2cSJim Jagielski         <listitem>
49*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3147412" role="listitem" l10n="U" oldref="30">Choose <emph>Insert - File</emph>.</paragraph>
50*b1cdbd2cSJim Jagielski         </listitem>
51*b1cdbd2cSJim Jagielski         <listitem>
52*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3149839" role="listitem" l10n="U" oldref="31">Locate the text document that you want to insert, and then click <emph>OK</emph>.</paragraph>
53*b1cdbd2cSJim Jagielski         </listitem>
54*b1cdbd2cSJim Jagielski      </list>
55*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3148858" role="paragraph" l10n="U" oldref="32">The contents of the text document are embedded into the current document and are not updated if the source file is changed. If you want the contents to automatically update when you change the source document, insert the file as a link.</paragraph>
56*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3156105" role="heading" level="2" l10n="U"
57*b1cdbd2cSJim Jagielski                 oldref="33">To Insert an Entire Text Document as a Link</paragraph>
58*b1cdbd2cSJim Jagielski      <list type="ordered">
59*b1cdbd2cSJim Jagielski         <listitem>
60*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3150096" role="listitem" l10n="U" oldref="34">Place the cursor in the document where you want to insert the file.</paragraph>
61*b1cdbd2cSJim Jagielski         </listitem>
62*b1cdbd2cSJim Jagielski         <listitem>
63*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153404" role="listitem" l10n="U" oldref="35">Choose <emph>Insert - Section</emph>.</paragraph>
64*b1cdbd2cSJim Jagielski         </listitem>
65*b1cdbd2cSJim Jagielski         <listitem>
66*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153127" role="listitem" l10n="U" oldref="36">Type a name in the <emph>New Section</emph> box, and then select the <emph>Link</emph> check box.</paragraph>
67*b1cdbd2cSJim Jagielski         </listitem>
68*b1cdbd2cSJim Jagielski         <listitem>
69*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3149642" role="listitem" l10n="U" oldref="37">In the <item type="menuitem">File Name</item>
70*b1cdbd2cSJim Jagielski               <emph/>box, type the name of the file that you want to insert, or click the browse button (<item type="menuitem">...</item>) and locate the file.</paragraph>
71*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3149968" role="listitem" l10n="U" oldref="38">If the target text document contains sections, you can select the section that you want to insert in the<emph/>
72*b1cdbd2cSJim Jagielski               <item type="menuitem">Sections</item> box.</paragraph>
73*b1cdbd2cSJim Jagielski         </listitem>
74*b1cdbd2cSJim Jagielski         <listitem>
75*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3149619" role="listitem" l10n="U" oldref="39">If you want, set the formatting options for the section.</paragraph>
76*b1cdbd2cSJim Jagielski         </listitem>
77*b1cdbd2cSJim Jagielski         <listitem>
78*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3149862" role="listitem" l10n="U" oldref="40">Click <emph>Insert</emph>.</paragraph>
79*b1cdbd2cSJim Jagielski         </listitem>
80*b1cdbd2cSJim Jagielski      </list>
81*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3145099" role="paragraph" l10n="U" oldref="41">$[officename] automatically updates the contents of the inserted section whenever the source document is changed. To manually update the contents of the section, choose <emph>Tools - Update - Update All</emph>.</paragraph>
82*b1cdbd2cSJim Jagielski      <embed href="text/shared/00/00000004.xhp#related"/>
83*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/text_frame.xhp#text_frame"/>
84*b1cdbd2cSJim Jagielski   </body>
85*b1cdbd2cSJim Jagielski</helpdocument>