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="textswriterguideusing_hyphenxml" indexer="include" status="PUBLISH"> 30 <title xml-lang="en-US" id="tit">Hyphenation</title> 31 <filename>/text/swriter/guide/using_hyphen.xhp</filename> 32 </topic> 33 </meta> 34 <body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"><bookmark_value>hyphenation;manual/automatic</bookmark_value> 36 <bookmark_value>separation, see hyphenation</bookmark_value> 37 <bookmark_value>automatic hyphenation in text</bookmark_value> 38 <bookmark_value>manual hyphenation in text</bookmark_value> 39</bookmark><comment>mw transferred 2 entries to hyphen_prevent.xhp</comment> 40<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U" 41 oldref="20"><variable id="using_hyphen"><link href="text/swriter/guide/using_hyphen.xhp" name="Hyphenation">Hyphenation</link> 42</variable></paragraph> 43 <paragraph xml-lang="en-US" id="par_id3155918" role="paragraph" l10n="U" oldref="31">By default, $[officename] moves words that do not fit on a line to the next line. If you want, you can use automatic or manual hyphenation to avoid this behavior: </paragraph> 44 <paragraph xml-lang="en-US" id="hd_id3155864" role="heading" level="2" l10n="U" 45 oldref="30">Automatic Hyphenation</paragraph> 46 <paragraph xml-lang="en-US" id="par_id3147414" role="paragraph" l10n="U" oldref="22">Automatic hyphenation inserts hyphens where they are needed in a paragraph. This option is only available for paragraph styles and individual paragraphs.</paragraph> 47 <paragraph xml-lang="en-US" id="hd_id3149832" role="heading" level="3" l10n="U" 48 oldref="51">To Automatically Hyphenate Text in a Paragraph</paragraph> 49 <list type="ordered"> 50 <listitem> 51 <paragraph xml-lang="en-US" id="par_id3148850" role="listitem" l10n="U" oldref="32">Right-click in a paragraph, and choose <emph>Paragraph</emph>.</paragraph> 52 </listitem> 53 <listitem> 54 <paragraph xml-lang="en-US" id="par_id3156104" role="listitem" l10n="U" oldref="34">Click the <link href="text/swriter/01/05030200.xhp" name="Text Flow"><emph>Text Flow</emph></link> tab.</paragraph> 55 </listitem> 56 <listitem> 57 <paragraph xml-lang="en-US" id="par_id3150101" role="listitem" l10n="U" oldref="35">In the Hyphenation area, select the Automatically check box.</paragraph> 58 </listitem> 59 <listitem> 60 <paragraph xml-lang="en-US" id="par_id3153121" role="listitem" l10n="U" oldref="52">Click <emph>OK</emph>.</paragraph> 61 </listitem> 62 </list> 63 <paragraph xml-lang="en-US" id="hd_id3149629" role="heading" level="3" l10n="U" 64 oldref="53">To Automatically Hyphenate Text in Multiple Paragraphs</paragraph> 65 <paragraph xml-lang="en-US" id="par_id3149644" role="paragraph" l10n="U" oldref="33">If you want to automatically hyphenate more than one paragraph, use a paragraph style.</paragraph> 66 <paragraph xml-lang="en-US" id="par_id3149956" role="paragraph" l10n="U" oldref="48">For example, enable the automatic hyphenation option for the "Default" paragraph style, and then apply the style to the paragraphs that you want to hyphenate.</paragraph> 67 <list type="ordered"> 68 <listitem> 69 <paragraph xml-lang="en-US" id="par_id3149611" role="listitem" l10n="U" oldref="54">Choose <emph>Format - Styles and Formatting</emph>, and then click the <emph>Paragraph Styles</emph> icon.</paragraph> 70 </listitem> 71 <listitem> 72 <paragraph xml-lang="en-US" id="par_id3149867" role="listitem" l10n="U" oldref="55">Right-click the paragraph style that you want to hyphenate, and then choose <emph>Modify</emph>.</paragraph> 73 </listitem> 74 <listitem> 75 <paragraph xml-lang="en-US" id="par_id3145106" role="listitem" l10n="U" oldref="56">Click the Text Flow tab.</paragraph> 76 </listitem> 77 <listitem> 78 <paragraph xml-lang="en-US" id="par_id3149582" role="listitem" l10n="U" oldref="57">In the <emph>Hyphenation</emph> area, select the <emph>Automatically</emph> check box.</paragraph> 79 </listitem> 80 <listitem> 81 <paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U" oldref="58">Click <emph>OK</emph>.</paragraph> 82 </listitem> 83 <listitem> 84 <paragraph xml-lang="en-US" id="par_id3145400" role="listitem" l10n="U" oldref="59">Apply the style to the paragraphs that you want to hyphenate.</paragraph> 85 </listitem> 86 </list> 87 <paragraph xml-lang="en-US" id="hd_id3145417" role="heading" level="2" l10n="U" 88 oldref="36">Manual Hyphenation</paragraph> 89 <paragraph xml-lang="en-US" id="par_id3154400" role="paragraph" l10n="U" oldref="23">You can insert a hyphen where you want on a line, or let $[officename] search for the words to hyphenate, and then offer a suggested hyphenation.</paragraph> 90 <paragraph xml-lang="en-US" id="" role="heading" level="3" l10n="NEW">To Manually Hyphenate Single Words</paragraph> 91 <paragraph xml-lang="en-US" id="par_id3153363" role="paragraph" l10n="U" oldref="24">To quickly insert a hyphen, click in the word where you want to add the hyphen, and then press <switchinline select="sys"><caseinline select="MAC">Command 92</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Hyphen(-).</paragraph> 93 <paragraph xml-lang="en-US" id="par_id3154244" role="paragraph" l10n="U" oldref="37">If you insert a manual hyphen in a word, the word is only hyphenated at the manual hyphen. No additional automatic hyphenation is applied for this word. A word with a manual hyphen will be hyphenated without regard to the settings on the <emph>Text Flow</emph> tab page.</paragraph> 94 <paragraph xml-lang="en-US" id="hd_id3154847" role="heading" level="3" l10n="U" 95 oldref="60">To Manually Hyphenate Text in a Selection</paragraph> 96 <list type="ordered"> 97 <listitem> 98 <paragraph xml-lang="en-US" id="par_id3154869" role="listitem" l10n="U" oldref="61">Select the text that you want to hyphenate.</paragraph> 99 </listitem> 100 <listitem> 101 <paragraph xml-lang="en-US" id="par_id3155886" role="listitem" l10n="CHG" oldref="26">Choose <emph>Tools - Language - Hyphenation</emph>.</paragraph> 102 </listitem> 103 </list> 104 <embed href="text/shared/00/00000004.xhp#related"/> 105 <embed href="text/swriter/guide/spellcheck_dialog.xhp#spellcheck_dialog"/> 106 <embed href="text/swriter/guide/using_thesaurus.xhp#using_thesaurus"/> 107 <embed href="text/swriter/guide/template_default.xhp#template_default"/> 108 <embed href="text/swriter/guide/hyphen_prevent.xhp#hyphen_prevent"/> 109 <paragraph xml-lang="en-US" id="par_id3154361" role="paragraph" l10n="U" oldref="46"><link href="text/swriter/01/05030200.xhp" name="Text Flow">Text Flow</link></paragraph> 110 </body> 111</helpdocument>