Files
help/helpcontent2/source/text/shared/guide/dragdrop_beamer.xhp
2004-08-18 09:59:46 +00:00

108 lines
7.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (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.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************-->
<helpdocument version="1.0">
<meta>
<topic id="textsharedguidedragdrop_beamerxml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit">Drag-and-Drop With the Data Source View</title>
<filename>/text/shared/guide/dragdrop_beamer.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark branch="index" xml-lang="en-US" id="bm_id3145071"><bookmark_value>drag and drop; data source view</bookmark_value><bookmark_value>data source view; drag and drop</bookmark_value></bookmark><paragraph id="hd_id3145071" role="heading" level="1" oldref="10" l10n="U" xml-lang="en-US"><variable id="dragdrop_beamer"><link href="text/shared/guide/dragdrop_beamer.xhp" name="Drag-and-Drop With the Data Source View">Drag-and-Drop With the Data Source View</link></variable></paragraph>
<paragraph role="paragraph" id="par_id3151111" l10n="U" xml-lang="en-US" oldref="34">A fast way of copying from a data source into a text or spreadsheet document, or of creating forms based on a data source, is by drag-and-drop.</paragraph>
<table id="tbl_id3149578">
<tablerow>
<tablecell>
<paragraph l10n="E" role="paragraph" id="par_id3147335" xml-lang="en-US" oldref=""><image src="res/helpimg/copydata.png" id="img_id3155390"><alt xml-lang="en-US" id="alt_id3155390">Mouse pointer copying data</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="35">Copying with Drag-and-Drop</paragraph>
</tablecell>
</tablerow>
</table>
<paragraph xml-lang="en-US" role="paragraph" id="par_id3149233" l10n="U" oldref="28">If you want to reverse a drag-and-drop, position the cursor in your document and choose <emph>Edit - Undo</emph>.</paragraph>
<paragraph role="tip" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="46">It is also possible to copy by drag-and-drop from a document into a data source:</paragraph><paragraph role="tip" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="47">A text table or the selected range of a spreadsheet can be dragged using drag-and-drop to a table container in the data source explorer.</paragraph><paragraph role="tip" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="48">Plain text can be copied using drag-and-drop from one document to a data field in the data source view.</paragraph>
<paragraph role="heading" level="3" id="hd_id3145421" l10n="U" xml-lang="en-US" oldref="36">Using data in a text document</paragraph>
<paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="12">You can insert a database field in a text document by dragging a field name from the column header of the data source view into the document. This is especially useful when designing form letters. Simply drag the desired fields - home address, form of address, and so on - into your document.</paragraph>
<paragraph xml-lang="en-US" role="paragraph" id="par_id3153105" l10n="U" oldref="37">To insert a complete record, select the corresponding header and drag it into the document. When you release the mouse button, the <link href="text/shared/02/12070000.xhp" name="Insert database columns"><emph>Insert database columns</emph></link> dialog appears, in which you can decide whether to use all database fields, and whether to copy the data into the document as text, a table or fields. All currently selected records will be inserted.</paragraph>
<paragraph role="heading" level="3" id="hd_id3147230" l10n="U" xml-lang="en-US" oldref="39">Applying data to a table document</paragraph>
<paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="40">You can insert one or more records into the current sheet of a spreadsheet by selecting the rows in the data source view and dragging and dropping them into the spreadsheet. The data is inserted at the place where you release the mouse button.</paragraph>
<paragraph role="heading" level="3" id="hd_id3149766" l10n="U" xml-lang="en-US" oldref="42">Inserting controls in a text form</paragraph>
<paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="43">When you create a text form linked to a database, you can generate controls by drag-and-drop from the data source view.</paragraph>
<paragraph xml-lang="en-US" role="paragraph" id="par_id3149562" l10n="U" oldref="45">When you drag a database column into the text document, you insert a field. If you hold down Shift+<switchinline select="sys"> <caseinline select="MAC">Command</caseinline> <defaultinline>Ctrl</defaultinline> </switchinline> while dragging, a text field is inserted, grouped with an appropriate label field. The text field already contains all the database information that you need for the form.</paragraph>
<embed href="text/shared/00/00000004.xhp#related"/>
<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"/>
<embed href="text/shared/guide/dragdrop_fromgallery.xhp#dragdrop_fromgallery"/>
<embed href="text/shared/guide/dragdrop_gallery.xhp#dragdrop_gallery"/>
<switch select="appl"> <case select="WRITER"><embed href="text/swriter/guide/dragdroptext.xhp#dragdroptext"/></case> </switch>
</body>
</helpdocument>