以 HTML 格式保存文本文档

为了在 Web 浏览器中进行查看,您可以将 LibreOffice Writer 文档保存为 HTML 格式,另外,也可以根据需要将分页与特定的标题段落样式相关联,这样每当文档中显示该样式时,就会产生一个单独的 HTML 页面。LibreOffice Writer 会自动创建一个页面,并在该页面中含有与这些页面中每一页的超链接。

When you save a text document in HTML format, any graphics in the document are saved into the HTML document as embedded data streams. LibreOffice 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.

  1. 对要产生新 HTML 页的段落应用一种默认 LibreOffice 标题段落样式(如“标题 1”)。

  2. 选择文件 - 发送 - 创建 HTML 文档

  3. 样式框中,选择要用于生成新 HTML 页的段落样式。

  4. 为 HTML 文档输入路径和名称,然后单击保存