5. View menu

[Note]

The view settings of the document being edited specified using Text Size, Display Images, Show Tags, Tree View Details, Add Views and the CSS stylesheet menu items are automatically made persistent across editing sessions.

Redraw

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

[Note]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 chap3.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

This menu makes it easy changing the base font size of the active document view. Applies to both tree views and styled views.

[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 (typically 12pt).

Display Images

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

Specifies how images are to be displayed in the active document view. Applies only to styled views.

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.

Normally

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

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

Show Tags

Specifies whether element tags are to be displayed in the active document view. Applies only to styled views.

Show Tags

Show most element tags.

Also Show Table Tags

Show all element tags, including those related to tables, that is, row group, row and cell tags.

Tree View Details

Specifies whether attributes, text node characters, comment characters, processing-instruction characters, are to be displayed in their entirety in the active document view. Applies only to tree views.

Show Attributes

Toggles the display of the attributes in the tree view.

Show Characters in Text Nodes

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

Show Characters in Comment Nodes

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

Show Characters in Processing-instruction Nodes

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

Add Views

XXE allows to edit a document using several views at the same time, for example, the styled view, a TOC view and a tree view. Except for the XML source view, these views are “synchronized in real-time” (that is, reflect the same document content in real-time).

This menu item displays a dialog box which may be used to add new views to current document tab and/or to remove existing views from the document tab. Up to four views may be added at the top, bottom, left or right sides of the central, main view.

CSS stylesheet menu items

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

Among these CSS stylesheet menu items, you may find an item called "XML source". This menu item behaves slightly differently from the other items. See below.