summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2020-07-27 21:34:57 -0800
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-30 12:05:20 +0200
commit1c080b887c1ef28cb2e98173d0121bcae3167075 (patch)
treec352bea7101e38691df140ff707e88e484ab776c /include
parentdce97e84f2bb748e4403841593bb7b0b92ea44c4 (diff)
tdf#38093 Writer outline folding - persistence
Patch 6/6 that breaks down https://gerrit.libreoffice.org/c/core/+/96672 Adds persistence attribute loext:outline-content-visible Change-Id: Ide3eeee0f127a05def4d4f493bb4b469e0877b00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99657 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/txtimp.hxx4
-rw-r--r--include/xmloff/xmltoken.hxx1
2 files changed, 4 insertions, 1 deletions
diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx
index 603aa599ab1c..96edbbee0dba 100644
--- a/include/xmloff/txtimp.hxx
+++ b/include/xmloff/txtimp.hxx
@@ -245,6 +245,7 @@ enum XMLTextPAttrTokens
XML_TOK_TEXT_P_TEXTID,
XML_TOK_TEXT_P_STYLE_NAME,
XML_TOK_TEXT_P_COND_STYLE_NAME,
+ XML_TOK_TEXT_P_OUTLINE_CONTENT_VISIBLE,
XML_TOK_TEXT_P_LEVEL,
XML_TOK_TEXT_P_IS_LIST_HEADER,
XML_TOK_TEXT_P_RESTART_NUMBERING,
@@ -457,7 +458,8 @@ public:
bool bPara,
bool bOutlineLevelAttrFound = false,
sal_Int8 nOutlineLevel = -1,
- bool bSetListAttrs = true );
+ bool bSetListAttrs = true,
+ bool bOutlineContentVisible = true);
/** Find a suitable name for the given outline level.
* If rStyleName is empty, change it to a previously used or default style
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index 83c0f8bf3193..3f3a4f62d8ed 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -1386,6 +1386,7 @@ namespace xmloff::token {
XML_ORIENTATION_PORTRAIT,
XML_ORIGIN,
XML_ORPHANS,
+ XML_OUTLINE_CONTENT_VISIBLE,
XML_OUTLINE_LEVEL,
XML_OUTLINE_LEVEL_STYLE,
XML_OUTLINE_STYLE,