<?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="textscalcguidehtml_docxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Saving and Opening Sheets in HTML</title>
<filename>/text/scalc/guide/html_doc.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150542"><bookmark_value>HTML; sheets</bookmark_value>
<bookmark_value>sheets; HTML</bookmark_value>
<bookmark_value>saving; sheets in HTML</bookmark_value>
<bookmark_value>opening; sheets in HTML</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3150542" xml-lang="en-US" level="1"><variable id="html_doc"><link href="text/scalc/guide/html_doc.xhp">Saving and Opening Sheets in HTML</link>
</variable></paragraph>
<h2 id="hd_id3154124">Saving Sheets in HTML</h2>
<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US">
<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>
<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">Numbers are shown as written. In addition, in the &lt;SDVAL&gt; 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>
<list type="ordered">
<listitem>
<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>
</listitem>
<listitem>
<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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154729" xml-lang="en-US">Enter a <emph>File name</emph> and click <emph>Save</emph>.</paragraph>
</listitem>
</list>
<h2 id="hd_id3149379">Opening Sheets in HTML</h2>
<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US">
<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>
<list type="unordered">
<listitem>
<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>
<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>
</listitem>
</list>
<section id="relatedtopics">
<embed href="text/swriter/guide/send2html.xhp#send2html"/>
<embed href="text/scalc/guide/webquery.xhp#webquery"/>
<paragraph role="paragraph" id="par_id3150370" xml-lang="en-US"><link href="text/shared/01/01020000.xhp">File - Open</link></paragraph>
<paragraph role="paragraph" id="par_id3150199" xml-lang="en-US"><link href="text/shared/01/01070000.xhp">File - Save As</link></paragraph>
</section>
</body>
</helpdocument>
