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"><variable id="section_insert"><link href="text/swriter/guide/section_insert.xhp" name="Inserting Sections">Inserting Sections</link> 40</variable></paragraph> 41<paragraph xml-lang="en-US" id="par_id3155917" role="paragraph" l10n="U">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> 42<paragraph xml-lang="en-US" id="hd_id3155863" role="heading" level="2" l10n="U">To Insert a New Section</paragraph> 43<list type="ordered"> 44<listitem> 45<paragraph xml-lang="en-US" id="par_id3149843" role="listitem" l10n="U">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> 46<paragraph xml-lang="en-US" id="par_id3156103" role="listitem" l10n="U">If you select a text that occurs within a paragraph, the text is automatically converted into a new paragraph.</paragraph> 47</listitem> 48<listitem> 49<paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U">Choose <emph>Insert - Section</emph>.</paragraph> 50</listitem> 51<listitem> 52<paragraph xml-lang="en-US" id="par_id3153404" role="listitem" l10n="U">In the <item type="menuitem">New Section</item> box, type a name for the section.</paragraph> 53</listitem> 54<listitem> 55<paragraph xml-lang="en-US" id="par_id3153127" role="listitem" l10n="U">Set the options for the section, and then click <emph>Insert</emph>.</paragraph> 56</listitem> 57</list> 58<paragraph xml-lang="en-US" id="hd_id3149635" role="heading" level="2" l10n="U">To Insert a Section as a Link</paragraph> 59<paragraph xml-lang="en-US" id="par_id3149648" role="paragraph" l10n="U">Before you can insert a section as link, you must first create sections in the source document.</paragraph> 60<paragraph xml-lang="en-US" id="par_id3149611" role="paragraph" l10n="U">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> 61<paragraph xml-lang="en-US" id="par_id3149860" role="paragraph" l10n="U">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> 62<list type="ordered"> 63<listitem> 64<paragraph xml-lang="en-US" id="par_id3145104" role="listitem" l10n="U">Click in your document where you want to insert the linked section.</paragraph> 65</listitem> 66<listitem> 67<paragraph xml-lang="en-US" id="par_id3156241" role="listitem" l10n="U">Choose <emph>Insert - Section</emph>.</paragraph> 68</listitem> 69<listitem> 70<paragraph xml-lang="en-US" id="par_id3153363" role="listitem" l10n="U">In the <item type="menuitem">New Section</item> box, type a name for the section.</paragraph> 71</listitem> 72<listitem> 73<paragraph xml-lang="en-US" id="par_id3153387" role="listitem" l10n="U">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. 74</caseinline></switchinline></paragraph> 75</listitem> 76<listitem> 77<paragraph xml-lang="en-US" id="par_id3154852" role="listitem" l10n="U">Click the browse button (<item type="menuitem">...</item>) next to the <item type="menuitem">File name</item> box.</paragraph> 78</listitem> 79<listitem> 80<paragraph xml-lang="en-US" id="par_id3155882" role="listitem" l10n="U">Locate the document containing the section that you want to link to, and then click <emph>Insert</emph>.</paragraph> 81</listitem> 82<listitem> 83<paragraph xml-lang="en-US" id="par_id3149978" role="listitem" l10n="U">In the <item type="menuitem">Section</item> box, select the section that you want to insert.</paragraph> 84</listitem> 85<listitem> 86<paragraph xml-lang="en-US" id="par_id3150003" role="listitem" l10n="U">Click <emph>Insert</emph>.</paragraph> 87</listitem> 88</list> 89<embed href="text/shared/00/00000004.xhp#related"/> 90<embed href="text/swriter/guide/sections.xhp#sections"/> 91<embed href="text/swriter/guide/section_edit.xhp#section_edit"/> 92</body> 93</helpdocument> 94