LibreOffice Module sc (master)  1
printfun.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX
22 
23 #include <memory>
24 #include <pagepar.hxx>
25 #include <editutil.hxx>
26 
27 class SfxPrinter;
28 class ScDocShell;
29 class ScDocument;
30 class ScViewData;
31 class SfxItemSet;
32 class ScPageHFItem;
33 class EditTextObject;
34 class MultiSelection;
35 class ScPageBreakData;
37 class ScPrintOptions;
38 class SvxBoxItem;
39 class SvxBrushItem;
40 class SvxShadowItem;
41 class FmFormView;
42 
43 #define RANGENO_NORANGE USHRT_MAX
44 
45 #define PRINT_HEADER_WIDTH (1.0 * TWIPS_PER_CM)
46 #define PRINT_HEADER_HEIGHT (12.8 * TWIPS_PER_POINT)
47 
48  // Settings for headers/footers
50 {
51  bool bEnable;
52  bool bDynamic;
53  bool bShared;
54  long nHeight; // in total (height + distance + frames)
55  long nManHeight; // set size (min when dynamic)
56  sal_uInt16 nDistance;
57  sal_uInt16 nLeft; // edges
58  sal_uInt16 nRight;
64 };
65 
67 {
68 private:
71  size_t nPagesX;
72  std::vector<bool> aHidden;
74 
75 public:
76  ScPageRowEntry() { nStartRow = nEndRow = 0; nPagesX = 0; }
77 
80 
81  SCROW GetStartRow() const { return nStartRow; }
82  SCROW GetEndRow() const { return nEndRow; }
83  size_t GetPagesX() const { return nPagesX; }
84  void SetStartRow(SCROW n) { nStartRow = n; }
85  void SetEndRow(SCROW n) { nEndRow = n; }
86 
87  void SetPagesX(size_t nNew);
88  void SetHidden(size_t nX);
89  bool IsHidden(size_t nX) const;
90 
91  size_t CountVisible() const;
92 };
93 
94 namespace sc
95 {
96 
98 {
107 
109  : m_bSkipEmpty(false)
110  , m_bPrintArea(false)
111  , m_nStartRow(0)
112  , m_nEndRow(0)
113  , m_nStartCol(0)
114  , m_nEndCol(0)
115  , m_nPrintTab(0)
116  {}
117 };
118 
120 {
121 public:
122  PrintPageRanges();
123 
124  std::vector<SCCOL> m_aPageEndX;
125  std::vector<SCROW> m_aPageEndY;
126  std::vector<ScPageRowEntry> m_aPageRows;
127 
128  size_t m_nPagesX;
129  size_t m_nPagesY;
130  size_t m_nTotalY;
131 
133 
134  bool checkIfAlreadyCalculatedAndSet(bool bSkipEmpty, bool bPrintArea,
135  SCROW nStartRow, SCROW nEndRow,
136  SCCOL nStartCol, SCCOL nEndCol,
137  SCTAB nPrintTab, Size const & aDocSize);
138 
139  void calculate(ScDocument* pDoc, bool bSkipEmpty, bool bPrintArea,
140  SCROW nStartRow, SCROW nEndRow, SCCOL nStartCol, SCCOL nEndCol,
141  SCTAB nPrintTab, Size const & aDocSize);
142 };
143 
144 }
145 
146 struct ScPrintState // Save Variables from ScPrintFunc
147 {
153  bool bPrintAreaValid; // the 4 variables above are set
154  sal_uInt16 nZoom;
155  size_t nPagesX;
156  size_t nPagesY;
157  long nTabPages;
160  long nDocPages;
161 
162  // Additional state of page ranges
165  size_t nTotalY;
166  std::vector<SCCOL> aPageEndX;
167  std::vector<SCROW> aPageEndY;
168  std::vector<ScPageRowEntry> aPageRows;
169 
171  : nPrintTab(0)
172  , nStartCol(0)
173  , nStartRow(0)
174  , nEndCol(0)
175  , nEndRow(0)
176  , bPrintAreaValid(false)
177  , nZoom(0)
178  , nPagesX(0)
179  , nPagesY(0)
180  , nTabPages(0)
181  , nTotalPages(0)
182  , nPageStart(0)
183  , nDocPages(0)
184  , bSavedStateRanges(false)
185  , nTotalY(0)
186  {}
187 };
188 
190 {
191 private:
197 
198  MapMode aOldPrinterMode; // MapMode before the call
199 
200  Point aSrcOffset; // Paper-1/100 mm
201  Point aOffset; // scaled by a factor of page size
202  sal_uInt16 nManualZoom; // Zoom in Preview (percent)
203  bool bClearWin; // Clear output before
205  bool bIsRender;
206 
208  long nPageStart; // Offset for the first page
209  long nDocPages; // Number of Pages in Document
210 
211  const ScRange* pUserArea; // Selection, if set in dialog
212 
213  const SfxItemSet* pParamSet; // Selected template
214  bool bFromPrintState; // created from State-struct
215 
216  // Parameter from template:
217  sal_uInt16 nLeftMargin;
218  sal_uInt16 nTopMargin;
219  sal_uInt16 nRightMargin;
220  sal_uInt16 nBottomMargin;
225 
227  Size aPageSize; // Printer Twips
231 
237 
238  // Calculated values:
239  sal_uInt16 nZoom;
243  long nTabPages;
245 
246  tools::Rectangle aPageRect; // Document Twips
247 
248  MapMode aLogicMode; // Set in DoPrint
251  double nScaleX;
252  double nScaleY;
253 
258 
263  bool bPrintAreaValid; // the 4 variables above are set
264 
266 
267  std::unique_ptr<ScHeaderEditEngine> pEditEngine;
268  std::unique_ptr<SfxItemSet> pEditDefaults;
269 
271 
272  std::vector<ScAddress> aNotePosList; // The order of notes
273 
274  ScPageBreakData* pPageData; // for recording the breaks etc.
275 
276 public:
277  ScPrintFunc( ScDocShell* pShell, SfxPrinter* pNewPrinter, SCTAB nTab,
278  long nPage = 0, long nDocP = 0,
279  const ScRange* pArea = nullptr,
280  const ScPrintOptions* pOptions = nullptr,
281  ScPageBreakData* pData = nullptr );
282 
283  ScPrintFunc( ScDocShell* pShell, SfxPrinter* pNewPrinter,
284  const ScPrintState& rState, const ScPrintOptions* pOptions );
285 
286  // ctors for device other than printer - for preview and pdf:
287 
288  ScPrintFunc( OutputDevice* pOutDev, ScDocShell* pShell, SCTAB nTab,
289  long nPage = 0, long nDocP = 0,
290  const ScRange* pArea = nullptr,
291  const ScPrintOptions* pOptions = nullptr );
292 
293  ScPrintFunc( OutputDevice* pOutDev, ScDocShell* pShell,
294  const ScPrintState& rState,
295  const ScPrintOptions* pOptions );
296 
297  ~ScPrintFunc();
298 
299  static void DrawToDev( ScDocument* pDoc, OutputDevice* pDev, double nPrintFactor,
300  const tools::Rectangle& rBound, ScViewData* pViewData, bool bMetaFile );
301 
302  void SetDrawView( FmFormView* pNew );
303 
304  void SetOffset( const Point& rOfs );
305  void SetManualZoom( sal_uInt16 nNewZoom );
306  void SetDateTime( const DateTime& );
307 
308  void SetClearFlag( bool bFlag );
309  void SetUseStyleColor( bool bFlag );
310  void SetRenderFlag( bool bFlag );
311 
312  void SetExclusivelyDrawOleAndDrawObjects();//for printing selected objects without surrounding cell contents
313 
314  bool UpdatePages();
315 
316  void ApplyPrintSettings(); // Already called from DoPrint()
317  long DoPrint( const MultiSelection& rPageRanges,
318  long nStartPage, long nDisplayStart, bool bDoPrint,
319  ScPreviewLocationData* pLocationData );
320 
321  // Query values - immediately
322 
323  const Size& GetPageSize() const { return aPageSize; }
324  Size GetDataSize() const;
325  void GetScaleData( Size& rPhysSize, long& rDocHdr, long& rDocFtr );
326  long GetFirstPageNo() const { return aTableParam.nFirstPageNo; }
327 
328  long GetTotalPages() const { return nTotalPages; }
329  sal_uInt16 GetZoom() const { return nZoom; }
330 
331  void ResetBreaks( SCTAB nTab );
332 
333  void GetPrintState(ScPrintState& rState, bool bSavePageRanges = false);
334  bool GetLastSourceRange( ScRange& rRange ) const;
335  sal_uInt16 GetLeftMargin() const{return nLeftMargin;}
336  sal_uInt16 GetRightMargin() const{return nRightMargin;}
337  sal_uInt16 GetTopMargin() const{return nTopMargin;}
338  sal_uInt16 GetBottomMargin() const{return nBottomMargin;}
339  const ScPrintHFParam& GetHeader() const {return aHdr;}
340  const ScPrintHFParam& GetFooter() const {return aFtr;}
341 
342  bool HasPrintRange() const { return mbHasPrintRange;}
343 
344 private:
345  void Construct( const ScPrintOptions* pOptions );
346  void InitParam( const ScPrintOptions* pOptions );
347  void CalcZoom( sal_uInt16 nRangeNo );
348  void CalcPages();
349  long CountPages();
350  long CountNotePages();
351 
352  bool AdjustPrintArea( bool bNew );
353 
355 
356  long TextHeight( const EditTextObject* pObject );
357  void MakeEditEngine();
358  void UpdateHFHeight( ScPrintHFParam& rParam );
359 
360  void InitModes();
361 
362  bool IsLeft( long nPageNo );
363  bool IsMirror( long nPageNo );
364  void MakeTableString(); // sets aTableStr
365 
366  void PrintPage( long nPageNo,
367  SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
368  bool bDoPrint, ScPreviewLocationData* pLocationData );
369  void PrintArea( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
370  long nScrX, long nScrY,
371  bool bShLeft, bool bShTop, bool bShRight, bool bShBottom );
372  void LocateArea( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
373  long nScrX, long nScrY, bool bRepCol, bool bRepRow,
374  ScPreviewLocationData& rLocationData );
375  void PrintColHdr( SCCOL nX1, SCCOL nX2, long nScrX, long nScrY );
376  void PrintRowHdr( SCROW nY1, SCROW nY2, long nScrX, long nScrY );
377  void LocateColHdr( SCCOL nX1, SCCOL nX2, long nScrX, long nScrY,
378  bool bRepCol, ScPreviewLocationData& rLocationData );
379  void LocateRowHdr( SCROW nY1, SCROW nY2, long nScrX, long nScrY,
380  bool bRepRow, ScPreviewLocationData& rLocationData );
381  void PrintHF( long nPageNo, bool bHeader, long nStartY,
382  bool bDoPrint, ScPreviewLocationData* pLocationData );
383 
384  long PrintNotes( long nPageNo, long nNoteStart, bool bDoPrint, ScPreviewLocationData* pLocationData );
385  long DoNotes( long nNoteStart, bool bDoPrint, ScPreviewLocationData* pLocationData );
386 
387  void DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH,
388  const SvxBoxItem* pBorderData,
389  const SvxBrushItem* pBackground,
390  const SvxShadowItem* pShadow );
391 
392  void FillPageData();
393 };
394 
395 #endif
396 
397 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FmFormView * pDrawView
Definition: printfun.hxx:196
bool bMultiArea
Definition: printfun.hxx:241
SCCOL nEndCol
Definition: printfun.hxx:151
bool IsHidden(size_t nX) const
Definition: printfun.cxx:130
void GetPrintState(ScPrintState &rState, bool bSavePageRanges=false)
Definition: printfun.cxx:331
long CountPages()
Definition: printfun.cxx:2430
std::vector< SCROW > aPageEndY
Definition: printfun.hxx:167
long DoNotes(long nNoteStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
Definition: printfun.cxx:1871
MapMode aOffsetMode
Definition: printfun.hxx:249
sal_uInt16 nTopMargin
Definition: printfun.hxx:218
std::vector< SCROW > m_aPageEndY
Definition: printfun.hxx:125
Size GetDocPageSize()
Definition: printfun.cxx:2934
void CalcZoom(sal_uInt16 nRangeNo)
Definition: printfun.cxx:2763
void SetManualZoom(sal_uInt16 nNewZoom)
Definition: printfun.cxx:2362
void SetUseStyleColor(bool bFlag)
Definition: printfun.cxx:2372
SCROW GetEndRow() const
Definition: printfun.hxx:82
double nScaleX
Definition: printfun.hxx:251
long CountNotePages()
Definition: printfun.cxx:2504
SCROW nStartRow
Definition: printfun.hxx:69
void SetEndRow(SCROW n)
Definition: printfun.hxx:85
void MakeTableString()
Definition: printfun.cxx:1687
long DoPrint(const MultiSelection &rPageRanges, long nStartPage, long nDisplayStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
Definition: printfun.cxx:2634
void SetPagesX(size_t nNew)
Definition: printfun.cxx:110
long nPageStart
Definition: printfun.hxx:159
void PrintPage(long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, bool bDoPrint, ScPreviewLocationData *pLocationData)
Definition: printfun.cxx:2011
void ResetBreaks(SCTAB nTab)
Definition: printfun.cxx:2979
static void DrawToDev(ScDocument *pDoc, OutputDevice *pDev, double nPrintFactor, const tools::Rectangle &rBound, ScViewData *pViewData, bool bMetaFile)
Definition: printfun.cxx:443
const SvxShadowItem * pShadow
Definition: printfun.hxx:63
const SfxItemSet * pParamSet
Definition: printfun.hxx:213
void LocateArea(SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, long nScrX, long nScrY, bool bRepCol, bool bRepRow, ScPreviewLocationData &rLocationData)
Definition: printfun.cxx:1520
const ScPageHFItem * pRight
Definition: printfun.hxx:60
sal_uInt16 nLeftMargin
Definition: printfun.hxx:217
bool mbHasPrintRange
Definition: printfun.hxx:242
sal_uInt16 nBottomMargin
Definition: printfun.hxx:220
long nDocPages
Definition: printfun.hxx:209
sal_uInt16 nFirstPageNo
Definition: pagepar.hxx:48
bool GetLastSourceRange(ScRange &rRange) const
Definition: printfun.cxx:357
Size GetDataSize() const
Definition: printfun.cxx:1089
SCTAB nPrintTab
Definition: printfun.hxx:148
SCROW GetStartRow() const
Definition: printfun.hxx:81
bool bClearWin
Definition: printfun.hxx:203
bool bSourceRangeValid
Definition: printfun.hxx:224
void PrintRowHdr(SCROW nY1, SCROW nY2, long nScrX, long nScrY)
Definition: printfun.cxx:1438
tools::Rectangle aPageRect
Definition: printfun.hxx:246
std::vector< ScAddress > aNotePosList
Definition: printfun.hxx:272
ScPageTableParam aTableParam
Definition: printfun.hxx:235
const ScRange * pUserArea
Definition: printfun.hxx:211
void LocateRowHdr(SCROW nY1, SCROW nY2, long nScrX, long nScrY, bool bRepRow, ScPreviewLocationData &rLocationData)
Definition: printfun.cxx:1500
void FillPageData()
Definition: printfun.cxx:363
sal_uInt16 GetRightMargin() const
Definition: printfun.hxx:336
void InitParam(const ScPrintOptions *pOptions)
Definition: printfun.cxx:828
const SvxBoxItem * pBorder
Definition: printfun.hxx:61
MapMode aLogicMode
Definition: printfun.hxx:248
SvxPageUsage nPageUsage
Definition: printfun.hxx:226
sal_uInt16 GetTopMargin() const
Definition: printfun.hxx:337
ScPageAreaParam aAreaParam
Definition: printfun.hxx:236
std::vector< ScPageRowEntry > m_aPageRows
Definition: printfun.hxx:126
long nPageStart
Definition: printfun.hxx:208
void GetScaleData(Size &rPhysSize, long &rDocHdr, long &rDocFtr)
Definition: printfun.cxx:1098
ScDocShell * pDocShell
Definition: printfun.hxx:192
bool bPrintAreaValid
Definition: printfun.hxx:263
bool bPrintAreaValid
Definition: printfun.hxx:153
SCROW nStartRow
Definition: printfun.hxx:260
sc::PrintPageRanges m_aRanges
Definition: printfun.hxx:265
ScPrintHFParam aFtr
Definition: printfun.hxx:234
sal_uInt16 GetBottomMargin() const
Definition: printfun.hxx:338
bool UpdatePages()
Definition: printfun.cxx:2397
sal_uInt16 GetZoom() const
Definition: printfun.hxx:329
void MakeEditEngine()
Definition: printfun.cxx:1694
bool bCenterHor
Definition: printfun.hxx:221
SCTAB nPrintTab
Definition: printfun.hxx:207
Point aOffset
Definition: printfun.hxx:201
void PrintArea(SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, long nScrX, long nScrY, bool bShLeft, bool bShTop, bool bShRight, bool bShBottom)
Definition: printfun.cxx:1563
bool bUseStyleColor
Definition: printfun.hxx:204
size_t nPagesX
Definition: printfun.hxx:155
sal_Int16 SCCOL
Definition: types.hxx:22
ScDocument * pDoc
Definition: printfun.hxx:193
bool bFromPrintState
Definition: printfun.hxx:214
long TextHeight(const EditTextObject *pObject)
Definition: printfun.cxx:763
ScRange aLastSourceRange
Definition: printfun.hxx:232
void calculate(ScDocument *pDoc, bool bSkipEmpty, bool bPrintArea, SCROW nStartRow, SCROW nEndRow, SCCOL nStartCol, SCCOL nEndCol, SCTAB nPrintTab, Size const &aDocSize)
Definition: printfun.cxx:3055
SCROW nEndRow
Definition: printfun.hxx:152
void ApplyPrintSettings()
Definition: printfun.cxx:2594
SCCOL nStartCol
Definition: printfun.hxx:149
sal_uInt16 nZoom
Definition: printfun.hxx:239
PrintPageRangesInput m_aInput
Definition: printfun.hxx:132
bool bIsRender
Definition: printfun.hxx:205
ScPageBreakData * pPageData
Definition: printfun.hxx:274
bool HasPrintRange() const
Definition: printfun.hxx:342
ScPageRowEntry & operator=(const ScPageRowEntry &r)
Definition: printfun.cxx:100
VclPtr< SfxPrinter > pPrinter
Definition: printfun.hxx:194
sal_uInt16 nRight
Definition: printfun.hxx:58
void LocateColHdr(SCCOL nX1, SCCOL nX2, long nScrX, long nScrY, bool bRepCol, ScPreviewLocationData &rLocationData)
Definition: printfun.cxx:1479
void SetOffset(const Point &rOfs)
Definition: printfun.cxx:2357
const SvxBoxItem * pBorderItem
Definition: printfun.hxx:228
SCCOL nRepeatEndCol
Definition: printfun.hxx:255
sc::PrintPageRangesInput aPrintPageRangesInput
Definition: printfun.hxx:164
Size aPageSize
Definition: printfun.hxx:227
std::vector< ScPageRowEntry > aPageRows
Definition: printfun.hxx:168
const SvxBrushItem * pBackgroundItem
Definition: printfun.hxx:229
long GetFirstPageNo() const
Definition: printfun.hxx:326
bool bCenterVer
Definition: printfun.hxx:222
const ScPrintHFParam & GetFooter() const
Definition: printfun.hxx:340
SvxPageUsage
sal_uInt16 nLeft
Definition: printfun.hxx:57
SCCOL nRepeatStartCol
Definition: printfun.hxx:254
ScHeaderFieldData aFieldData
Definition: printfun.hxx:270
bool AdjustPrintArea(bool bNew)
Definition: printfun.cxx:679
void SetDateTime(const DateTime &)
Definition: printfun.cxx:1108
std::vector< SCCOL > m_aPageEndX
Definition: printfun.hxx:124
double nScaleY
Definition: printfun.hxx:252
bool bLandscape
Definition: printfun.hxx:223
void SetHidden(size_t nX)
Definition: printfun.cxx:116
long nTotalPages
Definition: printfun.hxx:244
sal_Int32 SCROW
Definition: types.hxx:18
bool IsLeft(long nPageNo)
Definition: printfun.cxx:1675
long PrintNotes(long nPageNo, long nNoteStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
Definition: printfun.cxx:1945
sal_uInt16 nManualZoom
Definition: printfun.hxx:202
ScPrintFunc(ScDocShell *pShell, SfxPrinter *pNewPrinter, SCTAB nTab, long nPage=0, long nDocP=0, const ScRange *pArea=nullptr, const ScPrintOptions *pOptions=nullptr, ScPageBreakData *pData=nullptr)
Definition: printfun.cxx:198
sal_uInt16 nDistance
Definition: printfun.hxx:56
SCROW nRepeatEndRow
Definition: printfun.hxx:257
Point aSrcOffset
Definition: printfun.hxx:200
void SetDrawView(FmFormView *pNew)
Definition: printfun.cxx:412
size_t CountVisible() const
Definition: printfun.cxx:135
long nDocPages
Definition: printfun.hxx:160
VclPtr< OutputDevice > pDev
Definition: printfun.hxx:195
MapMode aTwipMode
Definition: printfun.hxx:250
bool bSavedStateRanges
Definition: printfun.hxx:163
void PrintColHdr(SCCOL nX1, SCCOL nX2, long nScrX, long nScrY)
Definition: printfun.cxx:1389
void Construct(const ScPrintOptions *pOptions)
Definition: printfun.cxx:154
void CalcPages()
Definition: printfun.cxx:3013
size_t GetPagesX() const
Definition: printfun.hxx:83
void PrintHF(long nPageNo, bool bHeader, long nStartY, bool bDoPrint, ScPreviewLocationData *pLocationData)
Definition: printfun.cxx:1734
size_t nPagesY
Definition: printfun.hxx:156
MapMode aOldPrinterMode
Definition: printfun.hxx:198
void DrawBorder(long nScrX, long nScrY, long nScrW, long nScrH, const SvxBoxItem *pBorderData, const SvxBrushItem *pBackground, const SvxShadowItem *pShadow)
Definition: printfun.cxx:1253
SCCOL nEndCol
Definition: printfun.hxx:261
long nTabPages
Definition: printfun.hxx:157
void InitModes()
Definition: printfun.cxx:2569
const SvxShadowItem * pShadowItem
Definition: printfun.hxx:230
bool checkIfAlreadyCalculatedAndSet(bool bSkipEmpty, bool bPrintArea, SCROW nStartRow, SCROW nEndRow, SCCOL nStartCol, SCCOL nEndCol, SCTAB nPrintTab, Size const &aDocSize)
Definition: printfun.cxx:3028
const SvxBrushItem * pBack
Definition: printfun.hxx:62
std::unique_ptr< ScHeaderEditEngine > pEditEngine
Definition: printfun.hxx:267
bool bPrintCurrentTable
Definition: printfun.hxx:240
SCCOL nStartCol
Definition: printfun.hxx:259
long nTabPages
Definition: printfun.hxx:243
bool IsMirror(long nPageNo)
Definition: printfun.cxx:1670
std::vector< SCCOL > aPageEndX
Definition: printfun.hxx:166
void SetClearFlag(bool bFlag)
Definition: printfun.cxx:2367
sal_uInt16 nRightMargin
Definition: printfun.hxx:219
const ScPrintHFParam & GetHeader() const
Definition: printfun.hxx:339
void UpdateHFHeight(ScPrintHFParam &rParam)
Definition: printfun.cxx:776
void SetRenderFlag(bool bFlag)
Definition: printfun.cxx:2379
size_t nPagesX
Definition: printfun.hxx:71
std::vector< bool > aHidden
Definition: printfun.hxx:72
long GetTotalPages() const
Definition: printfun.hxx:328
void SetStartRow(SCROW n)
Definition: printfun.hxx:84
long nTotalPages
Definition: printfun.hxx:158
ScPageRowEntry()
Cache Number of really visible?
Definition: printfun.hxx:76
sal_uInt16 nZoom
Definition: printfun.hxx:154
void SetExclusivelyDrawOleAndDrawObjects()
Definition: printfun.cxx:2384
const ScPageHFItem * pLeft
Definition: printfun.hxx:59
sal_uInt16 GetLeftMargin() const
Definition: printfun.hxx:335
SCROW nEndRow
Definition: printfun.hxx:262
sal_Int16 SCTAB
Definition: types.hxx:23
size_t nTotalY
Definition: printfun.hxx:165
SCROW nStartRow
Definition: printfun.hxx:150
const Size & GetPageSize() const
Definition: printfun.hxx:323
std::unique_ptr< SfxItemSet > pEditDefaults
Definition: printfun.hxx:268
ScPrintHFParam aHdr
Definition: printfun.hxx:233
SCROW nRepeatStartRow
Definition: printfun.hxx:256