summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/swriter/guide/send2html.xhp
blob: ddba944b19e102837cc8da5a1f10af29fa7c23ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * 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 .
-->

<meta>
  <topic id="textswriterguidesend2htmlxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Saving Text Documents in HTML Format</title>
    <filename>/text/swriter/guide/send2html.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3145087">
  <bookmark_value>text documents; publishing in HTML</bookmark_value>
  <bookmark_value>HTML documents; creating from text documents</bookmark_value>
  <bookmark_value>homepage creation</bookmark_value>
  <bookmark_value>saving;in HTML format</bookmark_value>
</bookmark>


<paragraph id="hd_id3145087" role="heading" level="1" xml-lang="en-US"><variable id="send2html"><link href="text/swriter/guide/send2html.xhp" name="Saving Text Documents in HTML Format">Saving Text Documents in HTML Format</link></variable></paragraph>
<paragraph id="par_id3149825" role="paragraph" xml-lang="en-US">You can save a $[officename] Writer document in HTML format, so that you can view it in a web browser. If you want, you can associate a page break with a specific heading paragraph style to generate a separate HTML page each time the style appears in the document. $[officename] Writer automatically creates a page containing hyperlinks to each of these pages.</paragraph>
<paragraph id="par_id3155922" role="paragraph" xml-lang="en-US">When you save a text document in HTML format, any graphics in the document are saved into the HTML document as embedded data streams. $[officename] tries to keep the original format of graphics, i.e. JPEG pictures or SVG images will be saved into HTML as such. All other graphic formats are saved as PNG.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3155868" role="listitem" xml-lang="en-US">Apply one of the default $[officename] heading paragraph styles, for example, "Heading 1", to the paragraphs where you want to generate a new HTML page.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3156100" role="listitem" xml-lang="en-US">Choose <emph>File - Send - Create HTML Document</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149281" role="listitem" xml-lang="en-US">In the <item type="menuitem">Styles</item> box, select the paragraph style that you want to use to generate a new HTML page.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153407" role="listitem" xml-lang="en-US">Enter a path and a name for the HTML document, and then click <emph>Save</emph>.</paragraph>
  </listitem>
</list>
</body>

</helpdocument>