diff options
Diffstat (limited to 'xmloff/source/style/PageMasterExportPropMapper.cxx')
-rw-r--r-- | xmloff/source/style/PageMasterExportPropMapper.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmloff/source/style/PageMasterExportPropMapper.cxx b/xmloff/source/style/PageMasterExportPropMapper.cxx index 965cdf650c86..2f1a5df943e4 100644 --- a/xmloff/source/style/PageMasterExportPropMapper.cxx +++ b/xmloff/source/style/PageMasterExportPropMapper.cxx @@ -350,7 +350,11 @@ void XMLPageMasterExportPropMapper::ContextFilter( // tdf#103602 don't export draw:fill attributes on page-layout-properties in strict ODF if (!isDrawingPageExport - && aPropMapper->GetEntryAPIName(rProp.mnIndex).startsWith("Fill") + && [](OUString const& rName) -> bool { + return rName.startsWith("Fill") + || rName.startsWith("HeaderFill") + || rName.startsWith("FooterFill"); + } (aPropMapper->GetEntryAPIName(rProp.mnIndex)) && ((aBackgroundImageExport.GetExport().getSaneDefaultVersion() & SvtSaveOptions::ODFSVER_EXTENDED) == 0)) { |