Prev | 5. Using the "Document Structure" dialog | Next

## 5. Using the "Document Structure" dialog

Only users experienced with XHTML/XML should use this dialog.

The "Document Structure" dialog is accessed by right clicking at the current cursor position, or on a block of selected text and then choosing the appropriate entry from the context menu, assuming that the system integrator has made this option available. The "Document Structure" dialog can also be accessed from the menubar or an appropriate toolbar icon.

The following illustration shows the "Document Structure" dialog. The left-hand side (blue text) shows the structure of the XHTML document that you are currently working on. Clicking on the +/- symbol will open/close the lower elements of each node. One can visualize this in the same manner as a normal file system.

The element displayed in grey, "<h1>", shows the last position of the cursor in WYSIWYG view of your document.

All attribute values that can be defined for the currently chosen element are displayed on the right-hand side of the dialog. In this example, the "align" attribute of the "<h1>" element is defined as "center", to align the heading on the center of the page.

This table contains advice as to whether an attribute vale MUST be defined ("Required"), or CAN be defined ("Implied") and also what datatype the attribute must have (in this case "Enumeration").

Once the attribute value has been successfully defined, the changed structure of the "<h1>" element is displayed in the document structure. Use the "Delete" button on the right-hand side of the dialog to delete a previously defined attribute.

Once you have made all desired changes to the document structure, just confirm the dialog. The cursor will now be located at the last element in the "Document Structure" that you have edited. According to our example, the dialog title is now centered.

Prev |  | Next
4.3. Inserting an image from a webDAV server directory | Home | 6. Accelerators (keyboard shortcuts)