1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29      <topic id="textswriterguidesection_insertxml" indexer="include" status="PUBLISH">
30         <title xml-lang="en-US" id="tit">Inserting Sections</title>
31         <filename>/text/swriter/guide/section_insert.xhp</filename>
32      </topic>
33   </meta>
34   <body>
35<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"><bookmark_value>sections; inserting</bookmark_value>
36      <bookmark_value>inserting; sections</bookmark_value>
37      <bookmark_value>HTML documents;inserting linked sections</bookmark_value>
38      <bookmark_value>updating;linked sections, manually</bookmark_value>
39      <bookmark_value>links;inserting sections</bookmark_value>
40</bookmark>
41<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U"
42                 oldref="16"><variable id="section_insert"><link href="text/swriter/guide/section_insert.xhp" name="Inserting Sections">Inserting Sections</link>
43</variable></paragraph>
44      <paragraph xml-lang="en-US" id="par_id3155917" role="paragraph" l10n="U" oldref="26">You can insert new sections, or links to sections in other documents into the current document. If you insert a section as a link, the content of the link changes when you modify the source document.</paragraph>
45      <paragraph xml-lang="en-US" id="hd_id3155863" role="heading" level="2" l10n="U"
46                 oldref="27">To Insert a New Section</paragraph>
47      <list type="ordered">
48         <listitem>
49            <paragraph xml-lang="en-US" id="par_id3149843" role="listitem" l10n="U" oldref="23">Click in your document where you want to insert a new section, or select the text that you want to convert to a section.</paragraph>
50            <paragraph xml-lang="en-US" id="par_id3156103" role="listitem" l10n="U" oldref="28">If you select a text that occurs within a paragraph, the text is automatically converted into a new paragraph.</paragraph>
51         </listitem>
52         <listitem>
53            <paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U" oldref="24">Choose <emph>Insert - Section</emph>.</paragraph>
54         </listitem>
55         <listitem>
56            <paragraph xml-lang="en-US" id="par_id3153404" role="listitem" l10n="U" oldref="29">In the <item type="menuitem">New Section</item> box, type a name for the section.</paragraph>
57         </listitem>
58         <listitem>
59            <paragraph xml-lang="en-US" id="par_id3153127" role="listitem" l10n="U" oldref="25">Set the options for the section, and then click <emph>Insert</emph>.</paragraph>
60         </listitem>
61      </list>
62      <paragraph xml-lang="en-US" id="hd_id3149635" role="heading" level="2" l10n="U"
63                 oldref="30">To Insert a Section as a Link</paragraph>
64      <paragraph xml-lang="en-US" id="par_id3149648" role="paragraph" l10n="U" oldref="31">Before you can insert a section as link, you must first create sections in the source document.</paragraph>
65      <paragraph xml-lang="en-US" id="par_id3149611" role="paragraph" l10n="U" oldref="18">When you open a document that contains linked sections, $[officename] prompts you to update the contents of the sections. To manually update a link, choose <emph>Tools - Update - Links</emph>.</paragraph>
66      <paragraph xml-lang="en-US" id="par_id3149860" role="paragraph" l10n="U" oldref="22">You can also insert linked sections in HTML documents. When you view the page in a web browser, the content of the sections corresponds to the content of the sections at the time the HTML document was last saved.</paragraph>
67      <list type="ordered">
68         <listitem>
69            <paragraph xml-lang="en-US" id="par_id3145104" role="listitem" l10n="U" oldref="32">Click in your document where you want to insert the linked section.</paragraph>
70         </listitem>
71         <listitem>
72            <paragraph xml-lang="en-US" id="par_id3156241" role="listitem" l10n="U" oldref="33">Choose <emph>Insert - Section</emph>.</paragraph>
73         </listitem>
74         <listitem>
75            <paragraph xml-lang="en-US" id="par_id3153363" role="listitem" l10n="U" oldref="34">In the <item type="menuitem">New Section</item> box, type a name for the section.</paragraph>
76         </listitem>
77         <listitem>
78            <paragraph xml-lang="en-US" id="par_id3153387" role="listitem" l10n="U" oldref="35">In the <item type="menuitem">Link</item> area, select the <item type="menuitem">Link</item> check box. <switchinline select="sys"><caseinline select="WIN">Under Windows, you can also select the <item type="menuitem">DDE</item> check box to automatically update the contents of the section when the section in the source document is changed.
79</caseinline></switchinline></paragraph>
80         </listitem>
81         <listitem>
82            <paragraph xml-lang="en-US" id="par_id3154852" role="listitem" l10n="U" oldref="36">Click the browse button (<item type="menuitem">...</item>) next to the <item type="menuitem">File name</item> box.</paragraph>
83         </listitem>
84         <listitem>
85            <paragraph xml-lang="en-US" id="par_id3155882" role="listitem" l10n="U" oldref="37">Locate the document containing the section that you want to link to, and then click <emph>Insert</emph>.</paragraph>
86         </listitem>
87         <listitem>
88            <paragraph xml-lang="en-US" id="par_id3149978" role="listitem" l10n="U" oldref="38">In the <item type="menuitem">Section</item> box, select the section that you want to insert.</paragraph>
89         </listitem>
90         <listitem>
91            <paragraph xml-lang="en-US" id="par_id3150003" role="listitem" l10n="U" oldref="39">Click <emph>Insert</emph>.</paragraph>
92         </listitem>
93      </list>
94      <embed href="text/shared/00/00000004.xhp#related"/>
95      <embed href="text/swriter/guide/sections.xhp#sections"/>
96      <embed href="text/swriter/guide/section_edit.xhp#section_edit"/>
97   </body>
98</helpdocument>