1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--
5***********************************************************************
6 *
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2000, 2010 Oracle and/or its affiliates.
10 *
11 * OpenOffice.org - a multi-platform office productivity suite
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************
31 -->
32
33
34<meta>
35      <topic id="textswriterguidesend2htmlxml" indexer="include" status="PUBLISH">
36         <title xml-lang="en-US" id="tit">Saving Text Documents in HTML Format</title>
37         <filename>/text/swriter/guide/send2html.xhp</filename>
38      </topic>
39   </meta>
40   <body>
41<bookmark xml-lang="en-US" branch="index" id="bm_id3145087"><bookmark_value>text documents; publishing in HTML</bookmark_value>
42      <bookmark_value>HTML documents; creating from text documents</bookmark_value>
43      <bookmark_value>homepage creation</bookmark_value>
44      <bookmark_value>saving;in HTML format</bookmark_value>
45</bookmark>
46<paragraph xml-lang="en-US" id="hd_id3145087" role="heading" level="1" l10n="U" oldref="1"><variable id="send2html"><link href="text/swriter/guide/send2html.xhp" name="Saving Text Documents in HTML Format">Saving Text Documents in HTML Format</link>
47</variable></paragraph>
48      <paragraph xml-lang="en-US" id="par_id3149825" role="paragraph" l10n="U" oldref="2">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>
49      <paragraph xml-lang="en-US" id="par_id3155922" role="paragraph" l10n="U" oldref="3">When you save a text document in HTML format, any graphics in the document are saved in JPEG format. The name of the HTML document is added as a prefix to the name of the graphic file. The JPEG images are saved in the same folder as the HTML document and are referenced with &lt;IMG&gt; tags in the HTML code.</paragraph>
50      <list type="ordered">
51         <listitem>
52            <paragraph xml-lang="en-US" id="par_id3155868" role="listitem" l10n="U" oldref="5">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>
53         </listitem>
54         <listitem>
55            <paragraph xml-lang="en-US" id="par_id3156100" role="listitem" l10n="U" oldref="6">Choose <emph>File - Send - Create HTML Document</emph>.</paragraph>
56         </listitem>
57         <listitem>
58            <paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U" oldref="7">In the <item type="menuitem">Styles</item>
59               <emph/>box, select the paragraph style that you want to use to generate a new HTML page.</paragraph>
60         </listitem>
61         <listitem>
62            <paragraph xml-lang="en-US" id="par_id3153407" role="listitem" l10n="U" oldref="9">Enter a path and a name for the HTML document, and then click <emph>Save</emph>.</paragraph>
63         </listitem>
64      </list>
65   </body>
66</helpdocument>