xref: /AOO42X/main/helpcontent2/source/text/swriter/guide/send2html.xhp (revision 2682ce3197ae7448bd24e2e742459791d0066327)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
30e4b25e7SAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
50e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
60e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
70e4b25e7SAndrew Rist * distributed with this work for additional information
80e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
90e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
100e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
110e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
130e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
150e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
160e4b25e7SAndrew Rist * software distributed under the License is distributed on an
170e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
180e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
190e4b25e7SAndrew Rist * specific language governing permissions and limitations
200e4b25e7SAndrew Rist * under the License.
21cdf0e10cSrcweir *
220e4b25e7SAndrew Rist ***********************************************************-->
230e4b25e7SAndrew Rist
24a213f9d9Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textswriterguidesend2htmlxml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Saving Text Documents in HTML Format</title>
28cdf0e10cSrcweir<filename>/text/swriter/guide/send2html.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
32a213f9d9Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3145087">
33a213f9d9Smseidel<bookmark_value>text documents; publishing in HTML</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>HTML documents; creating from text documents</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>homepage creation</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>saving;in HTML format</bookmark_value>
37cdf0e10cSrcweir</bookmark>
38*2682ce31Smseidel<paragraph xml-lang="en-US" id="hd_id3145087" role="heading" level="1" l10n="U"><variable id="send2html"><link href="text/swriter/guide/send2html.xhp" name="Saving Text Documents in HTML Format">Saving Text Documents in HTML Format</link>
39cdf0e10cSrcweir</variable></paragraph>
40*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3149825" role="paragraph" l10n="U">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>
41*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3155922" role="paragraph" l10n="U">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>
42cdf0e10cSrcweir<list type="ordered">
43cdf0e10cSrcweir<listitem>
44*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3155868" role="listitem" l10n="U">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>
45cdf0e10cSrcweir</listitem>
46cdf0e10cSrcweir<listitem>
47*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3156100" role="listitem" l10n="U">Choose <emph>File - Send - Create HTML Document</emph>.</paragraph>
48cdf0e10cSrcweir</listitem>
49cdf0e10cSrcweir<listitem>
50*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U">In the <item type="menuitem">Styles</item> box, select the paragraph style that you want to use to generate a new HTML page.</paragraph>
51cdf0e10cSrcweir</listitem>
52cdf0e10cSrcweir<listitem>
53*2682ce31Smseidel<paragraph xml-lang="en-US" id="par_id3153407" role="listitem" l10n="U">Enter a path and a name for the HTML document, and then click <emph>Save</emph>.</paragraph>
54cdf0e10cSrcweir</listitem>
55cdf0e10cSrcweir</list>
56cdf0e10cSrcweir</body>
57cdf0e10cSrcweir</helpdocument>
58