summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-24 23:02:18 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-26 03:28:40 +0200
commitf1c36059ee708b31289ff1f782df64fb18bd6d1c (patch)
treec566ff2c50d5259a0fec60c7930f75d095f2c1a4
parent7b4770831a82435bee3765f130dadc848e7efb70 (diff)
Fill help page for writer Style menu
Fix XML Change-Id: I0d8d362774eecd200a6510dfecfe089274ae631d Reviewed-on: https://gerrit.libreoffice.org/56368 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_swriter.mk1
-rw-r--r--source/text/shared/00/00040500.xhp1
-rw-r--r--source/text/swriter/00/stylesmenu.xhp25
-rw-r--r--source/text/swriter/guide/load_styles.xhp27
-rw-r--r--source/text/swriter/main0115.xhp20
5 files changed, 57 insertions, 17 deletions
diff --git a/AllLangHelp_swriter.mk b/AllLangHelp_swriter.mk
index c7c771472..ba34e1582 100644
--- a/AllLangHelp_swriter.mk
+++ b/AllLangHelp_swriter.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/00/00000404 \
helpcontent2/source/text/swriter/00/00000405 \
helpcontent2/source/text/swriter/00/00000406 \
+ helpcontent2/source/text/swriter/00/stylesmenu \
helpcontent2/source/text/swriter/01/01120000 \
helpcontent2/source/text/swriter/01/01150000 \
helpcontent2/source/text/swriter/01/01160100 \
diff --git a/source/text/shared/00/00040500.xhp b/source/text/shared/00/00040500.xhp
index 8194f1135..ac48def40 100644
--- a/source/text/shared/00/00040500.xhp
+++ b/source/text/shared/00/00040500.xhp
@@ -196,6 +196,7 @@
</section>
<section id="gestalter">
+<paragraph role="paragraph" id="par_id981529886125676" xml-lang="en-US"><switchinline select="appl"><caseinline select="WRITER"><embedvar href="text/swriter/00/stylesmenu.xhp#sms" markup="keep"/></caseinline><defaultinline></defaultinline></switchinline></paragraph>
<paragraph id="par_id3147404" role="paragraph" xml-lang="en-US">Choose <emph>View - Styles</emph> </paragraph>
<paragraph id="par_id3166447" role="paragraph" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Command+T
</caseinline><defaultinline>F11</defaultinline></switchinline></paragraph>
diff --git a/source/text/swriter/00/stylesmenu.xhp b/source/text/swriter/00/stylesmenu.xhp
new file mode 100644
index 000000000..781e56275
--- /dev/null
+++ b/source/text/swriter/00/stylesmenu.xhp
@@ -0,0 +1,25 @@
+<?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="stylesmenu" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">The styles menu</title>
+ <filename>/text/swriter/00/stylesmenu.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <paragraph role="paragraph" id="par_id941529884998705" xml-lang="en-US"><variable id="ses">Choose <emph>Styles - Edit Styles</emph></variable>.</paragraph>
+ <paragraph role="paragraph" id="par_id511529885005747" xml-lang="en-US"><variable id="sus">Choose <emph>Styles - Update Style</emph> or <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph>+ Shift + F11</emph></variable>.</paragraph>
+ <paragraph role="paragraph" id="par_id411529885010612" xml-lang="en-US"><variable id="sns">Choose <emph>Styles - New Style</emph> or <emph>Shift + F11</emph></variable>.</paragraph>
+ <paragraph role="paragraph" id="par_id221529885015598" xml-lang="en-US"><variable id="sls">Choose <emph>Styles - Load Styles</emph></variable>.</paragraph>
+ <paragraph role="paragraph" id="par_id391529885020996" xml-lang="en-US"><variable id="sms">Choose <emph>Styles - Manage Styles</emph> or F11</variable>.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/swriter/guide/load_styles.xhp b/source/text/swriter/guide/load_styles.xhp
index 53c714cc0..4d12f4ff8 100644
--- a/source/text/swriter/guide/load_styles.xhp
+++ b/source/text/swriter/guide/load_styles.xhp
@@ -35,17 +35,20 @@
<paragraph xml-lang="en-US" id="hd_id3145086" role="heading" level="1"><variable id="load_styles"><link href="text/swriter/guide/load_styles.xhp" name="Using Styles From Another Document or Template">Using Styles From Another Document or Template</link>
</variable></paragraph>
<paragraph xml-lang="en-US" id="par_id3154491" role="paragraph">You can import styles from another document or template into the current document.</paragraph>
- <list type="ordered">
- <listitem>
- <paragraph xml-lang="en-US" id="par_id3155910" role="listitem">Choose <emph>View - Styles</emph> to open the <emph>Styles</emph> sidebar deck.</paragraph>
- </listitem>
- <listitem>
- <paragraph xml-lang="en-US" id="par_idN10703" role="listitem">Click the arrow next to the <emph>New Style from Selection</emph> icon to open the submenu.</paragraph>
- </listitem>
- <listitem>
- <paragraph xml-lang="en-US" id="par_idN1070B" role="listitem">Choose <emph>Load styles</emph>.</paragraph>
- </listitem>
- <listitem>
+ <paragraph id="par_id731529889382463" role="listitem" xml-lang="en-US">Open the <emph>Load Styles</emph> dialog box by either</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3155910" role="listitem">Choose <emph>View - Styles</emph> or</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id441529889103330" role="listitem" xml-lang="en-US"><embedvar href="text/swriter/00/stylesmenu.xhp#sms" markup="keep"/> to open the <emph>Styles</emph> sidebar deck.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_idN10703" role="listitem">Click the arrow next to the <emph>New Style from Selection</emph> icon to open the submenu.</paragraph>
+ </listitem>
+ </list>
+ <list type="ordered">
+ <listitem>
<paragraph xml-lang="en-US" id="par_id3149632" role="listitem">Use the check boxes at the bottom of the dialog to select the style types that you want to import. To replace styles in the current document that have the same name as the ones you are importing, select <emph>Overwrite</emph>.</paragraph>
</listitem>
<listitem>
@@ -67,4 +70,4 @@
<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
<embed href="text/swriter/guide/change_header.xhp#change_header"/>
</body>
-</helpdocument> \ No newline at end of file
+</helpdocument>
diff --git a/source/text/swriter/main0115.xhp b/source/text/swriter/main0115.xhp
index 9f5c385d1..e10269b54 100644
--- a/source/text/swriter/main0115.xhp
+++ b/source/text/swriter/main0115.xhp
@@ -19,7 +19,7 @@
-->
<meta>
- <topic id="textswritermain0115xml" indexer="include" status="PUBLISH">
+ <topic id="textswritermain0115xml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit">Styles</title>
<filename>/text/swriter/main0115.xhp</filename>
</topic>
@@ -28,10 +28,20 @@
<section id="styles">
<bookmark xml-lang="en-US" branch="hid/.uno:FormatStylesMenu" id="bm_id1366008" localize="false"/>
<paragraph id="par_idN10553" role="heading" xml-lang="en-US" level="1"><link href="text/swriter/main0115.xhp">Styles</link></paragraph>
- <paragraph id="par_idN10563" role="paragraph" xml-lang="en-US"><ahelp hid=".">Contains commands to set, create, edit, update, load, and manage styles in a text document.</ahelp></paragraph>
+ <paragraph id="par_idN10563" role="paragraph" xml-lang="en-US"><ahelp hid=".">Contains commands to apply, create, edit, update, load, and manage <link href="text/swriter/01/05130000.xhp" name="styles">styles</link> in a text document.</ahelp></paragraph>
</section>
- <paragraph id="hd_id0903201507192919" role="heading" xml-lang="en-US" level="2">Default</paragraph>
- <paragraph id="par_id090320150719290" role="paragraph" xml-lang="en-US">Set the current paragraph or selected paragraphs to the default style.</paragraph>
+ <paragraph role="heading" id="hd_id121529878513674" level="2" xml-lang="en-US">Text styles entries</paragraph>
+ <paragraph role="paragraph" id="par_id411529878520742" xml-lang="en-US">The entries includes most common paragraph, character and list styles. Click on the style to apply.</paragraph>
+ <paragraph role="tip" id="par_id451529878529005" xml-lang="en-US">You can customize the list of styles entries using menu <link href="text/shared/01/06140100.xhp" name="customize menu"><emph>Tools - Customize</emph></link>. Because custom styles belongs to the actual document, remember to store the customized menu in the document scope.</paragraph>
+ <paragraph role="heading" id="hd_id991529881414793" level="2" xml-lang="en-US">Edit Style</paragraph>
+ <paragraph role="paragraph" id="par_id111529881420452" xml-lang="en-US">Opens the Paragraph Style dialog box of the current paragraph.</paragraph>
+ <paragraph role="heading" id="hd_id111529881431158" level="2" xml-lang="en-US">Update Style</paragraph>
+ <paragraph role="paragraph" id="par_id971529881437377" xml-lang="en-US">Update the paragraph style with the <link href="text/shared/00/00000005.xhp#Section7" name="direct formatting">direct formatting</link> applied to the current paragraph.</paragraph>
+ <paragraph role="heading" id="hd_id191529881446409" level="2" xml-lang="en-US">New style</paragraph>
+ <paragraph role="paragraph" id="par_id331529881457275" xml-lang="en-US">Adds a paragraph style with the settings of the current selection. You will be prompted to enter the style name.</paragraph>
+ <paragraph role="heading" id="hd_id351529881470044" level="2" xml-lang="en-US">Load Styles</paragraph>
+ <paragraph role="paragraph" id="par_id551529883682302" xml-lang="en-US"><link href="text/swriter/guide/load_styles.xhp" name="import style">Import styles</link> from another document or template into the current document.</paragraph>
+ <paragraph role="heading" id="hd_id361529881482828" level="2" xml-lang="en-US">Manage Styles</paragraph>
+ <paragraph role="paragraph" id="par_id901529883673111" xml-lang="en-US">Opens the <link href="text/swriter/01/05140000.xhp" name="linkname">Styles deck</link> in the sidebar.</paragraph>
</body>
-
</helpdocument>