summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2020-02-21 00:08:53 -0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-24 07:58:38 +0100
commit08313c42abc5fb735948f37789ef993c93b6ab5e (patch)
treebf241e54e38556c0bcc2dc98f80f9c69f9cf1ac2 /sw/inc
parenteeaa7aba6e7ace8b69d7056645b15be2f996d8fb (diff)
tdf#108766 Add outline tracking to all content navigation view
Here is effort to implement this request and improve code understanding/ readability in the areas touched. A choice of one of three modes of outline tracking is avaliable through the outline/heading content context menu. They are: Default - does not collapse expanded outline entries Focus - collapses all outline entries other than tracked Off The need for persistance of this setting is uncertain so has been left for future implementation. Change-Id: I9cb6420537d7ff9f584e94029a0c053f21f1ef8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89287 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/strings.hrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index c2bb4ef19562..93df4d272220 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -643,6 +643,10 @@
#define STR_OUTLINE_LEVEL NC_("STR_OUTLINE_LEVEL", "Outline Level")
#define STR_DRAGMODE NC_("STR_DRAGMODE", "Drag Mode")
#define STR_SEND_OUTLINE_TO_CLIPBOARD_ENTRY NC_("STR_SEND_OUTLINE_TO_CLIPBOARD_ENTRY", "Send Outline to Clipboard")
+#define STR_OUTLINE_TRACKING NC_("STR_OUTLINE_TRACKING", "Outline Tracking")
+#define STR_OUTLINE_TRACKING_DEFAULT NC_("STR_OUTLINE_TRACKING_DEFAULT", "Default")
+#define STR_OUTLINE_TRACKING_FOCUS NC_("STR_OUTLINE_TRACKING_FOCUS", "Focus")
+#define STR_OUTLINE_TRACKING_OFF NC_("STR_OUTLINE_TRACKING_OFF", "Off")
#define STR_GOTO NC_("STR_GOTO", "Go to")
#define STR_SELECT NC_("STR_SELECT", "Select")
#define STR_DEMOTE_CHAPTER NC_("STR_DEMOTE_CHAPTER", "Demote Chapter")