GUI Layout and Functional Settings (simply called as View) in Serna is the current layout of the GUI controls (buttons, menus, short-cuts, location of buttons and dockable dialogs), and also the settings of a specific functionality active for the current document. You can customize the view by changing the location and appearance of the GUI controls and adjusting plugin settings, and make it persistent for all documents of a specific type. Moreover, the saved view can be applied to any installation of Serna in a company (see Enterprise Configuration Settings Package (ECS Package)).
For example, if you change the appearance of the Serna view for a Docbook 4.5 document (template level), then this view will be activated whenever you open any Docbook 4.5 document, while in the case of , say, a DITA document this view won't be activated.
sui - These files control the view of Serna GUI layout.
scc - These files control the view of the Serna Custom Content toolbar.
xsltp - These files control the view of XSLT Parameter sets.
tpp - These files control the view of the Table plugin.
ahpp - These files control the view of the Antenna House Formatter plugin.
There can be 5 view levels in Serna, 2 original (coming with Serna distribution) , 2 customized by the user, and 1 applied through Enterprise Configuration Settings package:
There are three original built-in views: Built-in No Document View (when no document is opened), Built-in View (when a document is opened in WYSIWYG mode), Plain-text view (when a document is opened in text mode).
These views are located in the sernaInstallationPath\ui directory in the following form:
EmptyDocument.sui
StructDocument.sui
PlainDocument.sui
The original view that is activated for any document opened with a particular template. These template-specific view files (templatefilename.*) come with the distribution and are stored in the corresponding sernaInstallationPath\plugins\templatename directories.
These files get overwritten with the same-named template-specific views applied as Enterprise Configuration Settings.
These no-template views that are applied through Enterprise Configuration Settings Package are activated in two cases: when no document is opened ( No Document View) and when a document is opened without a template ( Document without Template). When you apply ECS Package with no-template view files (no_template_view.*, no_document_view.sui), they are saved to sernaInstallationPath\ui directory.
The user-customized view that is activated for any document opened with a particular template.
The user-customized views that are activated in two cases: when no document is opened ( No Document View) and when a document is opened without a template ( Document without Template).
The user-customized view file location (for example, c:\Documents and Settings\YOUR_LOGIN\.serna-3.2\dbk42.sui) is given for Windows. For Linux/Mac OS X, it is $HOME/.serna-3.2.
The views are activated according to a special priority. For more details, see View Activation Priority.
To learn how to prepare saved view files for distribution, see How to Create ECS Package with View Files.