# XMLmind XML Editor - Online Help

## 5. View menu

Redraw

  Rebuilds the view of the whole document, no matter which text or nodes are selected.

  ### Updating the references contained in a modular document

  This command has also the side-effect of automatically updating all the references contained in a modular document (see Copy as Reference). However for a reference to be updated, the referenced document must not have been modified in XXE and not yet saved to disk.

  Example: document `book.xml` references `chap1.xml`, `chap2.xml` and `chap2.xml`. File `chap1.xml`, currently opened in XXE, has been modified then saved to disk. File `chap2.xml` is not currently opened in XXE. File `chap3.xml`, currently opened in XXE, has been modified but not yet saved to disk. Using this command will update what has been included from `chap1.xml` and `chap2.xml`, but not from `chap3.xml`, before rebuilding the view of `book.xml`.

Text Size

  The items of this menu make it easy changing the base font size of the active document view, whether styled or not.

  ### Tip

  Use your mouse wheel while pressing the Ctrl key (Cmd key on the Mac) rather than use the Larger and Smaller menu items.

  Larger

    Use a base font size larger by 2pt for the active document view. The largest possible base font size is 24pt.

  Smaller

    Use a base font size smaller by 2pt for the active document view. The smallest possible base font size is 8pt.

  Normal

    Use the ``normal'', default, base font size (e.g. 12pt).

  Use as Default

    If the active document view is a tree view, apply the current font size to all the opened tree views and from now, use it as a default. If the active document view is a styled view, apply the current font size to all the opened styled views and from now, use it as a default.

    This is a handy alternative to specifying the default base font size in the Preferences dialog box. The default base font size is specified in the Preferences dialog box by "Default font size" for the styled view and by "Base font size" for the tree view.

Display Images

  You may need to enable this submenu by checking "Enable the View|Display Images Submenu" in Options → Preferences, General|Features section.

  Specifies how images are displayed in the active styled document view.

  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).

  as Bounding Boxes

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

  Use as Default

    Apply the current display mode to all styled document views and from now, use it as a default.

    This is a handy alternative to specifying the default display mode in the Preferences dialog box.

  ### Note

  - 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.

  - If the bounding box is sufficiently large, it is used to display the thumbnail (when option "as thumbnails" has been selected) and useful information about the image (file size, image size, etc).

    However, when the bounding box is small, some information may be elided. Therefore do not be surprised if you have selected option "as thumbnails" and that for some images, you don't see any thumbnail. Also do not be surprised if some bounding boxes contain useful information about the image and other (smaller) bounding boxes are completely empty.

Add

  Opens a dialog which allows to add a new view to current document tab. A document tab can contain up to 5 views: default central view, but also top, right, bottom, left views. A view is specified by selecting a CSS style sheet among the available ones or, on the contrary, by selecting no style sheet at all, which implies to use a tree view.

Close

  Closes active view. Central view, which is supposed to be the main view, cannot be closed.

  The active view is the view having the keyboard focus: the caret blinks in this view, and not in the other views of the document. To make a view the active one, simply click anywhere in it.

Below the above menu item, a menu item is added for each CSS style sheet available for current document. Selecting the name of a style sheet causes the document view to use this style sheet. If a document view already uses the selected style sheet, the style sheet is reloaded from its file (which is very handy when developing a new CSS style sheet).