source/text/sdraw/01/insert_layer.xhp |    5 +++++
 source/text/sdraw/guide/layer_new.xhp |    3 ++-
 source/text/sdraw/guide/layers.xhp    |    9 +++------
 3 files changed, 10 insertions(+), 7 deletions(-)

New commits:
commit 48e0b7962fdcfd46f8754ffa6c15dc149719f523
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Tue Feb 21 21:07:43 2023 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Wed Feb 22 11:10:36 2023 +0000

    tdf#153204 Draw reserved layer names
    
    Change-Id: I04c428952d347cd584d283d64d4853e97f975889
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/147428
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/sdraw/01/insert_layer.xhp 
b/source/text/sdraw/01/insert_layer.xhp
index 31494607aa..ad3c24c2ee 100644
--- a/source/text/sdraw/01/insert_layer.xhp
+++ b/source/text/sdraw/01/insert_layer.xhp
@@ -48,6 +48,11 @@
 <bookmark xml-lang="en-US" branch="hid/.uno:RenameLayer" id="bm_id3145387" 
localize="false"/>
 <h2 id="hd_id3145588">Name</h2>
 <paragraph role="paragraph" id="par_id3149404" xml-lang="en-US"><ahelp 
hid="modules/sdraw/ui/insertlayer/name">Enter a name for the new layer. To 
rename the layer, enter the new name.</ahelp></paragraph>
+
+<section id="reservednames">
+  <note id="par_id511677022598993">The following layer names are used 
internally and cannot be set or modified: <literal>layout</literal>, 
<literal>background</literal>, <literal>backgroundobjects</literal>, 
<literal>controls</literal>, 
<literal>measurelines</literal>.<br/><br/><literal>layout</literal>, 
<literal>controls</literal> and <literal>measurelines</literal> layers are 
visible in normal view and correspond to the predefined layers 
<emph>Layout</emph>, <emph>Controls</emph> and <emph>Dimension Lines</emph>, 
respectively.<br/><br/>The <literal>backgroundobjects</literal> layer is 
visible in master view under the name <emph>Background 
objects</emph>.<br/><br/>The <literal>background</literal> layer is never 
visible and is not intended to be used.</note>
+</section>
+
 <tip id="par_id761667238910931">To rename the layer directly, right-click the 
layer tab at the bottom, select <menuitem>Rename Layer</menuitem> in the 
context menu and enter the new name in the tab.</tip>
 <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/insertlayer/title" 
id="bm_id301596204068375" localize="false"/>
 <h2 id="hd_id641596204028276">Title</h2>
diff --git a/source/text/sdraw/guide/layer_new.xhp 
b/source/text/sdraw/guide/layer_new.xhp
index 306b790d56..7ed64aeeff 100644
--- a/source/text/sdraw/guide/layer_new.xhp
+++ b/source/text/sdraw/guide/layer_new.xhp
@@ -44,9 +44,10 @@
 </listitem>
 <listitem>
 <paragraph role="listitem" id="par_id3155068" xml-lang="en-US">Type a name for 
the layer in the <emph>Name </emph>box.</paragraph>
+<embed href="text/sdraw/01/insert_layer.xhp#reservednames"/>
 </listitem>
 <listitem>
-<paragraph role="listitem" id="par_id3156382" xml-lang="en-US">In the 
<emph>Properties</emph>area, set the options for the layer.</paragraph>
+<paragraph role="listitem" id="par_id3156382" xml-lang="en-US">In the 
<emph>Properties</emph> area, set the options for the layer.</paragraph>
 </listitem>
 <listitem>
 <paragraph role="listitem" id="par_id3153964" xml-lang="en-US">Click 
<emph>OK</emph>. The new layer automatically becomes the active 
layer.</paragraph>
diff --git a/source/text/sdraw/guide/layers.xhp 
b/source/text/sdraw/guide/layers.xhp
index 0f739ddcaf..807882a691 100644
--- a/source/text/sdraw/guide/layers.xhp
+++ b/source/text/sdraw/guide/layers.xhp
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,7 +16,6 @@
  *   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="textsimpressguidelayersxml" indexer="include" status="PUBLISH">
@@ -32,8 +29,8 @@
 <body>
 <bookmark xml-lang="en-US" branch="index" 
id="bm_id3149018"><bookmark_value>layers; definition</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3149018" xml-lang="en-US" 
level="1"><variable id="layers"><link href="text/sdraw/guide/layers.xhp">About 
Layers</link>
-</variable></paragraph>
+<h1 id="hd_id3149018"><variable id="layers"><link 
href="text/sdraw/guide/layers.xhp">About Layers</link>
+</variable></h1>
 <paragraph role="paragraph" id="par_id3146313" xml-lang="en-US">Layers allow 
you to assemble elements on a page that are related. Think of layers as 
individual workspaces that you can hide from view, hide from printing, or lock. 
</paragraph>
 <paragraph role="paragraph" id="par_id7036957" xml-lang="en-US">Layers do not 
determine the stacking order of objects on your page, except for the 
<emph>Controls</emph> layer which is always in front of other layers. 
</paragraph>
 <paragraph role="paragraph" id="par_id1614734" xml-lang="en-US">The stacking 
order of objects on your page is determined by the sequence in which you add 
the objects. You can rearrange the stacking order by <item 
type="menuitem">Shape - Arrange</item>. </paragraph>
@@ -54,7 +51,7 @@
 <paragraph role="paragraph" id="par_id3150534" xml-lang="en-US">The 
<emph>Layout</emph> layer is the default workspace. The <emph>Layout</emph> 
layer determines the location of title, text, and object placeholders on your 
page.</paragraph>
 <paragraph role="paragraph" id="par_id3150742" xml-lang="en-US">The 
<emph>Controls</emph> layer can be used for buttons that have been assigned an 
action, but that should not be printed. Set the layer's properties to not 
printable. Objects on the <emph>Controls</emph> layer are always in front of 
objects on other layers.</paragraph>
 <paragraph role="paragraph" id="par_id3153085" xml-lang="en-US">The 
<emph>Dimension Lines</emph> layer is where you draw, for example, the 
dimension lines. By switching the layer to show or hide, you can easily switch 
these lines on and off.</paragraph>
-<paragraph role="tip" id="par_id3154507" xml-lang="en-US">You can lock a layer 
to protect its contents, or hide a layer and its contents from view or from 
printing. When you add a new layer to a page, the layer is added to all of the 
pages in your document. However, when you add an object to a layer, it is only 
added to the current page. If you want the object to appear on all of the 
pages, add the object to the master page (<menuitem>View - 
Master</menuitem>).</paragraph>
+<tip id="par_id3154507">You can lock a layer to protect its contents, or hide 
a layer and its contents from view or from printing. When you add a new layer 
to a page, the layer is added to all of the pages in your document. However, 
when you add an object to a layer, it is only added to the current page. If you 
want the object to appear on all of the pages, add the object to the master 
page (<menuitem>View - Master</menuitem>).</tip>
 <section id="relatedtopics">
 <embed href="text/sdraw/guide/layer_new.xhp#layer_new"/>
 <embed href="text/sdraw/guide/layer_move.xhp#layer_move"/>

Reply via email to