summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/output.hxx
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-15 16:46:11 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-09-29 06:30:42 +0100
commit332f911c9f04e0497f61d8b59738c6b5d1332599 (patch)
tree629c9bd1c2e00eb5108ba87a1cab1702b6f6ea7a /sc/source/ui/inc/output.hxx
parentab0ccff829847653f2d745acfc1aa56528dca0b9 (diff)
ScOutputData needs ScViewData for scaling.
Change-Id: I14cd3e835ba8233478514d5f6832737aa2c99bf9
Diffstat (limited to 'sc/source/ui/inc/output.hxx')
-rw-r--r--sc/source/ui/inc/output.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index e7dd3d526886..760883b7f07c 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -48,6 +48,7 @@ class ScTabViewShell;
class ScPageBreakData;
class FmFormView;
class ScFieldEditEngine;
+class ScViewData;
class SdrPaintWindow;
#define SC_SCENARIO_HSPACE 60
@@ -143,6 +144,11 @@ private:
OutputDevice* mpDev; // Device
OutputDevice* mpRefDevice; // printer if used for preview
OutputDevice* pFmtDevice; // reference for text formatting
+
+ // This may be NULL -- i.e. it should be used when available,
+ // but otherwise ignored.
+ ScViewData* mpViewData;
+
ScTableInfo& mrTabInfo;
RowInfo* pRowInfo; // Info block
SCSIZE nArrCount; // occupied lines in info block
@@ -258,6 +264,7 @@ private:
public:
ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
+ ScViewData* pViewData,
ScTableInfo& rTabInfo, ScDocument* pNewDoc,
SCTAB nNewTab, long nNewScrX, long nNewScrY,
SCCOL nNewX1, SCROW nNewY1, SCCOL nNewX2, SCROW nNewY2,