<?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="textsimpressguidetable_insertxml" indexer="include">
<title id="tit" xml-lang="en-US">Including Spreadsheets in Slides</title>
<filename>/text/simpress/guide/table_insert.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3154022"><bookmark_value>spreadsheets;in presentations</bookmark_value>
<bookmark_value>presentations;inserting spreadsheets</bookmark_value>
<bookmark_value>including spreadsheets</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3154022" xml-lang="en-US" level="1"><variable id="table_insert"><link href="text/simpress/guide/table_insert.xhp" name="Including Spreadsheets in Slides">Including Spreadsheets in Slides</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id4231086" xml-lang="en-US">You can apply different methods to insert spreadsheet cells into your Impress slides or Draw pages:</paragraph>
<list type="ordered">
<listitem>
<bookmark xml-lang="en-US" branch="hid/cui/ui/newtabledialog/NewTableDialog" id="bm_id0916200804233395" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/newtabledialog/@@nowidget@@" id="bm_id0916200804233395" localize="false"/>
<paragraph role="paragraph" id="par_id9209875" xml-lang="en-US">Insert a native table - you enter the data into the cells and apply fancy formatting using the Table Design section on the Tasks pane.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id3044526" xml-lang="en-US">Insert a new table as an OLE object or insert an existing file as an OLE object - you can specify the link to a file to be a live link to the latest data saved in a spreadsheet file.</paragraph>
</listitem>
</list><comment>Insert table dialog - Number of columns</comment>
<bookmark xml-lang="en-US" branch="hid/cui/ui/newtabledialog/columns" id="bm_id0916200804233391" localize="false"/>
<paragraph role="paragraph" id="par_id137333" xml-lang="en-US"><ahelp hid="." visibility="hidden">Enter the number of columns for the new table.</ahelp></paragraph><comment>Insert table dialog - Number of rows</comment>
<bookmark xml-lang="en-US" branch="hid/cui/ui/newtabledialog/rows" id="bm_id0916200804240464" localize="false"/>
<paragraph role="paragraph" id="par_id8626667" xml-lang="en-US"><ahelp hid="." visibility="hidden">Enter the number of rows for the new table.</ahelp></paragraph><comment>Contextmenu of a table in Impress and Draw</comment><comment>Cell</comment>
<bookmark xml-lang="en-US" branch="hid/.uno:CellMenu" id="bm_id0916200803192795" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551581" xml-lang="en-US"><ahelp hid="." visibility="hidden">Define the vertical alignment of selected or all cell contents. Split or merge cells.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:MergeCells" id="bm_id0916200803370158" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551553" xml-lang="en-US"><ahelp hid="." visibility="hidden">All selected cells are merged into one cell.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:SplitCell" id="bm_id0916200803375165" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551535" xml-lang="en-US"><ahelp hid="." visibility="hidden">The selected cell is split into several cells. You see the Split Cells dialog box.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:CellVertTop" id="bm_id0916200803224438" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551651" xml-lang="en-US"><ahelp hid="." visibility="hidden">The cell contents are align at the top of the cells.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:CellVertCenter" id="bm_id091620080323379" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551697" xml-lang="en-US"><ahelp hid="." visibility="hidden">The cell contents are aligned vertically centered in the cells.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:CellVertBottom" id="bm_id0916200803242358" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551632" xml-lang="en-US"><ahelp hid="." visibility="hidden">The cell contents are aligned at the bottom of the cells.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:SelectTable" id="bm_id3954588" localize="false"/>
<paragraph role="paragraph" id="par_idN10626" xml-lang="en-US"><ahelp hid="." visibility="hidden">Selects the current table.</ahelp></paragraph>
<comment>Row</comment>
<bookmark xml-lang="en-US" branch="hid/.uno:RowMenu" id="bm_id0916200803255185" localize="false"/>
<paragraph role="paragraph" id="par_id0916200803551734" xml-lang="en-US"><ahelp hid="." visibility="hidden">Choose commands for the selected or all rows.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:DistributeRows" id="bm_id0916200803565265" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804080035" xml-lang="en-US"><ahelp hid="." visibility="hidden">Distributes the height of the selected or all rows to the same size. The height of the table is not changed.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:EntireRow" id="bm_id0916200804004173" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804080063" xml-lang="en-US"><ahelp hid="." visibility="hidden">If currently no cell is selected, all rows will be selected. If currently cells are selected, all rows containing the selected cells will be selected.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:InsertRows" id="bm_id0916200804032566" localize="false"/>
<paragraph role="paragraph" id="par_id091620080408008" xml-lang="en-US"><ahelp hid="." visibility="hidden">If currently no cell is selected, a new row will be inserted at the bottom of the table. If currently cells are selected, as many new rows as the selection has will be inserted below the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:DeleteRows" id="bm_id0916200804073670" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804080050" xml-lang="en-US"><ahelp hid="." visibility="hidden">All rows of the current selection will be deleted.</ahelp></paragraph><comment>Column</comment>
<bookmark xml-lang="en-US" branch="hid/.uno:ColumnMenu" id="bm_id0916200804101754" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804163012" xml-lang="en-US"><ahelp hid="." visibility="hidden">Choose commands for the selected or all columns.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:DistributeColumns" id="bm_id0916200804110358" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804163092" xml-lang="en-US"><ahelp hid="." visibility="hidden">Distributes the width of the selected or all columns to the same size. The width of the table is not changed.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:EntireColumn" id="bm_id0916200804114925" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804163046" xml-lang="en-US"><ahelp hid="." visibility="hidden">If currently no cell is selected, all columns will be selected. If currently cells are selected, all columns containing the selected cells will be selected.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:InsertColumns" id="bm_id0916200804122650" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804163128" xml-lang="en-US"><ahelp hid="." visibility="hidden">If currently no cell is selected, a new column will be inserted at the right border of the table. If currently cells are selected, as many new columns as the selection has will be inserted right of the selection.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:DeleteColumns" id="bm_id091620080413440" localize="false"/>
<paragraph role="paragraph" id="par_id0916200804163127" xml-lang="en-US"><ahelp hid="." visibility="hidden">All columns of the current selection will be deleted.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:AlignObjetMenu" id="bm_id0916200804143882" localize="false"/><comment>sic</comment>
<paragraph role="paragraph" id="par_id0916200804163151" xml-lang="en-US"><ahelp hid="." visibility="hidden">Align the table within the page or slide.</ahelp></paragraph>
<paragraph role="heading" id="hd_id8594317" xml-lang="en-US" level="2">Inserting a native table</paragraph>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_id7184972" xml-lang="en-US">Go to the Impress slide or Draw page where you want to insert the table.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id248115" xml-lang="en-US">Choose <item type="menuitem">Insert - Table</item> or use the Table icon on the Standard toolbar to insert a table.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id2748496" xml-lang="en-US">Double-click the table and enter or paste the data into the cells. </paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id8270210" xml-lang="en-US">Select some cell contents and right-click to open the context menu. Choose commands to change the cell's contents, like font size and line spacing.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id6820276" xml-lang="en-US">Right-click the table border to open the table's context menu. Use the table's context menu to enter a name and description for the table, or to distribute the rows or columns equally, among other commands.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id0916200803551725" xml-lang="en-US">Select some cells and right-click to open a context menu, where you can insert or delete rows and columns, among other commands. </paragraph>
<paragraph role="paragraph" id="par_id091620080355171" xml-lang="en-US">To select a rectangular area of cells, point to a cell in one corner of the rectangle, hold down the mouse button, and drag the mouse to the opposite corner of the rectangle, then release the mouse button. </paragraph>
<paragraph role="paragraph" id="par_id0916200803551880" xml-lang="en-US">To select one cell, point to that cell, hold down the mouse button, and drag the mouse to the next cell and back, then release the mouse button.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3151075" xml-lang="en-US" level="2">Inserting a new spreadsheet as an OLE object</paragraph>
<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US">You can add a blank $[officename] Calc spreadsheet to a slide as an OLE object.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3150749" xml-lang="en-US">Go to the slide where you want to insert the spreadsheet.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3146313" xml-lang="en-US">Choose <emph>Insert - OLE- Object</emph>. Click <emph>Create new</emph> and select the %PRODUCTNAME Spreadsheet. Click OK. Click in the spreadsheet to enter your data. </paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id2466505" xml-lang="en-US">Click outside the spreadsheet to view the slide.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3148870" xml-lang="en-US">To resize the spreadsheet without resizing the cells, double-click the spreadsheet, and then drag a corner handle. To resize the cells of the spreadsheet, click the spreadsheet, and then drag a corner handle.</paragraph>
<paragraph role="heading" id="hd_id3150215" xml-lang="en-US" level="2">Inserting a spreadsheet from a file</paragraph>
<paragraph role="paragraph" id="par_id3154765" xml-lang="en-US">When you insert an existing spreadsheet into your slide, changes that are made to the original spreadsheet file are not updated on your slide. You can, however, make changes to the spreadsheet in your slide.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3145112" xml-lang="en-US">Go to the slide where you want to insert the spreadsheet.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153075" xml-lang="en-US">Choose <emph>Insert - Object - OLE Object</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150391" xml-lang="en-US">Select <emph>Create from file</emph>, and click <emph>Search</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150537" xml-lang="en-US">Locate the file you want to insert, and then click<emph> OK</emph>.</paragraph>
<paragraph role="listitem" id="par_id1616565" xml-lang="en-US">Enable the <emph>Link to file</emph> checkbox to insert the file as a live link.</paragraph>
</listitem>
</list>
<paragraph role="note" id="par_id3155256" xml-lang="en-US">The entire spreadsheet is inserted into your slide. If you want to change the sheet that is displayed, double-click the spreadsheet, and then select a different sheet.</paragraph>
<embed href="text/shared/00/00000004.xhp#related"/>
<paragraph role="paragraph" id="par_id3154505" xml-lang="en-US"><link href="text/simpress/01/05130000.xhp" name="Format - Slide Layout">Format - Slide Layout</link></paragraph>
<paragraph role="paragraph" id="par_id3150335" xml-lang="en-US"><link href="text/shared/01/04150100.xhp" name="Insert - Object - OLE Object">Insert - Object - OLE Object</link></paragraph>
</body>
</helpdocument>
