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 /sw/inc | |
parent | 40f1a95eff2b207e9b2b59c72c02e633ee9bf7be (diff) |
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 'sw/inc')
-rw-r--r-- | sw/inc/IDocumentSettingAccess.hxx | 1 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx index b7d2c13d2db4..efddb59e044b 100644 --- a/sw/inc/IDocumentSettingAccess.hxx +++ b/sw/inc/IDocumentSettingAccess.hxx @@ -85,6 +85,7 @@ namespace com { namespace sun { namespace star { namespace i18n { struct Forbidd TAB_OVERFLOW, UNBREAKABLE_NUMBERINGS, CLIPPED_PICTURES, + BACKGROUND_PARA_OVER_DRAWINGS, // COMPATIBILITY FLAGS END BROWSE_MODE, diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 001ebf89f98a..9346d04edda5 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -592,6 +592,7 @@ private: bool mbTabOverflow; bool mbUnbreakableNumberings; bool mbClippedPictures; + bool mbBackgroundParaOverDrawings; bool mbLastBrowseMode : 1; |