| # XMLmind XML Editor - Online Help |

### 5.7. View options

Wrap words wider than available space

  If this toggle is checked, words which are wider than the space available in the document view, are wrapped. For example, when this toggle is not checked (note the horizontal scrollbar):

  When this toggle is checked:

  This option, which slightly modifies the behavior of word wrap in both the tree view and in the styled view, is useful to deal with long URLs and with languages such as Japanese or Chinese which do not use spaces between words.

  Default: not checked.

Display images

  Specifies how by default, images are displayed in styled views:

  normally

    Display the image normally, that is, possibly scaled if this has been specified using attributes such as `width` and `height`.

  as thumbnails

    Show the bounding box of the (possibly scaled) image and, if there is enough room in this rectangle, also show a thumbnail (at most 128x128 pixels large).

    This option allows to avoid out of memory errors when opening documents containing a large number of high-resolution images.

  as bounding boxes

    Show the bounding box of the (possibly scaled) image.

    This option allows to speed up opening documents containing a large number of high-resolution images.

  Note that options "as thumbnails" and "as bounding boxes" have no effect on images having an intrinsic size smaller than 32x32 pixels. Such small images are always displayed normally.

  Default: normally.

#### 5.7.1. "CSS stylesheet defaults" subsection

The following options parameterize the CSS style sheet used to visualize the document or to print it.

Setting some of these preferences will have no visible effect if the style sheet author has specified the corresponding properties in the style sheet. For example, if the user's preferred background is specified in the CSS stylesheet defaults subsection as being light yellow and if the style sheet author has specified the root element `background-color` as being white, the document will be rendered with a white background.

Serif font family

  Specifies the font family used for property value `font-family:serif`.

  Default: Serif (the Java™ default serif font family).

SansSerif font family

  Specifies the font family used for property value `font-family:sans-serif`.

  Default: SansSerif (the Java™ default sans-serif font family).

Monospaced font family

  Specifies the font family used for property value `font-family:monospace`.

  Default: Monospaced (the Java™ default monospaced font family).

Default font family

  Specifies the default value for property `font-family`.

  Default: SansSerif.

Default font size

  Specifies the default value for property `font-size`. See also View → Text Size.

  Default: 12pt.

Default background

  Specifies the default value for property `background-color`. (Displays standard color chooser dialog box.)

  Default: white.

Default text color

  Specifies the default value for property `color`. (Displays standard color chooser dialog box.)

  Default: black.

#### 5.7.2. "Tree view settings" subsection

The following options allow to configure the fonts, colors and level of details of the tree view.

Except for "Fonts and colors", the following options apply only to the ``stand-alone'' tree views. That is, they do not apply to the ``mini'' tree views embedded in a styled view (e.g. DocBook `colspec` and `spanspec` elements are rendered as ``mini'' tree views within the styled view).

Base font size

  The sizes of all the fonts used to render a tree view are computed relatively to this font size. See also View → Text Size.

  Default: 12pt.

Fonts and colors

  Displays a dialog box allowing to specify the fonts[25] and colors used to render a tree view.

Show attributes

  Toggles the display of the attributes in the tree view.

  Default: checked.

Show characters in text nodes

  Toggles the display of text node characters in the tree view.

  Default: checked.

Show characters in comment nodes

  Toggles the display of comment node characters in the tree view.

  Default: checked.

Show characters in processing-instruction nodes

  Toggles the display of processing-instruction node characters in the tree view.

  Default: checked.

[25] Font family and font style, but not the font size which is computed using "Base font size".