$[officename] HTML Templates/text/shared/07/09000000.xhpSun Microsystems, Inc.converted from old format - fpe
dedr: fixed #i30840#HTML; templates overviewtemplates; HTML default templatecharacter styles; HTMLHTML; character stylesformatting; HTMLHTML; formatting$[officename] HTML TemplatesTo create a new web page for the Internet, open a new HTML Document by choosing File - New.A tool for creating new web pages is the Online-Layout-Mode, which you can open by choosing View - Online Layout. As soon as you have activated this mode you will see only those options in the menus and dialogs of $[officename] which can be used on HTML pages.Creating a New Web PageSwitch to the Online-Layout-Mode by choosing View - Online Layout or by opening a new HTML document. $[officename] will then internally use the html.stw template which is located in $[officepath]/share/template/english/internalYou can enter text and insert objects into the new page as if it were a normal text page. Use the special paragraph and character templates that are provided by the HTML template. When the HTML is exported, $[officename] will try to convert the document as close to the original as possible, depending on what the HTML format permits.To create an HTML page from your $[officename] document, save the page using one of the "HTML Document" file types, such as the .HTM or .HTML extensions.HTML Template (Standard)The pages of the HTML standard template have no margins and unlimited length so that your pages will not have page breaks.HTML Paragraph StylesThe special Paragraph Styles for HTML pages have the following meaning:
Paragraph StylesDefinitionBLOCKQUOTEThe text will be indented and in italics.DD 1-3, DT 1-3Glossaries can be structured using DT and DD formats. The first level will be titled DT1; the corresponding glossary text will be titled DD1. The first sublevel will be titled DT2 for the title and DD2 for the text. The third level will be formatted using DT3 and DD3.DT1 is left justified, DD1 is indented once, DT2 is indented like DD1, and so on. DD is followed by a line break <p>, whereas DT is not.HRInserts a horizontal line the entire width of the page.PREText is formatted as preformatted text in the unproportional (TrueType) font, Courier. Since all spaces also appear in HTML text, this format is suitable for program listings with spaces and other similar types of texts.
Character Styles for HTML PagesThere are specific font styles for HTML pages available:
Font StylesDefinitionInternet LinkBlue underlined fontVisited Internet linkRed underlined fontABBREVLogical markup for abbreviationsACRONYMLogical markup for acronyms AULogical markup for author namesBLINKLogical markup for blinking text.QUOTELogical markup for quotations CODELogical markup for source code DELLogical markup for deletions (revision marks)DFNLogical markup for definitionsEMLogical markup for highlighting INSLogical markup for insertions (revision marks)KBDLogical markup for terminal characters LANGLogical markup for foreign languagesPERSONLogical markup for people's namesQLogical markup for short quotationsSAMPLogical markup for examples STRONGLogical markup for important text TTLogical markup for text in teletype fontsVARLogical markup for names of variables
Most of the formatting codes will be exported as HTML tags, but many Web browsers will display it in normal text.Converting Formatting to HTML$[officename] is able to create the correct HTML code from your document. This means that listings in your documents will be exported as HTML tags which can then be displayed as either listings or lists in the Web browsers. Below you will find a selection of some of these formats:
Formatting in a $[officename] DocumentHTML Tag Types(Automatically creating headers)<head>Titles in the Document Properties dialog.<title>Paragraph formatting for headers 1 to x<H1> to <Hx>Sender Paragraph Style<address>Text document tables<table ...>Bold<b>Italic<i>Underline<u>Bulleted list<ul> as the introduction, <li> for each list itemNumbered list<ol> as the introduction, <li> for each list itemSubscript<sub>Superscript<super>Inserted comments<!-- becomes a comment -->Inserted sections<div ID="section name">.....</div>