Modifying variant names

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(See also)
Line 1: Line 1:
Variant names are language and scope dependent topic names. This is slightly different from the topic map standard where variant names play modest role compared to base names.
+
Variant names are scoped topic names. Scope is a set of topics and specify the type of a name. Usually the scope contains at least two topics, one for language and one for name type. However, scope may contain more than two topics or none topics. By default topic panel's variant name matrix has language paragraphs. Orientation of name matrix is changed with '''Flip name matrix''' tool found in context menu of Variant names title header. Variant names are modified directly in topic panel. Next image views a [[Traditional topic panel]] with a Variant name matrix marked with a red circle.
  
By default topic panel's variant name matrix has language paragraphs. Orientation of name matrix is changed with '''Flip name matrix''' tool found in context menu of Variant names title header.
+
[[File:variant_names_traditional.gif|center]]
  
Variant names are modified directly in topic panel. Variant names should not contain new line characters because Wandora's variant name editing field is a single row text field.
 
  
To view and edit variant names with non-schema scopes, user can right click the Variant name box title and select context menu option '''View > View all scopes''' in traditional topic panel. Wandora changes the look of variant name panel and views now all variant names of the topic.
+
To view and edit variant names with non-schema scopes, user can right mouse click the Variant name box title and select context menu option '''View > View all scopes'''. Wandora changes the look of variant name panel and views now all variant names of the topic.
  
 
For more advanced variant name operations use tools in '''Topics > Variant names'''. Menu includes options:
 
For more advanced variant name operations use tools in '''Topics > Variant names'''. Menu includes options:

Revision as of 16:44, 22 February 2013

Variant names are scoped topic names. Scope is a set of topics and specify the type of a name. Usually the scope contains at least two topics, one for language and one for name type. However, scope may contain more than two topics or none topics. By default topic panel's variant name matrix has language paragraphs. Orientation of name matrix is changed with Flip name matrix tool found in context menu of Variant names title header. Variant names are modified directly in topic panel. Next image views a Traditional topic panel with a Variant name matrix marked with a red circle.

Variant names traditional.gif


To view and edit variant names with non-schema scopes, user can right mouse click the Variant name box title and select context menu option View > View all scopes. Wandora changes the look of variant name panel and views now all variant names of the topic.

For more advanced variant name operations use tools in Topics > Variant names. Menu includes options:

  • Copy all variant names copies topic's variant names to clipboard. Also invisible variants i.e. variant that are not specified with schema, are copied to clipboard. This can be used to check what kind of variant names topic has.
  • Regex replace is used to modify topic's variant names with user given regular expression.
  • Remove new line characters deletes new line characters in variant names of current topic.
  • Remove variant name deletes variant name of given type and scope.
  • Remove all empty variant names deletes all zero length variant names in topic.
  • Remove all variant names deletes all variant names in topic. Also invisible variants i.e. variants that have not been defined in schema, are deleted.
  • Make display variants with base name copies topic's base name to all schema specified display variants.

By default Wandora supports four scopes (i.e. languages) of Finnish, Swedish, English, and Language Independent. By default Wandora also supports two name types of Display name and Sort name. Extending the language and the name type support is very easy. To add another language add new instance topic to Wandora language topic. To add another name type add new instance to topic Wandora variant name version. Both Wandora language and Wandora variant name version are instances of Schema type topic. Although Wandora views only variant names of registered scopes and types, other names remain intact in the topic map.


See also

Personal tools