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="textswriterguidestylist_fromselectxml" indexer="include" status="PUBLISH"> 30 <title xml-lang="en-US" id="tit">Creating New Styles From Selections</title> 31 <filename>/text/swriter/guide/stylist_fromselect.xhp</filename> 32 </topic> 33 </meta> 34 <body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3155911"><bookmark_value>styles; creating from selections</bookmark_value> 36 <bookmark_value>drag and drop;creating new styles</bookmark_value> 37 <bookmark_value>copying;styles, from selections</bookmark_value> 38</bookmark><comment>mw deleted "creating;" and added "copying;"</comment> 39<paragraph xml-lang="en-US" id="hd_id3155911" role="heading" level="1" l10n="U" 40 oldref="34"><variable id="stylist_fromselect"><link href="text/swriter/guide/stylist_fromselect.xhp" name="Creating New Styles From Selections">Creating New Styles From Selections</link> 41</variable></paragraph> 42 <paragraph xml-lang="en-US" id="par_id3149829" role="heading" level="2" l10n="U" 43 oldref="35">To Create a New Style From a Manually Formatted Selection</paragraph> 44 <list type="ordered"> 45 <listitem> 46 <paragraph xml-lang="en-US" id="par_id3156097" role="listitem" l10n="CHG" oldref="36">Choose <emph>Format - Styles and Formatting</emph>.</paragraph> 47 </listitem> 48 <listitem> 49 <paragraph xml-lang="en-US" id="par_id3153402" role="listitem" l10n="CHG" oldref="42">Click the icon of the style category that you want to create.</paragraph> 50 </listitem> 51 <listitem> 52 <paragraph xml-lang="en-US" id="par_id3153119" role="listitem" l10n="U" oldref="37">Click in the document where you want to copy the style from, for example, in a paragraph that you applied manual formatting to.</paragraph> 53 </listitem> 54 <listitem> 55 <paragraph xml-lang="en-US" id="par_id3153138" role="listitem" l10n="CHG" oldref="38">Click the arrow next to the <item type="menuitem">New Style from Selection</item> icon and choose <item type="menuitem">New Style from Selection</item> 56 <emph/>from the submenu</paragraph> 57 </listitem> 58 <listitem> 59 <paragraph xml-lang="en-US" id="par_id3156260" role="listitem" l10n="U" oldref="43">Type a name in the <item type="menuitem">Style Name</item> 60 <emph/>box.</paragraph> 61 </listitem> 62 <listitem> 63 <paragraph xml-lang="en-US" id="par_id3154411" role="listitem" l10n="U" oldref="44">Click <emph>OK</emph>.</paragraph> 64 </listitem> 65 </list> 66 <paragraph xml-lang="en-US" id="hd_id3153373" role="heading" level="2" l10n="U" 67 oldref="20">To Create a New Style by Drag-And-Drop</paragraph> 68 <list type="ordered"> 69 <listitem> 70 <paragraph xml-lang="en-US" id="par_id3154233" role="listitem" l10n="CHG" oldref="31">Choose <emph>Format - Styles and Formatting</emph>.</paragraph> 71 </listitem> 72 <listitem> 73 <paragraph xml-lang="en-US" id="par_id3154258" role="listitem" l10n="U" oldref="45">Click the icon of the style category that you want to create.</paragraph> 74 </listitem> 75 <listitem> 76 <paragraph xml-lang="en-US" id="par_id3154851" role="listitem" l10n="U" oldref="32">Select at least one character, or object, in the style that you want to copy. For page and frame styles, select at least one character or object in the page or frame.</paragraph> 77 </listitem> 78 <listitem> 79 <paragraph xml-lang="en-US" id="par_id3154871" role="listitem" l10n="CHG" oldref="33">Drag the character or object to the Styles and Formatting window and release.</paragraph> 80 <paragraph xml-lang="en-US" id="par_idN107B2" role="listitem" l10n="NEW">For paragraph and character styles, you can drag-and-drop onto the respective icon in the Styles and Formatting window. You do not need to open that style category in advance.</paragraph> 81 </listitem> 82 </list> 83 <paragraph xml-lang="en-US" id="par_idN107B5" role="note" l10n="NEW">You can also drag-and-drop a frame into the Styles and Formatting window to create a new frame style: Click the frame, wait a moment with the mouse button pressed down, but without moving the mouse, then drag to the Styles and Formatting window and drop the frame onto the Frame Styles icon.</paragraph> 84 <section id="relatedtopics"> 85 <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 86 <embed href="text/swriter/guide/stylist_fillformat.xhp#stylist_fillformat"/> 87 <embed href="text/swriter/guide/stylist_update.xhp#stylist_update"/> 88 <paragraph xml-lang="en-US" id="par_id3149988" role="paragraph" l10n="U" oldref="40"><link href="text/swriter/01/05140000.xhp" name="Styles and Formatting">Styles and Formatting</link></paragraph> 89 </section> 90 </body> 91</helpdocument>