Contents

# HTML compatibility

Defines settings for HTML pages.

To access this command...

Choose LibreOfficeDev - Preferences Tools - Options - Load/Save - HTML Compatibility.

## Font sizes

Use the spin buttons Size 1 to Size 7 to define the respective font sizes for the HTML <font size=1> to <font size=7> tags.

## Import

Defines the settings for importing HTML documents.

### Use 'English (USA)' locale for numbers

When importing numbers from an HTML page, the decimal separator and the thousands separator characters differ according to the locale of the HTML page. The clipboard however contains no information about the locale. For example, the characters "1.000" copied from a German Web page most possibly mean "one thousand" because the period is the thousands separator in a German locale. If copied from an English Web page, the same characters stand for the number 1 as in "one dot zero zero zero".

If not checked, numbers will be interpreted according to the setting in Languages and Locales - General - Locale setting in the Options dialog box. If checked, numbers will be interpreted as 'English (USA)' locale.

### Import unknown HTML tags as fields

Mark this check box if you want tags that are not recognized by LibreOfficeDev to be imported as fields. For an opening tag, an HTML_ON field will be created with the value of the tag name. For a closing tag, an HTML_OFF will be created. These fields will be converted to tags in the HTML export.

### Ignore font settings

Mark this check box to ignore all font settings when importing. The fonts that were defined in the HTML Page Style will be the fonts that will be used.

### LibreOfficeDev Basic

Mark this check box to include the LibreOfficeDev Basic instructions when exporting to HTML format.

You must activate this option before you create the LibreOfficeDev Basic Script, since otherwise it will not be inserted. LibreOfficeDev Basic Scripts must be located in the header of the HTML document. Once you have created the macro in the LibreOfficeDev Basic IDE, it appears in the source text of the HTML document in the header.

### Display warning

If this field is marked, when exporting to HTML a warning is shown that LibreOfficeDev Basic macros will be lost.

### Print layout

If you mark this field, the print layout of the current document (for example, table of contents with justified page numbers and dot leaders) is exported as well. It can be read by LibreOfficeDev, Mozilla Firefox, and MS Internet Explorer.

The HTML filter supports CSS2 (Cascading Style Sheets Level 2) for printing documents. These capabilities are only effective if print layout export is activated.

### Copy local images to Internet

Mark this check box to automatically upload the embedded pictures to the Internet server when uploading using network protocol. Use the Save As dialog to save the document and enter a complete URL as the file name in the Internet.

Some options cannot be reset once edited. Either edit back the changes manually or click Cancel and reopen the Options dialog.