<?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="textsharedguidegallery_insertxml" indexer="include" status="PUBLISH">
<title id="tit">Inserting Objects From the Gallery</title>
<filename>/text/shared/guide/gallery_insert.xhp</filename>
</topic>
</meta>
<body>
  
<bookmark branch="index" id="bm_id3145136">
  <bookmark_value>Gallery; inserting pictures from</bookmark_value>
  <bookmark_value>pictures; inserting from Gallery</bookmark_value>
  <bookmark_value>inserting; from Gallery into text</bookmark_value>
  <bookmark_value>objects; inserting from Gallery</bookmark_value>
  <bookmark_value>textures;inserting from Gallery</bookmark_value>
  <bookmark_value>backgrounds;inserting from Gallery</bookmark_value>
  <bookmark_value>inserting;objects from Gallery</bookmark_value>
  <bookmark_value>copying;from Gallery</bookmark_value>
  <bookmark_value>replacing;objects from Gallery</bookmark_value>
  <bookmark_value>Gallery;dragging pictures to draw objects</bookmark_value>
  <bookmark_value>draw objects;dropping Gallery pictures</bookmark_value>
  <bookmark_value>drag and drop;from Gallery to draw objects</bookmark_value>
</bookmark>
  <comment>mw deleted "adding;"</comment>
<section id="gallery_insert_head">  
  <h1 id="hd_id3145136">
    <variable id="gallery_insert"><link href="text/shared/guide/gallery_insert.xhp">Inserting Objects From the Gallery</link></variable>
  </h1>
  <paragraph id="par_id3145345" role="paragraph">You can insert an object from the <link href="text/shared/01/gallery.xhp)"><menuitem>Gallery</menuitem></link> into a text, spreadsheet, drawing or presentation document by dragging and dropping or using the Context Menu. Inserting an object creates a copy of the object so any changes to the object in your document will not affect the object in the Gallery.</paragraph>
</section>
  <bookmark branch="hid/svx/ui/gallerymenu2/add" id="bm_id841711560216791" localize="false"/>
  <h2 id="hd_id3145313">Inserting an object into a document</h2>
  <list type="ordered">
   <listitem>
    <paragraph id="par_id3145382" role="listitem">Open the <menuitem>Gallery</menuitem>.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3154306" role="listitem">Select a theme.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3154516" role="listitem">Select an object using a single click.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3153561" role="listitem">Drag the object into the document, or right-click to open the context menu and select <emph>Insert</emph>.</paragraph>
   </listitem>
  </list>
  <h2 id="hd_id561711644566506">Replacing an object in a document</h2>
  <h3 id="hd_id511711975545500">By dragging and dropping</h3>
  <list type="ordered">
   <listitem>
    <paragraph id="par_id741711644406741" role="listitem">Open the <menuitem>Gallery</menuitem>.</paragraph>
   </listitem>
   <listitem>
     <paragraph role="paragraph" id="par_id111711644455162">Select a theme.</paragraph>
   </listitem>
   <listitem>
     <paragraph role="paragraph" id="par_id831711644480884">Select an object using a single click.</paragraph>
     </listitem>
   <listitem>
     <paragraph role="paragraph" id="par_id991711644510397">Drag the object over the one you want to replace while holding down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key.</paragraph>
     </listitem>
  </list>
  <h3 id="hd_id711711975589781">Using the context menu</h3>
  <list type="ordered">
    <listitem>
        <paragraph id="par_id121711975624165" role="listitem">Open the <menuitem>Gallery</menuitem></paragraph>
    </listitem>
    <listitem>
        <paragraph id="par_id771711975652268" role="listitem">Select a theme.</paragraph>
    </listitem>
    <listitem>
        <paragraph id="par_id101711975737933" role="listitem">Left-click on the object you want to replace.</paragraph>
    </listitem>
    <listitem>
        <paragraph id="par_id381711975764271" role="listitem">Right-click on the object you want to replace it with and select <menuitem>Insert</menuitem>.</paragraph>
    </listitem>
</list>

<switch select="appl">
<case select="WRITER">
   <h2 id="hd_id3156282">Inserting an object as a background graphic</h2>
  <list type="ordered">
   <listitem>
    <paragraph id="par_id3152920" role="listitem">Open the <menuitem>Gallery</menuitem>.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3151041" role="listitem">Select a theme.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3145607" role="listitem">Select an object by a single click.</paragraph>
   </listitem>
   <listitem>
    <paragraph id="par_id3147289" role="listitem">Open the context menu and choose <emph>Insert - Background - Page</emph> or <emph>Insert - Background - Paragraph</emph>.</paragraph>
   </listitem>
  </list>
  <note id="par_id171711643080652">The option to insert an object as a background image is only available in %PRODUCTNAME Writer.</note>
</case>
  </switch>
<section id="relatedtopics">
  <embed href="text/shared/01/gallery.xhp#media_gallery_h1"/>
  <embed href="text/shared/guide/dragdrop_gallery.xhp#dragdrop_gallery"/>
  <embed href="text/shared/guide/dragdrop.xhp#dragdrop"/>
  <embed href="text/shared/guide/dragdrop_graphic.xhp#dragdrop_graphic"/>
  <embed href="text/shared/guide/dragdrop_table.xhp#dragdrop_table"/>
  <switch select="appl">
    <case select="WRITER">
      <embed href="text/swriter/guide/dragdroptext.xhp#dragdroptext"/>
      </case>
    </switch>
  </section>
 </body>
</helpdocument>
