summaryrefslogtreecommitdiff
path: root/source/text/swriter
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2021-10-12 14:13:12 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-10-14 15:40:01 +0200
commit89ebbf38c76bc5ea6e8161adaa2c4a55772b4ecb (patch)
treef09fe3f0760dd5f036b4dee86ca4a1b2524bd19c /source/text/swriter
parentc984b1f7c6d08c21aa21413980c0bd4408a88a3a (diff)
tdf#139290 Help button for Load Styles to right page
Actually there are multiple Help pages for the same dialog. The Load Style (writer), Change Master Slide (Impress) and Master Page (Draw) all use the same dialog sfx/ui/loadtemplatedialog Switches were added to select the contents for the right application. Still, slides and pages terms are mixed in the UI. Change-Id: I2d48dd8a72fe7b43e92b57299eed1577e355c060 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123529 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/swriter')
-rw-r--r--source/text/swriter/01/05170000.xhp107
1 files changed, 74 insertions, 33 deletions
diff --git a/source/text/swriter/01/05170000.xhp b/source/text/swriter/01/05170000.xhp
index 4d87fe2021..014a7bb0e2 100644
--- a/source/text/swriter/01/05170000.xhp
+++ b/source/text/swriter/01/05170000.xhp
@@ -29,41 +29,82 @@
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:LoadStyles" id="bm_id6197481" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/@@nowidget@@" id="@@nowidget@@" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/LoadTemplateDialog" id="bm_id3154764" localize="false"/>
-<h1 id="hd_id3151242" xml-lang="en-US"><variable id="load_styles_header"><link href="text/swriter/01/05170000.xhp" name="Load Styles">Load Styles</link></variable></h1>
-<paragraph role="paragraph" id="par_id3083446" xml-lang="en-US">
-<variable id="styles_text"><ahelp hid=".">Imports formatting styles from another document or template into the current document.</ahelp>
-</variable></paragraph>
-<section id="howtoget">
- <embed href="text/swriter/00/00000405.xhp#loadstyles"/>
-</section>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/categories" id="bm_id3154555" localize="false"/>
-<h2 id="hd_id3149354" xml-lang="en-US">Categories</h2>
-<paragraph role="paragraph" id="par_id3154561" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/categories">Lists the available template categories. Click a category to view its contents in the <emph>Templates </emph>list.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/templates" id="bm_id3145242" localize="false"/>
-<h2 id="hd_id3149885" xml-lang="en-US">Templates</h2>
-<paragraph role="paragraph" id="par_id3145249" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/templates">Lists the available templates for the selected category.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/@@nowidget@@" id="@@nowidget@@" localize="false"/>
+<h1 id="hd_id3151242" xml-lang="en-US">
+ <switchinline select="appl">
+ <caseinline select="IMPRESS">Load Master Slide</caseinline>
+ <caseinline select="DRAW">Load Master Page</caseinline>
+ <defaultinline><variable id="load_styles_header"><link href="text/swriter/01/05170000.xhp" name="Load Styles">Load Styles</link></variable></defaultinline>
+ </switchinline>
+</h1>
+<switch select="appl">
+ <case select="IMPRESS">
+ <paragraph role="paragraph" id="par_id3150717" xml-lang="en-US">Load additional slide designs for your presentation.</paragraph>
+ <section id="howtoget">
+ <embed href="text/simpress/00/slide_menu.xhp#loadslidedesign"/>
+ </section>
+ </case>
+ <case select="DRAW">
+ <paragraph role="paragraph" id="par_id2150717" xml-lang="en-US">Load additional page designs for your drawing.</paragraph>
+ <section id="howtoget">
+ <embed href="text/sdraw/00/page_menu.xhp#loadpagedesign"/>
+ </section>
+ </case>
+ <default><paragraph role="paragraph" id="par_id3083446" xml-lang="en-US"><variable id="styles_text"><ahelp hid=".">Imports formatting styles from another document or template into the current document.</ahelp></variable></paragraph>
+ <section id="howtoget">
+ <embed href="text/swriter/00/00000405.xhp#loadstyles"/>
+ </section>
+ </default>
+</switch>
<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/text" id="bm_id3148772" localize="false"/>
-<h2 id="hd_id3148392" xml-lang="en-US">Paragraph and Character</h2>
-<paragraph role="paragraph" id="par_id3149026" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/text">Loads the paragraph and the character styles from the selected document into the current document.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/frame" id="bm_id3147174" localize="false"/>
-<h2 id="hd_id3153717" xml-lang="en-US">Frame</h2>
-<paragraph role="paragraph" id="par_id3156320" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/frame">Loads the frame styles from the selected document into the current document.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/pages" id="bm_id3151271" localize="false"/>
-<h2 id="hd_id3147565" xml-lang="en-US">Page</h2>
-<paragraph role="paragraph" id="par_id3154642" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/pages">Loads the page styles from the selected document into the current document.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/numbering" id="bm_id3149756" localize="false"/>
-<h2 id="hd_id3153147" xml-lang="en-US">List</h2>
-<paragraph role="paragraph" id="par_id3152587" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/numbering">Loads the numbering styles from the selected document into the current document.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/overwrite" id="bm_id3147507" localize="false"/>
-<h2 id="hd_id3151176" xml-lang="en-US">Overwrite</h2>
-<paragraph role="paragraph" id="par_id3147514" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/overwrite">Replaces styles in the current document that have the same name as the styles you are loading. No warning message is given.</ahelp></paragraph>
-<note id="par_id3150358" xml-lang="en-US">Only applied styles and modified styles are loaded from a document or template. The styles shown in the sidebar cannot be used as a guide.</note>
-<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/fromfile" id="bm_id3147520" localize="false"/>
-<h2 id="hd_id3153668" xml-lang="en-US">From File</h2>
-<paragraph role="paragraph" id="par_id3147526" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/fromfile">Locate the file containing the styles that you want to load, and then click <emph>Open</emph>.</ahelp></paragraph>
-<tip id="par_id121611051600253">To save styles from a document as a template, use <emph>From File</emph> to load the styles to an empty document, then choose <menuitem>File - Templates - Save as Template</menuitem>.</tip>
+<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/categories" id="bm_id31547561" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/templates" id="bm_id3154703" localize="false"/>
+<switch select="appl">
+ <case select="IMPRESS">
+ <h2 id="hd_id3150327">Categories</h2>
+ <paragraph role="paragraph" id="par_id3147338" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/categories">Displays the available slide design categories.</ahelp></paragraph>
+ <h2 id="hd_id3155962">Templates</h2>
+ <paragraph role="paragraph" id="par_id3155337" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/templates">Displays the templates for the selected design category.</ahelp></paragraph>
+ <h2 id="hd_id241634052550343">Preview</h2>
+ <paragraph role="paragraph" id="par_id3150344" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/expander">Shows or hides a preview of a selected master slide.</ahelp></paragraph>
+ <note id="par_id9159206">Some master slides may not contain visible text objects or drawing objects.</note>
+ </case>
+ <case select="DRAW">
+ <h2 id="hd_id3150427">Categories</h2>
+ <paragraph role="paragraph" id="par_id3157338" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/categories">Displays the available page design categories.</ahelp></paragraph>
+ <h2 id="hd_id3155952">Templates</h2>
+ <paragraph role="paragraph" id="par_id3155837" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/templates">Displays the pages designs for the selected design category.</ahelp></paragraph>
+ <h2 id="hd_id241634052520343">Preview</h2>
+ <paragraph role="paragraph" id="par_id315054" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/expander">Shows or hides a preview of a selected page design.</ahelp></paragraph>
+ <note id="par_id3159206">Some page designs may not contain visible text objects or drawing objects.</note>
+ </case>
+ <default>
+ <h2 id="hd_id3149354" xml-lang="en-US">Categories</h2>
+ <paragraph role="paragraph" id="par_id3154561" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/categories">Lists the available template categories. Click a category to view its contents in the <emph>Templates </emph>list.</ahelp></paragraph>
+ <h2 id="hd_id3149885" xml-lang="en-US">Templates</h2>
+ <paragraph role="paragraph" id="par_id3145249" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/templates">Lists the available templates for the selected category.</ahelp></paragraph>
+ <h2 id="hd_id3148392" xml-lang="en-US">Paragraph and Character</h2>
+ <paragraph role="paragraph" id="par_id3149026" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/text">Loads the paragraph and the character styles from the selected document into the current document.</ahelp></paragraph>
+ <bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/frame" id="bm_id3147174" localize="false"/>
+ <h2 id="hd_id3153717" xml-lang="en-US">Frame</h2>
+ <paragraph role="paragraph" id="par_id3156320" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/frame">Loads the frame styles from the selected document into the current document.</ahelp></paragraph>
+ <bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/pages" id="bm_id3151271" localize="false"/>
+ <h2 id="hd_id3147565" xml-lang="en-US">Page</h2>
+ <paragraph role="paragraph" id="par_id3154642" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/pages">Loads the page styles from the selected document into the current document.</ahelp></paragraph>
+ <bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/numbering" id="bm_id3149756" localize="false"/>
+ <h2 id="hd_id3153147" xml-lang="en-US">List</h2>
+ <paragraph role="paragraph" id="par_id3152587" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/numbering">Loads the numbering styles from the selected document into the current document.</ahelp></paragraph>
+ <bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/overwrite" id="bm_id3147507" localize="false"/>
+ <h2 id="hd_id3151176" xml-lang="en-US">Overwrite</h2>
+ <paragraph role="paragraph" id="par_id3147514" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/overwrite">Replaces styles in the current document that have the same name as the styles you are loading. No warning message is given.</ahelp></paragraph>
+ <note id="par_id3150358" xml-lang="en-US">Only applied styles and modified styles are loaded from a document or template. The styles shown in the sidebar cannot be used as a guide.</note>
+ <bookmark xml-lang="en-US" branch="hid/sfx/ui/loadtemplatedialog/fromfile" id="bm_id3147520" localize="false"/>
+ <h2 id="hd_id3153668" xml-lang="en-US">From File</h2>
+ <paragraph role="paragraph" id="par_id3147526" xml-lang="en-US"><ahelp hid="sfx/ui/loadtemplatedialog/fromfile">Locate the file containing the styles that you want to load, and then click <emph>Open</emph>.</ahelp></paragraph>
+ <tip id="par_id121611051600253">To save styles from a document as a template, use <emph>From File</emph> to load the styles to an empty document, then choose <menuitem>File - Templates - Save as Template</menuitem>.</tip>
+</default>
+</switch>
<section id="relatedtopics">
<embed href="text/swriter/guide/load_styles.xhp#load_styles"/>
</section>