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="textswriterguidestylist_fromselectxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Creating New Styles From Selections</title>
28<filename>/text/swriter/guide/stylist_fromselect.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3155911">
33<bookmark_value>styles; creating from selections</bookmark_value>
34<bookmark_value>drag and drop;creating new styles</bookmark_value>
35<bookmark_value>copying;styles, from selections</bookmark_value>
36</bookmark><comment>mw deleted "creating;" and added "copying;"</comment>
37<paragraph xml-lang="en-US" id="hd_id3155911" role="heading" level="1" l10n="U"
38oldref="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>
39</variable></paragraph>
40<paragraph xml-lang="en-US" id="par_id3149829" role="heading" level="2" l10n="U"
41oldref="35">To Create a New Style From a Manually Formatted Selection</paragraph>
42<list type="ordered">
43<listitem>
44<paragraph xml-lang="en-US" id="par_id3156097" role="listitem" l10n="CHG" oldref="36">Choose <emph>Format - Styles and Formatting</emph>.</paragraph>
45</listitem>
46<listitem>
47<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>
48</listitem>
49<listitem>
50<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>
51</listitem>
52<listitem>
53<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> from the submenu</paragraph>
54</listitem>
55<listitem>
56<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> box.</paragraph>
57</listitem>
58<listitem>
59<paragraph xml-lang="en-US" id="par_id3154411" role="listitem" l10n="U" oldref="44">Click <emph>OK</emph>.</paragraph>
60</listitem>
61</list>
62<paragraph xml-lang="en-US" id="hd_id3153373" role="heading" level="2" l10n="U"
63oldref="20">To Create a New Style by Drag-And-Drop</paragraph>
64<list type="ordered">
65<listitem>
66<paragraph xml-lang="en-US" id="par_id3154233" role="listitem" l10n="CHG" oldref="31">Choose <emph>Format - Styles and Formatting</emph>.</paragraph>
67</listitem>
68<listitem>
69<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>
70</listitem>
71<listitem>
72<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>
73</listitem>
74<listitem>
75<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>
76<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>
77</listitem>
78</list>
79<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>
80<section id="relatedtopics">
81<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
82<embed href="text/swriter/guide/stylist_fillformat.xhp#stylist_fillformat"/>
83<embed href="text/swriter/guide/stylist_update.xhp#stylist_update"/>
84<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>
85</section>
86</body>
87</helpdocument>
88