1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textswriterguidesection_insertxml" indexer="include" status="PUBLISH"> 27<title xml-lang="en-US" id="tit">Inserting Sections</title> 28<filename>/text/swriter/guide/section_insert.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"> 33<bookmark_value>sections; inserting</bookmark_value> 34<bookmark_value>inserting; sections</bookmark_value> 35<bookmark_value>HTML documents;inserting linked sections</bookmark_value> 36<bookmark_value>updating;linked sections, manually</bookmark_value> 37<bookmark_value>links;inserting sections</bookmark_value> 38</bookmark> 39<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U" 40oldref="16"><variable id="section_insert"><link href="text/swriter/guide/section_insert.xhp" name="Inserting Sections">Inserting Sections</link> 41</variable></paragraph> 42<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> 43<paragraph xml-lang="en-US" id="hd_id3155863" role="heading" level="2" l10n="U" 44oldref="27">To Insert a New Section</paragraph> 45<list type="ordered"> 46<listitem> 47<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> 48<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> 49</listitem> 50<listitem> 51<paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U" oldref="24">Choose <emph>Insert - Section</emph>.</paragraph> 52</listitem> 53<listitem> 54<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> 55</listitem> 56<listitem> 57<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> 58</listitem> 59</list> 60<paragraph xml-lang="en-US" id="hd_id3149635" role="heading" level="2" l10n="U" 61oldref="30">To Insert a Section as a Link</paragraph> 62<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> 63<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> 64<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> 65<list type="ordered"> 66<listitem> 67<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> 68</listitem> 69<listitem> 70<paragraph xml-lang="en-US" id="par_id3156241" role="listitem" l10n="U" oldref="33">Choose <emph>Insert - Section</emph>.</paragraph> 71</listitem> 72<listitem> 73<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> 74</listitem> 75<listitem> 76<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. 77</caseinline></switchinline></paragraph> 78</listitem> 79<listitem> 80<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> 81</listitem> 82<listitem> 83<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> 84</listitem> 85<listitem> 86<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> 87</listitem> 88<listitem> 89<paragraph xml-lang="en-US" id="par_id3150003" role="listitem" l10n="U" oldref="39">Click <emph>Insert</emph>.</paragraph> 90</listitem> 91</list> 92<embed href="text/shared/00/00000004.xhp#related"/> 93<embed href="text/swriter/guide/sections.xhp#sections"/> 94<embed href="text/swriter/guide/section_edit.xhp#section_edit"/> 95</body> 96</helpdocument> 97