1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?> 2*b1cdbd2cSJim Jagielski 3*b1cdbd2cSJim Jagielski 4*b1cdbd2cSJim Jagielski<!--*********************************************************** 5*b1cdbd2cSJim Jagielski * 6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 7*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 8*b1cdbd2cSJim Jagielski * distributed with this work for additional information 9*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 12*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 13*b1cdbd2cSJim Jagielski * 14*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 15*b1cdbd2cSJim Jagielski * 16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 21*b1cdbd2cSJim Jagielski * under the License. 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski ***********************************************************--> 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski<helpdocument version="1.0"> 28*b1cdbd2cSJim Jagielski<meta> 29*b1cdbd2cSJim Jagielski<topic id="textshared0212070000xml" indexer="include" status="PUBLISH"> 30*b1cdbd2cSJim Jagielski<title id="tit" xml-lang="en-US">Insert Database Columns</title> 31*b1cdbd2cSJim Jagielski<filename>/text/shared/02/12070000.xhp</filename> 32*b1cdbd2cSJim Jagielski</topic> 33*b1cdbd2cSJim Jagielski<history> 34*b1cdbd2cSJim Jagielski<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 35*b1cdbd2cSJim Jagielski<lastedited date="2005-02-11T14:29:38">converted from old format - fpe</lastedited> 36*b1cdbd2cSJim Jagielski</history> 37*b1cdbd2cSJim Jagielski</meta> 38*b1cdbd2cSJim Jagielski<body> 39*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="hid/.uno:SbaBrwInsert" id="bm_id6269470" localize="false"/> 40*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="hid/.uno:SbaBrwInsert" id="bm_id3156183" localize="false"/> 41*b1cdbd2cSJim Jagielski<paragraph role="heading" id="hd_id3147000" xml-lang="en-US" level="1" l10n="U" oldref="1">Insert Database Columns</paragraph> 42*b1cdbd2cSJim Jagielski<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. 43*b1cdbd2cSJim Jagielski</variable></ahelp> The icon is only visible if the current document is a text document or a spreadsheet.</paragraph> 44*b1cdbd2cSJim Jagielski<section id="sydatenintext"> 45*b1cdbd2cSJim Jagielski<table id="tbl_id3149760"> 46*b1cdbd2cSJim Jagielski<tablerow> 47*b1cdbd2cSJim Jagielski<tablecell colspan="" rowspan=""> 48*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3154186" xml-lang="en-US" l10n="E"> 49*b1cdbd2cSJim Jagielski<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> 50*b1cdbd2cSJim Jagielski </image></paragraph> 51*b1cdbd2cSJim Jagielski</tablecell> 52*b1cdbd2cSJim Jagielski<tablecell colspan="" rowspan=""> 53*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="3">Data to Text</paragraph> 54*b1cdbd2cSJim Jagielski</tablecell> 55*b1cdbd2cSJim Jagielski</tablerow> 56*b1cdbd2cSJim Jagielski</table> 57*b1cdbd2cSJim Jagielski 58*b1cdbd2cSJim Jagielski</section> 59*b1cdbd2cSJim Jagielski<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. 60*b1cdbd2cSJim Jagielski</caseinline></switchinline></paragraph> 61*b1cdbd2cSJim Jagielski<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>. 62*b1cdbd2cSJim Jagielski</caseinline></switchinline></paragraph> 63*b1cdbd2cSJim Jagielski<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. 64*b1cdbd2cSJim Jagielski</caseinline></switchinline></paragraph> 65*b1cdbd2cSJim Jagielski<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. 66*b1cdbd2cSJim Jagielski</caseinline></switchinline></paragraph> 67*b1cdbd2cSJim Jagielski</body> 68*b1cdbd2cSJim Jagielski</helpdocument> 69