1<?xml version="1.0" encoding="UTF-8"?> 2 3 4 5<!-- 6 * This file is part of the LibreOffice project. 7 * 8 * This Source Code Form is subject to the terms of the Mozilla Public 9 * License, v. 2.0. If a copy of the MPL was not distributed with this 10 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 11 * 12 * This file incorporates work covered by the following license notice: 13 * 14 * Licensed to the Apache Software Foundation (ASF) under one or more 15 * contributor license agreements. See the NOTICE file distributed 16 * with this work for additional information regarding copyright 17 * ownership. The ASF licenses this file to you under the Apache 18 * License, Version 2.0 (the "License"); you may not use this file 19 * except in compliance with the License. You may obtain a copy of 20 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 21 --> 22 23 24 <helpdocument version="1.0"> 25<meta> 26<topic id="textscalcguidehtml_docxml" indexer="include" status="PUBLISH"> 27<title id="tit" xml-lang="en-US">Saving and Opening Sheets in HTML</title> 28<filename>/text/scalc/guide/html_doc.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3150542"><bookmark_value>HTML; sheets</bookmark_value> 33<bookmark_value>sheets; HTML</bookmark_value> 34<bookmark_value>saving; sheets in HTML</bookmark_value> 35<bookmark_value>opening; sheets in HTML</bookmark_value> 36</bookmark> 37<paragraph role="heading" id="hd_id3150542" xml-lang="en-US" level="1"><variable id="html_doc"><link href="text/scalc/guide/html_doc.xhp" name="Saving and Opening Sheets in HTML">Saving and Opening Sheets in HTML</link> 38</variable></paragraph> 39<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2">Saving Sheets in HTML</paragraph> 40<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US"> 41<item type="productname">%PRODUCTNAME</item> Calc saves all the sheets of a Calc document together as an HTML document. At the beginning of the HTML document, a heading and a list of hyperlinks are automatically added which lead to the individual sheets within the document.</paragraph> 42<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">Numbers are shown as written. In addition, in the <SDVAL> HTML tag, the exact internal number value is written so that after opening the HTML document with <item type="productname">%PRODUCTNAME</item> you know you have the exact values.</paragraph> 43<list type="ordered"> 44<listitem> 45<paragraph role="listitem" id="par_id3153188" xml-lang="en-US">To save the current Calc document as HTML, choose <emph>File - Save As</emph>.</paragraph> 46</listitem> 47<listitem> 48<paragraph role="listitem" id="par_id3148645" xml-lang="en-US">In the <emph>File type</emph> list box, in the area with the other <item type="productname">%PRODUCTNAME</item> Calc filters, choose the file type "HTML Document (<item type="productname">%PRODUCTNAME</item> Calc)".</paragraph> 49</listitem> 50<listitem> 51<paragraph role="listitem" id="par_id3154729" xml-lang="en-US">Enter a <emph>File name</emph> and click <emph>Save</emph>.</paragraph> 52</listitem> 53</list> 54<paragraph role="heading" id="hd_id3149379" xml-lang="en-US" level="2">Opening Sheets in HTML</paragraph> 55<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US"> 56<item type="productname">%PRODUCTNAME</item> offers various filters for opening HTML files, which you can select under <emph>File - Open</emph> in the <emph>Files of type</emph> list box:</paragraph> 57<list type="unordered"> 58<listitem> 59<paragraph role="listitem" id="par_id3146969" xml-lang="en-US">Choose the file type "HTML Document (<item type="productname">%PRODUCTNAME</item> Calc)" to open in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph> 60<paragraph role="listitem" id="par_id3155446" xml-lang="en-US">All <item type="productname">%PRODUCTNAME</item> Calc options are now available to you. However, not all options that <item type="productname">%PRODUCTNAME</item> Calc offers for editing can be saved in HTML format.</paragraph> 61</listitem> 62</list> 63<section id="relatedtopics"> 64<embed href="text/simpress/guide/html_export.xhp#html_export"/> 65<embed href="text/swriter/guide/send2html.xhp#send2html"/> 66<embed href="text/scalc/guide/webquery.xhp#webquery"/> 67<paragraph role="paragraph" id="par_id3150370" xml-lang="en-US"><link href="text/shared/01/01020000.xhp" name="File - Open">File - Open</link></paragraph> 68<paragraph role="paragraph" id="par_id3150199" xml-lang="en-US"><link href="text/shared/01/01070000.xhp" name="File - Save As">File - Save As</link></paragraph> 69</section> 70</body> 71</helpdocument> 72