Operation Manual
Figure 324: Preview page of Web Wizard dialog
Saving documents as web pages
HTML capabilities in LibreOffice include saving and exporting existing documents in HTML format.
You can also create several different types of web pages using the Web Wizard included with
LibreOffice, see “Creating web pages using the Web Wizard” on page 326 for more information.
The easiest way to create HTML documents is to start with an existing document. You can get a
good idea of how it will appear as a web page by using View > Web Layout. However, web layout
view does not show you which features will or will not be saved correctly in HTML format. Refer to
“Error: Reference source not found” on page Error: Reference source not found on what to
consider before creating a web page from a document.
Writer documents
Single web page
To save a document as a single web page (HTML format) by going to File > Save As on the main
menu bar and specify HTML Document (Writer) as the file type or File > Export and specifying
XHTML format as the file type.
Note
Writer does not replace multiple spaces in the original document with the HTML code
for non-breaking spaces. If you want to have extra spaces in your HTML file or web
page, you need to insert non-breaking spaces in LibreOffice. To do this, press
Ctrl+Spacebar instead of just Spacebar.
Series of web pages
Writer can save a large document as a series of web pages (HTML files) with a table of contents
page.
1) Decide which headings in the document should start on a new page and make sure all
those headings have the same paragraph style (for example, Heading 1).
Chapter 12 Creating Web Pages | 329