Added Outline enums and column labels to constants submodule

This commit is contained in:
Veronica K. B. Olsen
2020-04-09 19:46:10 +02:00
parent 32c6d80efb
commit 61ed3ee721
3 changed files with 42 additions and 2 deletions
+19 -1
View File
@@ -10,7 +10,7 @@
"""
from nw.constants.enum import nwItemClass, nwItemLayout
from nw.constants.enum import nwItemClass, nwItemLayout, nwOutline
class nwConst():
@@ -104,6 +104,24 @@ class nwLabels():
nwKeyWords.ENTITY_KEY : "Entities",
nwKeyWords.CUSTOM_KEY : "Custom",
}
OUTLINE_COLS = {
nwOutline.TITLE : "Title",
nwOutline.LEVEL : "Level",
nwOutline.LABEL : "Document",
nwOutline.LINE : "Line",
nwOutline.CCOUNT : "Chars",
nwOutline.WCOUNT : "Words",
nwOutline.PCOUNT : "Pars",
nwOutline.POV : "POV",
nwOutline.CHAR : KEY_NAME[nwKeyWords.CHAR_KEY],
nwOutline.PLOT : KEY_NAME[nwKeyWords.PLOT_KEY],
nwOutline.TIME : KEY_NAME[nwKeyWords.TIME_KEY],
nwOutline.WORLD : KEY_NAME[nwKeyWords.WORLD_KEY],
nwOutline.OBJECT : KEY_NAME[nwKeyWords.OBJECT_KEY],
nwOutline.ENTITY : KEY_NAME[nwKeyWords.ENTITY_KEY],
nwOutline.CUSTOM : KEY_NAME[nwKeyWords.CUSTOM_KEY],
nwOutline.SYNOP : "Synopsis",
}
# END Class nwLabels