diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/scalc/guide/webquery.xhp | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/scalc/guide/webquery.xhp')
-rw-r--r-- | helpcontent2/source/text/scalc/guide/webquery.xhp | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/guide/webquery.xhp b/helpcontent2/source/text/scalc/guide/webquery.xhp new file mode 100644 index 000000000..c98461be3 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/webquery.xhp @@ -0,0 +1,107 @@ +<?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="textscalcguidewebqueryxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Inserting External Data in Table (WebQuery)</title> +<filename>/text/scalc/guide/webquery.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>HTML WebQuery</bookmark_value> +<bookmark_value>ranges; inserting in tables</bookmark_value> +<bookmark_value>external data; inserting</bookmark_value> +<bookmark_value>tables; inserting external data</bookmark_value> +<bookmark_value>web pages; importing data</bookmark_value> +<bookmark_value>WebQuery filter</bookmark_value> +<bookmark_value>inserting; external data</bookmark_value> +<bookmark_value>data sources; external data</bookmark_value> +</bookmark><comment>UFI: removed "external data;WebQuery" because both index entries "external data" led to this page.</comment><paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" localize="false"/> +<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="1"><variable id="webquery"><link href="text/scalc/guide/webquery.xhp" name="Inserting External Data in Table (WebQuery)">Inserting External Data in Table (WebQuery)</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US">With the help of the <emph>Web Page Query ($[officename] Calc)</emph> import filter, you can insert tables from HTML documents in a Calc spreadsheet.</paragraph> +<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US">You can use the same method to insert ranges defined by name from a Calc or Microsoft Excel spreadsheet.</paragraph> +<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US">The following insert methods are available:</paragraph> +<paragraph role="heading" id="hd_id3146976" xml-lang="en-US" level="2">Inserting by Dialog</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154319" xml-lang="en-US">Set the cell cursor at the cell where the new content will be inserted.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145750" xml-lang="en-US">Choose <emph>Sheet - External Links</emph>. This opens the <link href="text/scalc/01/04090000.xhp">External Data</link> dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149958" xml-lang="en-US">Enter the URL of the HTML document or the name of the spreadsheet. Press Enter when finished. Click the <emph>Browse</emph> button to open a file selection dialog.<comment>only after Enter the URL will be requested from the net.</comment></paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149400" xml-lang="en-US">In the large list box of the dialog, select the named ranges or tables you want to insert.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155064" xml-lang="en-US">You can also specify that the ranges or tables are updated every n seconds.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3155443" xml-lang="en-US">The import filter can create names for cell ranges on the fly. As much formatting as possible is retained, while the filter intentionally does not load any images.</paragraph> +<paragraph role="heading" id="hd_id3149021" xml-lang="en-US" level="2">Inserting by Navigator</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id3153965" xml-lang="en-US">Open two documents: the $[officename] Calc spreadsheet in which the external data is to be inserted (target document) and the document from which the external data derives (source document).</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3150205" xml-lang="en-US">In the target document open the Navigator.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3152990" xml-lang="en-US">In the lower combo box of the Navigator select the source document. The Navigator now shows the range names and database ranges or the tables contained in the source document.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3148842" xml-lang="en-US">In the Navigator select the <emph>Insert as link</emph> drag mode +<image id="img_id3152985" src="sw/res/sc20238.png" width="0.222inch" height="0.222inch"><alt id="alt_id3152985" xml-lang="en-US">Icon</alt> + </image>.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3157978" xml-lang="en-US">Drag the desired external data from the Navigator into the target document.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3144768" xml-lang="en-US">If you have loaded an HTML document with the <emph>Web Page Query</emph> filter as the source document, you will find the tables in the Navigator, named continuously from "HTML_table1" onwards, and also two range names that have been created:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3152873" xml-lang="en-US"> +<item type="literal">HTML_all</item> - designates the entire document</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149897" xml-lang="en-US"> +<item type="literal">HTML_tables</item> - designates all HTML tables in the document</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3149126" xml-lang="en-US" level="2">Editing the external data</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3159228" xml-lang="en-US">Open <emph>Edit - Links</emph>. Here you can edit the link to the external data.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3154650" xml-lang="en-US"><link href="text/scalc/01/04090000.xhp" name="External data dialog">External data dialog</link></paragraph> +<embed href="text/scalc/guide/cellreferences_url.xhp#cellreferences_url"/> +</section> +</body> +</helpdocument> |