diff options
author | Armin Le Grand <alg@apache.org> | 2013-05-07 09:37:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-18 16:46:39 +0100 |
commit | 60446a0386b6d40899f6817c9545414841ee3522 (patch) | |
tree | 252dfdcd5abf55c39d160d801803ab2ddc0ec0c4 /include | |
parent | 72703332ff42a70d19050d78a63286b9a9b6f930 (diff) |
Related: #i122120# corrected flag for drawing checkerboards...
adapted previews, added to configuration
(cherry picked from commit c17e634e125f524d153e1ad8febff6d11b810ee4)
Conflicts:
officecfg/registry/schema/org/openoffice/Office/Common.xcs
svtools/inc/svtools/accessibilityoptions.hxx
svtools/source/inc/configitems/accessibilityoptions_const.hxx
vcl/inc/vcl/settings.hxx
Change-Id: I3f4fd9525e31cd816599b963ecd2fa42b1f666d7
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/accessibilityoptions.hxx | 5 | ||||
-rw-r--r-- | include/vcl/settings.hxx | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx index ccaff7e48c65..641d6fe9a706 100644 --- a/include/svtools/accessibilityoptions.hxx +++ b/include/svtools/accessibilityoptions.hxx @@ -62,6 +62,10 @@ public: // only be changed when the color palette is changed from the default sal_Int16 GetColorValueSetColumnCount() const; + // option to make previews show the content with a checkeded background to allow + // simple identification and better preview of transparent content + sal_Bool GetPreviewUsesCheckeredBackground() const; + void SetIsForPagePreviews(sal_Bool bSet); void SetIsHelpTipsDisappear(sal_Bool bSet); void SetIsAllowAnimatedGraphics(sal_Bool bSet); @@ -75,6 +79,7 @@ public: void SetEdgeBlending(sal_Int16 nSet); void SetListBoxMaximumLineCount(sal_Int16 nSet); void SetColorValueSetColumnCount(sal_Int16 nSet); + void SetPreviewUsesCheckeredBackground(sal_Bool bSet); sal_Bool IsModified() const; void Commit(); diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index 10f23d44713c..545bc700c197 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -360,7 +360,7 @@ private: Size maListBoxPreviewDefaultLogicSize; Size maListBoxPreviewDefaultPixelSize; sal_uInt16 mnListBoxPreviewDefaultLineWidth; - sal_Bool mbUIPreviewUsesCheckeredBackground; + sal_Bool mbPreviewUsesCheckeredBackground; OUString maPersonaHeaderFooter; ///< Cache the settings to detect changes. @@ -935,8 +935,8 @@ public: // defines if previews which containn potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others) // use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays - void SetUIPreviewUsesCheckeredBackground(bool bNew) { CopyData(); mpData->mbUIPreviewUsesCheckeredBackground = bNew; } - bool GetUIPreviewUsesCheckeredBackground() const { return mpData->mbUIPreviewUsesCheckeredBackground; } + void SetPreviewUsesCheckeredBackground(bool bNew) { CopyData(); mpData->mbPreviewUsesCheckeredBackground = bNew; } + bool GetPreviewUsesCheckeredBackground() const { return mpData->mbPreviewUsesCheckeredBackground; } void SetStandardStyles(); |