merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / shared / 02 / 12070000.xhp
blobeb2f35db4736b7da8c7693632a7d7e4c57f410c8
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--***********************************************************************
6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7 *
8 * Copyright 2008 by Sun Microsystems, Inc.
10 * OpenOffice.org - a multi-platform office productivity suite
12 * $RCSfile: 12070000.xhp,v $
13 * $Revision: 1.5 $
15 * This file is part of OpenOffice.org.
17 * OpenOffice.org is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU Lesser General Public License version 3
19 * only, as published by the Free Software Foundation.
21 * OpenOffice.org is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU Lesser General Public License version 3 for more details
25 * (a copy is included in the LICENSE file that accompanied this code).
27 * You should have received a copy of the GNU Lesser General Public License
28 * version 3 along with OpenOffice.org. If not, see
29 * <http://www.openoffice.org/license.html>
30 * for a copy of the LGPLv3 License.
32 ************************************************************************-->
34 <helpdocument version="1.0">
35 <meta>
36 <topic id="textshared0212070000xml" indexer="include" status="PUBLISH">
37 <title id="tit" xml-lang="en-US">Insert Database Columns</title>
38 <filename>/text/shared/02/12070000.xhp</filename>
39 </topic>
40 <history>
41 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
42 <lastedited date="2005-02-11T14:29:38">converted from old format - fpe</lastedited>
43 </history>
44 </meta>
45 <body>
46 <bookmark xml-lang="en-US" branch="hid/SID_SBA_BRW_INSERT" id="bm_id6269470" localize="false"/>
47 <bookmark xml-lang="en-US" branch="hid/.uno:SbaBrwInsert" id="bm_id3156183" localize="false"/>
48 <paragraph role="heading" id="hd_id3147000" xml-lang="en-US" level="1" l10n="U" oldref="1">Insert Database Columns</paragraph>
49 <paragraph role="paragraph" id="par_id3143284" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:SbaBrwInsert"><variable id="datenintext">Inserts all fields of the marked record into the current document at the cursor position.
50 </variable></ahelp> The icon is only visible if the current document is a text document or a spreadsheet.</paragraph>
51 <section id="sydatenintext">
52 <table id="tbl_id3149760">
53 <tablerow>
54 <tablecell colspan="" rowspan="">
55 <paragraph role="paragraph" id="par_id3154186" xml-lang="en-US" l10n="E">
56 <image id="img_id3147291" src="res/commandimagelist/sc_sbabrwinsert.png" width="0.222inch" height="0.222inch"><alt id="alt_id3147291" xml-lang="en-US">Icon</alt>
57 </image></paragraph>
58 </tablecell>
59 <tablecell colspan="" rowspan="">
60 <paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="3">Data to Text</paragraph>
61 </tablecell>
62 </tablerow>
63 </table>
65 </section>
66 <paragraph role="paragraph" id="par_id3153577" xml-lang="en-US" l10n="U" oldref="4"><switchinline select="appl"><caseinline select="CALC">In the data source browser, select the record that you want to insert into the document and then click the <emph>Data to Text</emph> icon. The record is inserted in the document at the cursor position, with the contents of each individual field of the record copied to a table column. You can also select multiple records and transfer them into the document by clicking the <emph>Data to Text </emph>icon. Each individual record is then written to a new row.
67 </caseinline></switchinline></paragraph>
68 <paragraph role="paragraph" id="par_id3145345" xml-lang="en-US" l10n="U" oldref="5"><switchinline select="appl"><caseinline select="WRITER">In the data source browser, select the records that you want to insert into the document and then click the <emph>Data to Text</emph> icon, or drag-and-drop data from the data source browser into the document. This opens the <emph>Insert Database Columns </emph>dialog. Select whether the data should be inserted as a <link href="text/shared/02/12070100.xhp" name="table">table</link>, as <link href="text/shared/02/12070200.xhp" name="fields">fields</link> or as <link href="text/shared/02/12070300.xhp" name="text">text</link>.
69 </caseinline></switchinline></paragraph>
70 <paragraph role="paragraph" id="par_id3153031" xml-lang="en-US" l10n="U" oldref="6"><switchinline select="appl"><caseinline select="WRITER">The preferences you set in the<emph> Insert Database Columns </emph>dialog are saved and will be active the next time the dialog is called. This save process is independent of the database and can record the preferences for a maximum of 5 databases.
71 </caseinline></switchinline></paragraph>
72 <paragraph role="paragraph" id="par_id3156326" xml-lang="en-US" l10n="U" oldref="7"><switchinline select="appl"><caseinline select="WRITER">If data is inserted into the document as a table, the table properties are not saved along with the data in the document. If you select the <emph>AutoFormat</emph> function for formatting the table, $[officename] will note the name of the format template. This template will then be used automatically if you insert data as a table again, unless the preferences have been changed.
73 </caseinline></switchinline></paragraph>
74 </body>
75 </helpdocument>