1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir<helpdocument version="1.0"> 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir<!-- 5*cdf0e10cSrcweir*********************************************************************** 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 12*cdf0e10cSrcweir * 13*cdf0e10cSrcweir * This file is part of OpenOffice.org. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 17*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 18*cdf0e10cSrcweir * 19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 24*cdf0e10cSrcweir * 25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 26*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 28*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 29*cdf0e10cSrcweir * 30*cdf0e10cSrcweir ************************************************************************ 31*cdf0e10cSrcweir --> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir<meta> 35*cdf0e10cSrcweir <topic id="textswriterguidehyphen_preventxhp" indexer="include" status="PUBLISH"> 36*cdf0e10cSrcweir <title xml-lang="en-US" id="tit">Preventing Hyphenation of Specific Words</title> 37*cdf0e10cSrcweir <filename>/text/swriter/guide/hyphen_prevent.xhp</filename> 38*cdf0e10cSrcweir </topic> 39*cdf0e10cSrcweir </meta> 40*cdf0e10cSrcweir <body> 41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"><bookmark_value>hyphenation;preventing for specific words</bookmark_value> 42*cdf0e10cSrcweir <bookmark_value>words;wrapping/not wrapping in text</bookmark_value> 43*cdf0e10cSrcweir <bookmark_value>switching off;hyphenation for specific words</bookmark_value> 44*cdf0e10cSrcweir</bookmark><comment>mw copied 2 entries from using_hyphen.xhp and added a new entry</comment> 45*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U" 46*cdf0e10cSrcweir oldref="20"><variable id="hyphen_prevent"><link href="text/swriter/guide/hyphen_prevent.xhp" name="Preventing Hyphenation of Specific Words">Preventing Hyphenation of Specific Words</link> 47*cdf0e10cSrcweir</variable></paragraph><comment>MW created this guide from splitting using_hyphen.xhp</comment> 48*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5640125" role="paragraph" l10n="NEW">If your text is <link href="text/swriter/guide/using_hyphen.xhp">automatically hyphenated</link> and certain hyphenated words look ugly, or if you want specific words never to be hyphenated you can switch off hyphenation for those words:</paragraph> 49*cdf0e10cSrcweir <list type="ordered"> 50*cdf0e10cSrcweir <listitem> 51*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153634" role="listitem" l10n="U" oldref="40">Choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Writing Aids</emph> 52*cdf0e10cSrcweir </paragraph> 53*cdf0e10cSrcweir </listitem> 54*cdf0e10cSrcweir <listitem> 55*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153658" role="listitem" l10n="U" oldref="41">Select a dictionary in the <emph>User-defined dictionary </emph>list, and then click <emph>Edit</emph>.</paragraph> 56*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147125" role="listitem" l10n="U" oldref="43">If the list is empty, click <emph>New</emph> to create a dictionary.</paragraph> 57*cdf0e10cSrcweir </listitem> 58*cdf0e10cSrcweir <listitem> 59*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150218" role="listitem" l10n="U" oldref="42">In the<emph> Word</emph> box, type the word you want to exclude from hyphenation, followed by an equal sign (=), for example, "pretentious=".</paragraph> 60*cdf0e10cSrcweir </listitem> 61*cdf0e10cSrcweir <listitem> 62*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150247" role="listitem" l10n="U" oldref="65">Click <emph>New</emph>, and then click <emph>Close</emph>.</paragraph> 63*cdf0e10cSrcweir </listitem> 64*cdf0e10cSrcweir </list> 65*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147036" role="tip" l10n="U" oldref="29">To quickly exclude a word from hyphenation, select the word, choose <emph>Format - Character</emph>, click the <emph>Font </emph>tab, and select "None" in the <emph>Language </emph>box.</paragraph> 66*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id0302200910262761" role="paragraph" l10n="NEW">Some words contain special characters that %PRODUCTNAME treats as a hyphen. If you do not want such words to be hyphenated, you can insert a special code that prevents hyphenation at the position where the special code is inserted. Proceed as follows:</paragraph> 67*cdf0e10cSrcweir <list type="ordered"> 68*cdf0e10cSrcweir <listitem> 69*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id0302200910262850" role="paragraph" l10n="NEW">Enable the special features of complex text layout (CTL) languages: Choose <item type="menuitem"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages</item> and check <emph>Enabled for complex text layout (CTL)</emph>. Click OK.</paragraph> 70*cdf0e10cSrcweir </listitem> 71*cdf0e10cSrcweir <listitem> 72*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id0302200910262837" role="paragraph" l10n="NEW">Position the cursor at the place where no hyphenation should occur.</paragraph> 73*cdf0e10cSrcweir </listitem> 74*cdf0e10cSrcweir <listitem> 75*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id0302200910262867" role="paragraph" l10n="NEW">Choose <item type="menuitem">Insert - Formatting Mark - No-width no break</item>.</paragraph> 76*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id0302200910572128" role="paragraph" l10n="NEW">Once the special character is inserted, you might disable CTL again. Support of CTL was only necessary to insert the special character.</paragraph> 77*cdf0e10cSrcweir </listitem> 78*cdf0e10cSrcweir </list> 79*cdf0e10cSrcweir <embed href="text/shared/00/00000004.xhp#related"/> 80*cdf0e10cSrcweir <embed href="text/swriter/guide/using_hyphen.xhp#using_hyphen"/> 81*cdf0e10cSrcweir <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> 82*cdf0e10cSrcweir </body> 83*cdf0e10cSrcweir</helpdocument> 84