From 835cd06a047717dfe5e0f117959f3c042e13b21b Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Mon, 27 Jul 2020 17:52:41 -0800 Subject: tdf#38093 Writer outline folding - outline visibility and on canvas ui Patch 2/6 Outline content visibility and on canvas collapse/expand control button implementations. Change-Id: I8481125b102d2f07bfcfce91e1379d8e786a7aa2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99653 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sw/inc/ndtxt.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sw/inc/ndtxt.hxx') diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 9edf16dab96e..9dd3a5abe78a 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -596,6 +596,14 @@ public: */ void SetAttrOutlineLevel(int nLevel); + /** + * @brief GetAttrOutlineContentVisible + * @param bOutlineContentVisibleAttr the value stored in RES_PARATR_GRABBAG for 'OutlineContentVisibleAttr' + * @return true if 'OutlineContentVisibleAttr' is found in RES_PARATR_GRABBAG + */ + bool GetAttrOutlineContentVisible(bool& bOutlineContentVisibleAttr); + void SetAttrOutlineContentVisible(bool bVisible); + bool IsEmptyListStyleDueToSetOutlineLevelAttr() const { return mbEmptyListStyleSetDueToSetOutlineLevelAttr;} void SetEmptyListStyleDueToSetOutlineLevelAttr(); void ResetEmptyListStyleDueToResetOutlineLevelAttr(); -- cgit