From 5439b1e4d504c9afa71a707743d219222790d6ac Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Sun, 25 Nov 2018 17:23:42 -0900 Subject: tdf#105225 New background tab page for header and footer Border and Background dialog Change-Id: I21979884b89a496ae36d5f1e48763680ae5da817 Reviewed-on: https://gerrit.libreoffice.org/64016 Tested-by: Jenkins Reviewed-by: Jim Raykowski --- sw/source/uibase/docvw/HeaderFooterWin.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw') diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx index dd658ad3920c..2d1fca27f4f3 100644 --- a/sw/source/uibase/docvw/HeaderFooterWin.cxx +++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -428,10 +429,13 @@ void SwHeaderFooterWin::ExecuteCommand(const OString& rIdent) *pPool, svl::Items< RES_BACKGROUND, RES_SHADOW, + XATTR_FILL_FIRST, XATTR_FILL_LAST, SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER>{}); aSet.Put( pHFFormat->GetAttrSet() ); + aSet.Put( pHFFormat->makeBackgroundBrushItem() ); + // Create a box info item... needed by the dialog SvxBoxInfoItem aBoxInfo( SID_ATTR_BORDER_INNER ); const SfxPoolItem *pBoxInfo; -- cgit