diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-10-22 09:12:55 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-10-28 02:10:26 +0200 |
commit | 5f72a041c0160e4067ca931a9cec711b84b558f4 (patch) | |
tree | a780748c637f437ad2b209fe45b7291a54cce692 /sw/sdi | |
parent | 02db1642c9ce4394f4f85755c4a0a831e547e4fb (diff) |
tdf#142446 Show outline content up to a given outline level
This enhancement provides means to hide outline paragraphs and their
so called outline content for outline levels greater than a given
outline level. This can be done whether or not outline folding is
enabled.
Change-Id: I2769b8f39ef2bc11e03cae07c234cf345104567e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141678
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 4 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 7129c7cd99d4..b9fded634561 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -33,6 +33,10 @@ interface BaseTextEditView ExecMethod = Execute ; StateMethod = GetState ; ] + FN_OUTLINE_LEVELS_SHOWN + [ + ExecMethod = Execute; + ] SID_REFRESH_VIEW // status(final|play) [ ExecMethod = Execute ; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 044feca164f3..90c4a2b2b864 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -8363,3 +8363,20 @@ SfxUInt32Item TableColumWidth SID_ATTR_TABLE_COLUMN_WIDTH ToolBoxConfig = FALSE, GroupId = SfxGroupId::Table; ] + +SfxVoidItem OutlineLevelsShown FN_OUTLINE_LEVELS_SHOWN +() +[ + AutoUpdate = FALSE, + FastCall = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::View; +] |