summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-09-01 07:46:25 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-09-01 15:08:42 +0200
commit96d055e7a733a62dc39ddd4dec58e31e6ad7db85 (patch)
tree676b6e393efb407f29c99a06eec851e38398c659 /source
parent66868265f68f9f21a015995adac39fa3923d837b (diff)
tdf#155875 Tab'd UI cmds Writer/Styles in Help(26)
+ refactoring + Style Update dialog box (part 26) Change-Id: I4e9280e84a90b87cb8efab6b9035e24cfaa99345 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156418 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/text/shared/01/StyleUpdateByExample.xhp49
-rw-r--r--source/text/swriter/01/05140000.xhp2
-rw-r--r--source/text/swriter/01/edit_style.xhp3
-rw-r--r--source/text/swriter/main0115.xhp3
4 files changed, 53 insertions, 4 deletions
diff --git a/source/text/shared/01/StyleUpdateByExample.xhp b/source/text/shared/01/StyleUpdateByExample.xhp
new file mode 100644
index 0000000000..44f9b11641
--- /dev/null
+++ b/source/text/shared/01/StyleUpdateByExample.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ -->
+
+ <meta>
+ <topic id="textshared01StyleUpdateByExamplexhp" indexer="include" status="PUBLISH">
+ <title id="tit">Update Selected Style</title>
+ <filename>/text/shared/01/StyleUpdateByExample.xhp</filename>
+ </topic>
+</meta>
+<body>
+<bookmark branch="hid/.uno:StyleUpdateByExample" id="bm_id7425974" localize="false"/>
+<bookmark branch="hid/SFX2_HID_TEMPLDLG_UPDATEBYEXAMPLE" id="bm_id9001129" localize="false"/>
+<section id="styleupdatebyexample">
+ <h1 id="hd_id41693531552001"><variable id="h1"><link href="text/shared/01/StyleUpdateByExample.xhp">Update Selected Style</link></variable></h1>
+ <paragraph id="par_id441693531552003" role="paragraph">Update the paragraph style with the direct formatting applied to the current paragraph.</paragraph>
+</section>
+ <section id="howtoget">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id81693531700482">Choose <menuitem>Styles - Update Selected Style</menuitem>.</paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <table id="tab_id971693533450417">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id851693533450418" role="paragraph"><image src="cmd/lc_styleupdatebyexample.svg" id="img_id661693533450420" width="1cm" height="1cm"><alt id="alt_id901693533450421">Icon Update Selected Style</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id351693533450423" role="paragraph">Update Selected Style</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/shared/00/00000004.xhp#from_keyboard"/>
+ <paragraph role="paragraph" id="par_id421693531759773"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + Shift + F11</keycode></paragraph>
+ <embed href="text/shared/00/00000004.xhp#from_sidebar"/>
+ <paragraph role="paragraph" id="par_id951693533752143">On the <menuitem>Styles Actions</menuitem> menu of the <menuitem>Styles</menuitem> sidebar, choose <menuitem>Update Selected Style</menuitem>.</paragraph>
+ </section>
+ <paragraph id="par_id3146333" role="paragraph"><ahelp hid=".">The manually formatted attributes of the text at the cursor position in the document will be added to the style that is selected in the Styles window.</ahelp></paragraph>
+ <section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id921693534308719"><link href="text/swriter/main0115.xhp">Styles menu</link></paragraph>
+ </section>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/01/05140000.xhp b/source/text/swriter/01/05140000.xhp
index af6cab44b1..44c369abe4 100644
--- a/source/text/swriter/01/05140000.xhp
+++ b/source/text/swriter/01/05140000.xhp
@@ -169,8 +169,6 @@
<tablerow>
<tablecell/>
<tablecell>
-<bookmark branch="hid/.uno:StyleUpdateByExample" id="bm_id7425974" localize="false"/>
-<bookmark branch="hid/SFX2_HID_TEMPLDLG_UPDATEBYEXAMPLE" id="bm_id9001129" localize="false"/>
<paragraph id="par_idN10A04" role="paragraph"><link href="text/swriter/guide/stylist_update.xhp"><menuitem>Update Selected Style</menuitem></link> </paragraph>
<paragraph id="par_id3146333" role="paragraph"><ahelp hid=".">The manually formatted attributes of the text at the cursor position in the document will be added to the style that is selected in the Styles window.</ahelp></paragraph>
<bookmark branch="hid/.uno:LoadStyles" id="bm_id7425975" localize="false"/>
diff --git a/source/text/swriter/01/edit_style.xhp b/source/text/swriter/01/edit_style.xhp
index d5c3cc1de2..e8fb2cd994 100644
--- a/source/text/swriter/01/edit_style.xhp
+++ b/source/text/swriter/01/edit_style.xhp
@@ -63,5 +63,8 @@
<embed href="text/swriter/01/05130100.xhp#conditional"/>
<embed href="text/shared/00/00000001.xhp#reset"/>
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id921693534308719"><link href="text/swriter/main0115.xhp">Styles menu</link></paragraph>
+</section>
</body>
</helpdocument>
diff --git a/source/text/swriter/main0115.xhp b/source/text/swriter/main0115.xhp
index 2a64caaaa0..5c06207373 100644
--- a/source/text/swriter/main0115.xhp
+++ b/source/text/swriter/main0115.xhp
@@ -57,8 +57,7 @@
<paragraph role="paragraph" id="par_id411529878520742">The entries includes most common paragraph, character and list styles. Click on the style to apply.</paragraph>
<tip id="par_id451529878529005">You can customize the list of styles entries using menu <link href="text/shared/01/06140100.xhp"><emph>Tools - Customize</emph></link>. Because custom styles belongs to the actual document, remember to store the customized menu in the document scope.</tip>
<embed href="text/swriter/01/edit_style.xhp#editstyle"/>
- <h2 id="hd_id111529881431158">Update Selected Style</h2>
- <paragraph role="paragraph" id="par_id971529881437377">Update the paragraph style with the <link href="text/shared/00/00000005.xhp#Section7">direct formatting</link> applied to the current paragraph.</paragraph>
+ <embed href="text/shared/01/StyleUpdateByExample.xhp#styleupdatebyexample"/>
<h2 id="hd_id191529881446409">New Style from Selection</h2>
<paragraph role="paragraph" id="par_id331529881457275">Adds a paragraph style with the settings of the current selection. You will be prompted to enter the style name.</paragraph>
<h2 id="hd_id351529881470044"><link href="text/swriter/01/05170000.xhp">Load Styles from Template</link></h2>