forked from amazingfate/help
Replacement done with
find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'
(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)
translation files will be prepped with:
find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
$'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'
(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)
Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
122 lines
10 KiB
XML
122 lines
10 KiB
XML
<?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/.
|
|
*
|
|
* 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 .
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="textsimpressguidebackgroundxml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Changing the Slide Background Fill</title>
|
|
<filename>/text/simpress/guide/background.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3150199">
|
|
<bookmark_value>backgrounds; changing</bookmark_value>
|
|
<bookmark_value>master slides; changing backgrounds</bookmark_value>
|
|
<bookmark_value>master pages; changing backgrounds</bookmark_value>
|
|
<bookmark_value>slides;changing backgrounds</bookmark_value>
|
|
<bookmark_value>pages;changing backgrounds</bookmark_value>
|
|
</bookmark>
|
|
<paragraph role="heading" id="hd_id3150199" xml-lang="en-US" level="1">
|
|
<variable id="background">
|
|
<link href="text/simpress/guide/background.xhp">Changing the <switchinline select="appl"><caseinline select="IMPRESS">Slide</caseinline><defaultinline>Page</defaultinline></switchinline> Background Fill</link>
|
|
</variable>
|
|
</paragraph>
|
|
<switch select="appl">
|
|
<case select="IMPRESS">
|
|
<paragraph role="paragraph" id="par_id3155067">You can change the background color or the background fill of the current slide or all of the slides in your document. For a background fill, you can use hatching, a gradient, or an image.</paragraph>
|
|
<paragraph role="paragraph" id="par_id3148701">If you want to change the background fill for all of the slides, choose <menuitem>View - Master Slide</menuitem>. To change the background fill of a single slide, choose <menuitem>View - Normal</menuitem>.</paragraph>
|
|
<paragraph role="paragraph" id="par_id624713" xml-lang="en-US">
|
|
<ahelp hid="." visibility="hidden">Click Set Background Picture for Slide in the context menu of a slide in Normal view to select an image file. This file is used as a background picture.</ahelp>
|
|
</paragraph>
|
|
</case>
|
|
<default>
|
|
<paragraph role="paragraph" id="par_id4155067">You can change the background color or the background fill of the current page or all of the pages in your document. For a background fill, you can use hatching, a gradient, or an image.</paragraph>
|
|
<paragraph role="paragraph" id="par_id4148701">If you want to change the background fill for all of the pages, choose <menuitem>View - Master Page</menuitem>. To change the background fill of a single page, choose <menuitem>View - Normal</menuitem>.</paragraph>
|
|
<paragraph role="paragraph" id="par_id644713">
|
|
<ahelp hid="." visibility="hidden">Click Set Background Picture for Page in the context menu of a page in Normal view to select an image file. This file is used as a background picture.</ahelp>
|
|
</paragraph>
|
|
</default>
|
|
</switch>
|
|
<comment>insert help id when available</comment>
|
|
<comment>removed a para, #63970</comment>
|
|
<h3 id="hd_id3150534">To use a color, gradient, or hatching pattern for the <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline> background</h3>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3149942" xml-lang="en-US">Choose <switchinline select="appl"><caseinline select="IMPRESS"><menuitem>Slide - Properties</menuitem></caseinline><defaultinline><menuitem>Page - Properties</menuitem></defaultinline></switchinline>, and then click on the <emph>Background</emph> tab.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3148725" xml-lang="en-US">In the <emph>Fill </emph>area, do one of the following:</paragraph>
|
|
<paragraph role="listitem" id="par_id3153040" xml-lang="en-US">Select <widget>Color</widget>, and then click a color in the list.</paragraph>
|
|
<paragraph role="listitem" id="par_id3150866" xml-lang="en-US">Select <widget>Gradient</widget>, and then click a gradient style in the list.</paragraph>
|
|
<paragraph role="listitem" id="par_id3150338" xml-lang="en-US">Select <widget>Hatching</widget>, and then click a hatching style in the list.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3150021" xml-lang="en-US">Click <widget>OK</widget>.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<h3 id="hd_id3145244">To use an image for the <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline> background</h3>
|
|
<paragraph role="paragraph" id="par_id3148394" xml-lang="en-US">You can display an entire image as a <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline> background, or you can tile the image to produce a patterned background.</paragraph>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3156064" xml-lang="en-US">Choose <switchinline select="appl"><caseinline select="IMPRESS"><menuitem>Slide - Properties</menuitem></caseinline><defaultinline><menuitem>Page - Properties</menuitem></defaultinline></switchinline>, and then click on the <emph>Background</emph> tab.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3145356" xml-lang="en-US">In the <emph>Fill </emph>area, select <emph>Image</emph>, and then click an image in the list.</paragraph>
|
|
<note id="par_id3150757">To use a custom image for the <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline> background, click the <emph>Import</emph> button. Locate the image and click <widget>Open</widget>. On returning to the <emph>Background</emph> tab, the imported image is in the <emph>Image</emph> list.</note>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3153151" xml-lang="en-US">Do one of the following:</paragraph>
|
|
<paragraph role="paragraph" id="par_id3150263" xml-lang="en-US">To display the entire image as the background, clear the <emph>Tile </emph>check box in the <emph>Position </emph>area, and then select <emph>AutoFit</emph>.</paragraph>
|
|
<paragraph role="paragraph" id="par_id3149756" xml-lang="en-US">To tile the image on the background, select <emph>Tile</emph>, and set the <emph>Size</emph>, <emph>Position</emph>, and <emph>Offset</emph> options for the image.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3154934" xml-lang="en-US">Click <widget>OK</widget>.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="paragraph" id="par_id3158403">This modification is only valid for the current presentation or drawing document.</paragraph>
|
|
<h3 id="par_idN10820">To save a new master <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline> as a template</h3>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN10827" xml-lang="en-US"><switchinline select="appl"><caseinline select="IMPRESS">Choose <menuitem>View - Master Slide</menuitem> to change to the master slide</caseinline><defaultinline>Choose <menuitem>View - Master Page</menuitem> to change to the master page</defaultinline></switchinline>.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN1082F"><switchinline select="appl"><caseinline select="IMPRESS">Choose <menuitem>Slide - Properties</menuitem> to change the slide background, or choose other formatting commands. Objects that you add here will be visible on all slides that are based on this master slide.</caseinline><defaultinline>Choose <menuitem>Page - Properties</menuitem> to change the page background, or choose other formatting commands. Objects that you add here will be visible on all pages that are based on this master page.</defaultinline></switchinline>.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN10837" xml-lang="en-US">Choose <menuitem>View - Normal</menuitem> to close the master view.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN1083F" xml-lang="en-US">Choose <menuitem>File - Templates - Save As Template</menuitem> to save the document as a template.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN10847" xml-lang="en-US">Enter a name for the template. Do not change the category from "My Templates". Click <widget>OK</widget>.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="paragraph" id="par_idN1084A" xml-lang="en-US">Now you can use the Templates window to open a new presentation or drawing based on your new template.</paragraph>
|
|
<section id="relatedtopics">
|
|
<embed href="text/simpress/guide/masterpage.xhp#masterpage"/>
|
|
<embed href="text/sdraw/guide/layers.xhp#layers"/>
|
|
<switch select="appl">
|
|
<case select="IMPRESS"><embed href="text/simpress/guide/footer.xhp#footer"/></case>
|
|
</switch>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|