summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorYogeshBharate <yogesh.bharate@synerzip.com>2013-12-27 17:09:14 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-10 18:15:54 +0100
commitec5903ddb6165f0882aa1ffe4f3ff3e1c1127910 (patch)
tree94d75bb0ec899332e909162fefb32da6879c2ed4 /sw/source/ui/index
parentf60b61b2cf87e89938c760877a56bc4dd5c577a9 (diff)
fdo#69613: Code changes for TOC with flag '\z' should get preserved after RT.
Issue : TOC field flag '\z' was not getting preserved after RT. Implementation : Provided import & export support for TOC field flag '\z'. XML file difference : In document.xml, Before - <w:instrText> TOC </w:instrText> After - <w:instrText> TOC \z \o "1-3" \o "1-3" \h </w:instrText> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx writerfilter/source/dmapper/PropertyIds.cxx writerfilter/source/dmapper/PropertyIds.hxx Reviewed on: https://gerrit.libreoffice.org/7217 Change-Id: I84f90a722c7afbdf626db2cc60c4e73580891d36
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cntex.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index 624c5893a9b7..5d1fe725da8b 100644
--- a/sw/source/ui/index/cntex.cxx
+++ b/sw/source/ui/index/cntex.cxx
@@ -242,6 +242,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample(
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS, 0!=(nContentOptions&nsSwTOXElement::TOX_GRAPHIC ));
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_TEXT_FRAMES, 0!=(nContentOptions&nsSwTOXElement::TOX_FRAME ));
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_LABELS, 0!=(nContentOptions&nsSwTOXElement::TOX_SEQUENCE ));
+ lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_HIDE_TAB_LEADER_AND_PAGE_NUMBERS, 0!=(nContentOptions&nsSwTOXElement::TOX_TABLEADER ));
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_CHAPTER, rDesc.IsFromChapter());
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_IS_PROTECTED, rDesc.IsReadonly());