summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/HeaderFooterWin.cxx
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-11-25 17:23:42 -0900
committerJim Raykowski <raykowj@gmail.com>2019-02-02 05:05:06 +0100
commit5439b1e4d504c9afa71a707743d219222790d6ac (patch)
tree0e3ae691a673bc709d2554082b5d8af8d305d96a /sw/source/uibase/docvw/HeaderFooterWin.cxx
parent6850fcef74f7d3d82dc17143dd1befdf250977d7 (diff)
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 <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/docvw/HeaderFooterWin.cxx')
-rw-r--r--sw/source/uibase/docvw/HeaderFooterWin.cxx4
1 files changed, 4 insertions, 0 deletions
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 <drawinglayer/primitive2d/textlayoutdevice.hxx>
#include <drawinglayer/primitive2d/textprimitive2d.hxx>
#include <editeng/boxitem.hxx>
+#include <editeng/brushitem.hxx>
#include <svx/hdft.hxx>
#include <sfx2/dispatch.hxx>
#include <drawinglayer/processor2d/processorfromoutputdevice.hxx>
@@ -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;