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>
57               <emph/>box, type a name for the section.</paragraph>
58         </listitem>
59         <listitem>
60            <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>
61         </listitem>
62      </list>
63      <paragraph xml-lang="en-US" id="hd_id3149635" role="heading" level="2" l10n="U"
64                 oldref="30">To Insert a Section as a Link</paragraph>
65      <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>
66      <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>
67      <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>
68      <list type="ordered">
69         <listitem>
70            <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>
71         </listitem>
72         <listitem>
73            <paragraph xml-lang="en-US" id="par_id3156241" role="listitem" l10n="U" oldref="33">Choose <emph>Insert - Section</emph>.</paragraph>
74         </listitem>
75         <listitem>
76            <paragraph xml-lang="en-US" id="par_id3153363" role="listitem" l10n="U" oldref="34">In the <item type="menuitem">New Section</item>
77               <emph/>box, type a name for the section.</paragraph>
78         </listitem>
79         <listitem>
80            <paragraph xml-lang="en-US" id="par_id3153387" role="listitem" l10n="U" oldref="35">In the <item type="menuitem">Link</item>
81               <emph/>area, select the <item type="menuitem">Link</item>
82               <emph/>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.
83</caseinline></switchinline></paragraph>
84         </listitem>
85         <listitem>
86            <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>
87               <emph/>box.</paragraph>
88         </listitem>
89         <listitem>
90            <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>
91         </listitem>
92         <listitem>
93            <paragraph xml-lang="en-US" id="par_id3149978" role="listitem" l10n="U" oldref="38">In the <item type="menuitem">Section</item>
94               <emph/>box, select the section that you want to insert.</paragraph>
95         </listitem>
96         <listitem>
97            <paragraph xml-lang="en-US" id="par_id3150003" role="listitem" l10n="U" oldref="39">Click <emph>Insert</emph>.</paragraph>
98         </listitem>
99      </list>
100      <embed href="text/shared/00/00000004.xhp#related"/>
101      <embed href="text/swriter/guide/sections.xhp#sections"/>
102      <embed href="text/swriter/guide/section_edit.xhp#section_edit"/>
103   </body>
104</helpdocument>