diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-09-12 09:59:27 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-09-12 10:03:18 +0200 |
commit | 18b3feb8bef06bf7b126fd0bc743e19479cb8026 (patch) | |
tree | 1dc7edbf8779d04cd6bc52be8edc16b79c69d7d3 /writerfilter | |
parent | Deliver libexslt.a (for iOS) (diff) | |
download | core-18b3feb8bef06bf7b126fd0bc743e19479cb8026.tar.gz core-18b3feb8bef06bf7b126fd0bc743e19479cb8026.zip |
n#778133 sw: add BackgroundParaOverDrawings compat flag
In Word, the layer that contains a background image is behind the layer
that contains the paragraph background. In Writer, the paragraph
background is painted before the hell layer. Add a compat flag to change
the order, so the DOCX importer can trigger that.
To reproduce, create an XShape, send it to the background, set some
color for a paragraph background, and notice that the background color
is missing where the shape is behind the text.
Change-Id: I9b1fffd9ac9a6e5a1c3d1f65371440047d125b38
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/filter/ImportFilter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/filter/ImportFilter.cxx b/writerfilter/source/filter/ImportFilter.cxx index 576d22508e64..5d7da9935416 100644 --- a/writerfilter/source/filter/ImportFilter.cxx +++ b/writerfilter/source/filter/ImportFilter.cxx @@ -179,6 +179,7 @@ void WriterFilter::setTargetDocument( const uno::Reference< lang::XComponent >& xSettings->setPropertyValue("FloattableNomargins", uno::makeAny( sal_True )); xSettings->setPropertyValue( "ClippedPictures", uno::makeAny( sal_True ) ); + xSettings->setPropertyValue( "BackgroundParaOverDrawings", uno::makeAny( sal_True ) ); } void WriterFilter::setSourceDocument( const uno::Reference< lang::XComponent >& xDoc ) |