24#include <config_options.h>
51class UNLESS_MERGELIBS(VCL_DLLPUBLIC)
Options
54 bool mbReduceTransparency =
false;
56 bool mbReduceGradients =
false;
58 sal_uInt16 mnReducedGradientStepCount = 64;
59 bool mbReduceBitmaps =
false;
61 sal_uInt16 mnReducedBitmapResolution = 200;
62 bool mbReducedBitmapsIncludeTransparency =
true;
63 bool mbConvertToGreyscales =
false;
64 bool mbPDFAsStandardPrintJobFormat =
false;
69 bool IsReduceTransparency()
const {
return mbReduceTransparency; }
70 void SetReduceTransparency(
bool bSet) { mbReduceTransparency = bSet; }
72 TransparencyMode GetReducedTransparencyMode()
const {
return meReducedTransparencyMode; }
75 bool IsReduceGradients()
const {
return mbReduceGradients; }
76 void SetReduceGradients(
bool bSet) { mbReduceGradients = bSet; }
78 GradientMode GetReducedGradientMode()
const {
return meReducedGradientsMode; }
79 void SetReducedGradientMode(
GradientMode eMode) { meReducedGradientsMode =
eMode; }
81 sal_uInt16 GetReducedGradientStepCount()
const {
return mnReducedGradientStepCount; }
82 void SetReducedGradientStepCount(sal_uInt16 nStepCount)
84 mnReducedGradientStepCount = nStepCount;
87 bool IsReduceBitmaps()
const {
return mbReduceBitmaps; }
88 void SetReduceBitmaps(
bool bSet) { mbReduceBitmaps = bSet; }
90 BitmapMode GetReducedBitmapMode()
const {
return meReducedBitmapMode; }
91 void SetReducedBitmapMode(
BitmapMode eMode) { meReducedBitmapMode =
eMode; }
93 sal_uInt16 GetReducedBitmapResolution()
const {
return mnReducedBitmapResolution; }
94 void SetReducedBitmapResolution(sal_uInt16 nResolution)
96 mnReducedBitmapResolution = nResolution;
99 bool IsReducedBitmapIncludesTransparency()
const {
return mbReducedBitmapsIncludeTransparency; }
100 void SetReducedBitmapIncludesTransparency(
bool bSet)
102 mbReducedBitmapsIncludeTransparency = bSet;
105 bool IsConvertToGreyscales()
const {
return mbConvertToGreyscales; }
106 void SetConvertToGreyscales(
bool bSet) { mbConvertToGreyscales = bSet; }
108 bool IsPDFAsStandardPrintJobFormat()
const {
return mbPDFAsStandardPrintJobFormat; }
109 void SetPDFAsStandardPrintJobFormat(
bool bSet) { mbPDFAsStandardPrintJobFormat = bSet; }
116 void ReadFromConfig(
bool bFile);