diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-29 13:08:42 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-31 13:17:11 +0200 |
commit | 4bbaecd77c87afee5453dc89a9e033d4048c909e (patch) | |
tree | 8e48ebe58f29eb9be1dbf046ecb429936f80fb24 /source/text/simpress | |
parent | 1d8c6f2f81847b48e2c24b5ee1b0af8a7a5c0b5d (diff) |
tdf#107078 New way to load color palette
As color, hatching and gradient palettes are now handled by
extensions, this patch include:
- Refactor of xhp tags
- move palette_file from simpress/ to shared/
- adjust tree files
- add entry to shared/guide tree
Change-Id: Ied501dd86431d26d09ed91249c22f422620b16d6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135096
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/simpress')
-rw-r--r-- | source/text/simpress/guide/line_arrow_styles.xhp | 12 | ||||
-rw-r--r-- | source/text/simpress/guide/main.xhp | 2 | ||||
-rw-r--r-- | source/text/simpress/guide/palette_files.xhp | 96 |
3 files changed, 7 insertions, 103 deletions
diff --git a/source/text/simpress/guide/line_arrow_styles.xhp b/source/text/simpress/guide/line_arrow_styles.xhp index 88f7a013bf..6d1ad74f71 100644 --- a/source/text/simpress/guide/line_arrow_styles.xhp +++ b/source/text/simpress/guide/line_arrow_styles.xhp @@ -33,10 +33,10 @@ <bookmark_value>styles;arrow and line styles</bookmark_value> <bookmark_value>loading;arrow and line styles</bookmark_value> </bookmark><comment>mw changed "line ends;" to "lines;"</comment> -<paragraph xml-lang="en-US" id="hd_id3145253" role="heading" level="1"><variable id="line_arrow_styles"><link href="text/simpress/guide/line_arrow_styles.xhp" name="Loading Line and Arrow Styles">Loading Line and Arrow Styles</link> -</variable></paragraph> +<h1 id="hd_id3145253"><variable id="line_arrow_styles"><link href="text/simpress/guide/line_arrow_styles.xhp" name="Loading Line and Arrow Styles">Loading Line and Arrow Styles</link> +</variable></h1> <paragraph xml-lang="en-US" id="par_id3154017" role="paragraph">You can use styles to organize similar line and arrow types. $[officename] provides a few standard style files that you can load and use in your document. If you want, you can add or delete elements from a style file, or even create a custom style file.</paragraph> - <paragraph xml-lang="en-US" id="hd_id3154485" role="heading" level="2">To load a line styles file:</paragraph> + <h2 id="hd_id3154485">To load a line styles file:</h2> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_id3156382" role="listitem">Choose <emph>Format - Line</emph>, and then click the <emph>Line Styles</emph> tab.</paragraph> @@ -49,7 +49,7 @@ </listitem> </list> <paragraph xml-lang="en-US" id="par_id3151240" role="paragraph">To save a line styles file, click the <emph>Save Line Styles</emph> button, enter a filename, and then click <emph>OK</emph>.</paragraph> - <paragraph xml-lang="en-US" id="hd_id3154765" role="heading" level="2">To load an arrow styles file:</paragraph> + <h2 id="hd_id3154765">To load an arrow styles file:</h2> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_id3153070" role="listitem">Choose <emph>Format - Line</emph>, and then click the <emph>Arrow Styles</emph> tab.</paragraph> @@ -64,6 +64,6 @@ <paragraph xml-lang="en-US" id="par_id3166465" role="paragraph">To save an arrow styles file, click the <emph>Save Arrow Styles</emph> button, enter a filename, and then click <emph>OK</emph>.</paragraph> <embed href="text/shared/00/00000004.xhp#related"/> <paragraph xml-lang="en-US" id="par_id3145822" role="paragraph"><link href="text/shared/01/05200000.xhp" name="Format - Line">Format - Line</link></paragraph> - <embed href="text/simpress/guide/palette_files.xhp#palette_files"/> + <embed href="text/shared/guide/palette_files.xhp#palette_files"/> </body> -</helpdocument>
\ No newline at end of file +</helpdocument> diff --git a/source/text/simpress/guide/main.xhp b/source/text/simpress/guide/main.xhp index b5beafe749..95837fab35 100644 --- a/source/text/simpress/guide/main.xhp +++ b/source/text/simpress/guide/main.xhp @@ -51,7 +51,7 @@ <paragraph role="heading" id="hd_id3149350" xml-lang="en-US" level="2">Importing and Exporting</paragraph> <embed href="text/simpress/guide/html_import.xhp#html_import"/> <embed href="text/simpress/guide/html_export.xhp#html_export"/> -<embed href="text/simpress/guide/palette_files.xhp#palette_files"/> +<embed href="text/shared/guide/palette_files.xhp#palette_files"/> <embed href="text/simpress/guide/line_arrow_styles.xhp#line_arrow_styles"/> <embed href="text/simpress/guide/printing.xhp#printing"/> <embed href="text/simpress/guide/print_tofit.xhp#print_tofit"/> diff --git a/source/text/simpress/guide/palette_files.xhp b/source/text/simpress/guide/palette_files.xhp deleted file mode 100644 index 72285a69e6..0000000000 --- a/source/text/simpress/guide/palette_files.xhp +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - - -<!-- - * 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/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> - - - -<helpdocument version="1.0"> -<meta> -<topic id="textsimpressguidepalette_filesxml" indexer="include" status="PUBLISH"> -<title id="tit" xml-lang="en-US">Loading Color, Gradient, and Hatching Lists</title> -<filename>/text/simpress/guide/palette_files.xhp</filename> -</topic> -<history> -<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> -</history> -</meta> -<body> -<bookmark xml-lang="en-US" branch="index" id="bm_id3154510"><bookmark_value>colors;loading lists</bookmark_value> -<bookmark_value>gradients;loading lists</bookmark_value> -<bookmark_value>hatching;loading lists</bookmark_value> -<bookmark_value>loading;colors/gradients/hatchings</bookmark_value> -</bookmark> -<paragraph role="heading" id="hd_id3154510" xml-lang="en-US" level="1"><variable id="palette_files"><link href="text/simpress/guide/palette_files.xhp" name="Loading Color, Gradient, and Hatching Lists">Loading Color, Gradient, and Hatching Lists</link> -</variable></paragraph> -<paragraph role="paragraph" id="par_id3156385" xml-lang="en-US">You can use lists to organize colors, gradients, or hatching patterns. $[officename] provides several lists that you can load and use in your document. If you want, you can add or delete elements from a list, or even create custom lists. </paragraph> -<paragraph role="heading" id="hd_id3155961" xml-lang="en-US" level="3">To load a color list:</paragraph> -<list type="ordered"> -<listitem> -<paragraph role="listitem" id="par_id3154656" xml-lang="en-US">Choose <emph>Format - Area</emph>, and then click the <emph>Colors</emph> tab.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3152896" xml-lang="en-US">Click the <emph>Load Color List</emph> button.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3151239" xml-lang="en-US">Locate the color list that you want to load, and then click <emph>Open</emph>. A color list file has the format [filename].soc.</paragraph> -</listitem> -</list> -<paragraph role="paragraph" id="par_id3154762" xml-lang="en-US">To save a color list, click the <emph>Save Color List</emph> button, enter a filename, and then click <emph>Save</emph>.</paragraph> -<bookmark xml-lang="en-US" branch="index" id="bm_id3149871"> -<bookmark_value>colors; default colors</bookmark_value> -<bookmark_value>colors; LibreOffice colors</bookmark_value> -<bookmark_value>LibreOffice colors</bookmark_value> -<bookmark_value>colors; HLC colors</bookmark_value> -<bookmark_value>Material Design colors</bookmark_value> -<bookmark_value>colors; web</bookmark_value> -<bookmark_value>colors; freieFarbe</bookmark_value> -</bookmark> -<paragraph role="paragraph" id="par_id3149871" xml-lang="en-US">The freieFarbe HLC color list is based on the CIELAB model and is optimized for professional CMYK printing. The colors in the Compatibility and HTML lists are optimized for displays using a resolution of 256 colors. The palettes “LibreOffice” and “Material” contain the official LibreOffice and Material Design palettes respectively. The tonal.soc palette provides a set of colors organized by luminance contrast that work across different hardware.</paragraph><!--see tdf#80196--> -<paragraph role="heading" id="hd_id3150435" xml-lang="en-US" level="3">To load a gradient list:</paragraph> -<list type="ordered"> -<listitem> -<paragraph role="listitem" id="par_id3150393" xml-lang="en-US">Choose <emph>Format - Area</emph>, and then click the <emph>Gradients</emph> tab.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3146322" xml-lang="en-US">Click the <emph>Load Gradients List</emph> button.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3149946" xml-lang="en-US">Locate the gradient list that you want to load, and then click <emph>Open</emph>. A gradient list file has the format [filename].sog.</paragraph> -</listitem> -</list> -<paragraph role="paragraph" id="par_id3150740" xml-lang="en-US">To save a gradients list, click the <emph>Save Gradients List</emph> button, enter a filename, and then click <emph>Save</emph>.</paragraph> -<paragraph role="heading" id="hd_id3153036" xml-lang="en-US" level="3">To load a hatching list:</paragraph> -<list type="ordered"> -<listitem> -<paragraph role="listitem" id="par_id3155255" xml-lang="en-US">Choose <emph>Format - Area</emph>, and then click the <emph>Hatching</emph> tab.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3153004" xml-lang="en-US">Click the <emph>Load Hatches List</emph> button.</paragraph> -</listitem> -<listitem> -<paragraph role="listitem" id="par_id3154505" xml-lang="en-US">Locate the hatches list that you want to load, and then click <emph>Open</emph>. A hatches list file has the format [filename].soh.</paragraph> -</listitem> -</list> -<paragraph role="paragraph" id="par_id3149881" xml-lang="en-US">To save a hatches list, click the <emph>Save Hatches List</emph> button, enter a filename, and then click <emph>Save</emph>.</paragraph> -<embed href="text/shared/00/00000004.xhp#related"/> -<paragraph role="paragraph" id="par_id3155437" xml-lang="en-US"><link href="text/shared/01/05210000.xhp" name="Format - Area">Format - Area</link></paragraph> -<embed href="text/simpress/guide/line_arrow_styles.xhp#line_arrow_styles"/> -</body> -</helpdocument> |