From 12ff89af74cd12375436b67b85674a4a2064ef8d Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Mon, 27 Jul 2020 20:24:52 -0800 Subject: tdf#38093 Writer outline folding - .uno:ToggleOutlineContentVisibility Patch 4/6 that breaks down https://gerrit.libreoffice.org/c/core/+/96672 Add UNO command to toggle outline content visibility Change-Id: I5365b29ab88d67a449b551b303f050b52063b977 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99655 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sw/sdi/swriter.sdi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'sw/sdi/swriter.sdi') diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index b17737f06c36..ae5c0765ccd4 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -4818,6 +4818,23 @@ SfxVoidItem PrintPagePreview FN_PRINT_PAGEPREVIEW GroupId = SfxGroupId::View; ] +SfxVoidItem ToggleOutlineContentVisibility FN_TOGGLE_OUTLINE_CONTENT_VISIBILITY +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::View; +] + SfxVoidItem Protect FN_TABLE_SET_READ_ONLY_CELLS () [ -- cgit