diff options
author | Niklas Nebel <nn@openoffice.org> | 2009-04-30 17:06:37 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2009-04-30 17:06:37 +0000 |
commit | 9994d5a118c1eeae14e778a09812b83c855bfffe (patch) | |
tree | ab30f08b94c16042aa4c31297cf0472c126e1493 /sc/source/ui/inc/pfuncache.hxx | |
parent | f5ed09812ec793f007443ab625b0f0124c31cfa2 (diff) |
#i101309# handle print options from new printer UI in renderable
Diffstat (limited to 'sc/source/ui/inc/pfuncache.hxx')
-rw-r--r-- | sc/source/ui/inc/pfuncache.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/inc/pfuncache.hxx b/sc/source/ui/inc/pfuncache.hxx index 93ff22fad0a8..a35084d453d6 100644 --- a/sc/source/ui/inc/pfuncache.hxx +++ b/sc/source/ui/inc/pfuncache.hxx @@ -34,6 +34,7 @@ #include <vector> #include <tools/gen.hxx> #include "rangelst.hxx" +#include "printopt.hxx" class ScDocShell; class ScMarkData; @@ -58,6 +59,7 @@ class ScPrintSelectionStatus { ScPrintSelectionMode eMode; ScRangeList aRanges; + ScPrintOptions aOptions; public: ScPrintSelectionStatus() : eMode(SC_PRINTSEL_INVALID) {} @@ -65,11 +67,13 @@ public: void SetMode(ScPrintSelectionMode eNew) { eMode = eNew; } void SetRanges(const ScRangeList& rNew) { aRanges = rNew; } + void SetOptions(const ScPrintOptions& rNew) { aOptions = rNew; } BOOL operator==(const ScPrintSelectionStatus& rOther) const - { return eMode == rOther.eMode && aRanges == rOther.aRanges; } + { return eMode == rOther.eMode && aRanges == rOther.aRanges && aOptions == rOther.aOptions; } ScPrintSelectionMode GetMode() const { return eMode; } + const ScPrintOptions& GetOptions() const { return aOptions; } }; |