From 6a4db3a7a57926d586bb4e43ae2d77ea29847fcd Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Thu, 31 May 2018 17:27:57 -0800 Subject: tdf#105225 A TOX background tab page based on the area tab page Change-Id: Icc799b98b4ebf8dee6afab98d4a353f7b03e4449 Reviewed-on: https://gerrit.libreoffice.org/55151 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- sw/source/ui/index/cnttab.cxx | 2 +- sw/source/uibase/shells/textidx.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 79eeb008953c..9a24ea2cfcb6 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -299,7 +299,7 @@ SwMultiTOXTabDialog::SwMultiTOXTabDialog(vcl::Window* pParent, const SfxItemSet& m_nSelectId = AddTabPage("index", SwTOXSelectTabPage::Create, nullptr); AddTabPage("styles", SwTOXStylesTabPage::Create, nullptr); m_nColumnId = AddTabPage("columns", SwColumnPage::Create, nullptr); - m_nBackGroundId = AddTabPage("background", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BACKGROUND ), nullptr); + m_nBackGroundId = AddTabPage("background", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BKG ), nullptr); m_nEntriesId = AddTabPage("entries", SwTOXEntryTabPage::Create, nullptr); if(!pCurTOX) SetCurPageId(m_nSelectId); diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx index 099c5c4448fe..e6e13ad10f2a 100644 --- a/sw/source/uibase/shells/textidx.cxx +++ b/sw/source/uibase/shells/textidx.cxx @@ -110,6 +110,7 @@ void SwTextShell::ExecIdx(SfxRequest const &rReq) RES_LR_SPACE, RES_LR_SPACE, RES_BACKGROUND, RES_BACKGROUND, RES_COL, RES_COL, + XATTR_FILL_FIRST, XATTR_FILL_LAST, SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE, FN_PARAM_TOX_TYPE, FN_PARAM_TOX_TYPE>{}); SwWrtShell& rSh = GetShell(); -- cgit v1.2.3