summaryrefslogtreecommitdiff
path: root/sd/sdi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 15:13:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-09 09:23:58 +0100
commit7e600aca08ebbd69b0c8ef924c84af4dcf80df56 (patch)
tree535e875bd16b69a530b8af85fc2b7f73993d757d /sd/sdi
parent5d1e22d52a659b12fe7f6b5870bd12d07ddca0d8 (diff)
Related: fdo#78151 force outliners in master view to be read-only text
because these contain place-holder text and it doesn't make sense to be able to edit them (unless some-day we support custom place-holder prompts) because they are now read-only add a pair of "show next level" and "hide last level" features so on right clicking the last outline paragraph you can make the next one visible, or make the last one invisible Change-Id: Iea24d810f298156cfe2f32aa53d0515da45e08eb
Diffstat (limited to 'sd/sdi')
-rw-r--r--sd/sdi/_drvwsh.sdi10
-rw-r--r--sd/sdi/sdraw.sdi48
2 files changed, 58 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi
index d328cf42e57a..f8119e9356c8 100644
--- a/sd/sdi/_drvwsh.sdi
+++ b/sd/sdi/_drvwsh.sdi
@@ -2309,6 +2309,16 @@ interface DrawView
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
]
+ SID_HIDE_LAST_LEVEL // ole : no, status : ?
+ [
+ ExecMethod = FuTemporary ;
+ StateMethod = GetMenuState ;
+ ]
+ SID_SHOW_NEXT_LEVEL // ole : no, status : ?
+ [
+ ExecMethod = FuTemporary ;
+ StateMethod = GetMenuState ;
+ ]
SID_TRANSLITERATE_UPPER // ole : no, status : ?
[
ExecMethod = FuSupport ;
diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi
index 9a03c4f20996..de7f1a284c8c 100644
--- a/sd/sdi/sdraw.sdi
+++ b/sd/sdi/sdraw.sdi
@@ -7025,3 +7025,51 @@ SfxVoidItem PresentationMinimizer SID_PRESENTATION_MINIMIZER
ToolBoxConfig = TRUE,
GroupId = GID_OPTIONS;
]
+
+SfxVoidItem HideLastLevel SID_HIDE_LAST_LEVEL
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* config: */
+ AccelConfig = FALSE,
+ MenuConfig = FALSE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = FALSE,
+ GroupId = GID_OPTIONS;
+]
+
+SfxVoidItem ShowNextLevel SID_SHOW_NEXT_LEVEL
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* config: */
+ AccelConfig = FALSE,
+ MenuConfig = FALSE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = FALSE,
+ GroupId = GID_OPTIONS;
+]