Skip to content

Commit a0350ae

Browse files
committed
Updated documentation of 'inverse' attribute regarding 'class' attribute of <visibility> and <validity> elements. For issue #58.
1 parent 7e9d545 commit a0350ae

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

UserManual.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This manual includes a description of the system functionalities and capabilitie
1212
* [Configuration Files](#configuration-files)
1313
* [Menus](#menus)
1414
* [Visibility / Validity](#visibility--validity)
15+
* [class attribute](#class-attribute)
1516
* [maxfiles and maxfolders attributes](#maxfiles-and-maxfolders-attributes)
1617
* [fileextensions attribute](#fileextensions-attribute)
1718
* [exists attribute](#exists-attribute)
@@ -357,13 +358,14 @@ If `inverse` attribute is not specified, then the validation is successful.
357358

358359
The meaning of each inversed attribute in explained in the following table:
359360

360-
| Attribute | Meaning |
361-
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
362-
| maxfiles | Defines a minimum number of selected files. Validates a menu if **more than** _x_ files are selected.<br>If 'maxfiles` is set to 5, _more than_ 5 files must be selected for the validation to be successful. |
363-
| maxfolders | Defines a minimum number of selected folder. Validates a menu if **more than** _x_ folders are selected.<br>If 'maxfolders` is set to 3, _more than_ 3 directories must be selected for the validation to be successful. |
364-
| fileextensions | Validates a menu if the given file's extension **does not** match the file extension selected by the user.<br>If multiple file extensions are specified, **no extension** must match for the validation to be successful. |
365-
| exists | Validates a menu if the specified file or directory **does not** exists.<br>If multiple files/directories are specified, **all values** must _not exists_ on the system for the validation to be successful. |
366-
| properties | Validates a menu if the specified property is **empty** or **not defined**.<br>If multiple properties are specified, **all properties** must be _empty_ or _not defined_ for the validation to be successful. |
361+
| Attributes | Meaning |
362+
|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
363+
| class | Validates a menu if the selected file or directory **does not** match the class of the selected files.<br>If multiple classes are specified, **no classes** must match the selected files for the validation to be successful. |
364+
| maxfiles | Defines a minimum number of selected files. Validates a menu if **more than** _x_ files are selected.<br>If 'maxfiles` is set to 5, _more than_ 5 files must be selected for the validation to be successful. |
365+
| maxfolders | Defines a minimum number of selected folder. Validates a menu if **more than** _x_ folders are selected.<br>If 'maxfolders` is set to 3, _more than_ 3 directories must be selected for the validation to be successful. |
366+
| fileextensions | Validates a menu if the given file's extension **does not** match the file extension selected by the user.<br>If multiple file extensions are specified, **no extension** must match the selected files for the validation to be successful. |
367+
| exists | Validates a menu if the selected file or directory **does not** exists.<br>If multiple files/directories are specified, **all values** must _not exists_ on the system for the validation to be successful. |
368+
| properties | Validates a menu if the specified property is **empty** or **not defined**.<br>If multiple properties are specified, **all properties** must be _empty_ or _not defined_ for the validation to be successful. |
367369

368370
Typical use case of the `inverse` attribute is about filtering out known file extensions.
369371

0 commit comments

Comments
 (0)