View Activation Priority

You can create a customized view for all documents opened with a particular template or for documents opened without a template. Besides, there are some factory built-in views and views coming with the distribution (to learn more about Serna views, see GUI Layout and Functional Settings (or simply Views). You should note that every time you start Serna or open a document in Serna, the view to be activated is chosen in order of priority.

For example, if you save some Serna view for a DITA Task document (e.g. c:\Documents and Settings\YOUR_LOGIN\.serna-3.2\oasis-dita-task.sui), it will override the DITA Task template-specific view file coming with the distribution (c:\Program Files\Syntext\Serna-3.2\plugins\dita\oasis-dita-task.sui).

The views are activated according to the following priority rules:

The document is opened in WYSIWYG mode.
  1. If the document is opened from the recent files list ( Document -> Open Recent ), the view for this document is restored exactly as it was when closing the document.

  2. Otherwise, if the document is opened with a template:

    1. If there is a template-specific view file in c:\Documents and Settings\YOUR_LOGIN\.serna-3.2, it is activated ( Template level).

    2. Otherwise, if there is a template-specific view file in sernaInstallationPath\plugins\templatename, it is activated ( Template Original level).

    3. Otherwise, a built-in view in sernaInstallationPath\ui is activated ( Built-in level).

  3. Otherwise, if the document is opened without a template:
    1. If there is a no-template view file in c:\Documents and Settings\YOUR_LOGIN\.serna-3.2 (for Windows), it is activated ( No-Template level).

    2. Otherwise, a built-in view in sernaInstallationPath\ui is activated ( Built-in level).

No document is opened
  1. If there is a no-document view file in c:\Documents and Settings\YOUR_LOGIN\.serna-3.2, it is activated ( No-Template level).

  2. Otherwise, a built-in no-document view in sernaInstallationPath\ui is activated ( Built-in level).

Note:

View files of different types ( .sui, .scc, .xsltp, .tpp) are searched for independently.