diff options
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index ab56da2b97f4..4ddbf6c21bca 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -391,7 +391,7 @@ static void lcl_HidePrint( ScTableInfo& rTabInfo, SCCOL nX1, SCCOL nX2 ) } } -// + // output to Device (static) // // us used for: @@ -595,9 +595,9 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc, OutputDevice* pDev, double /* nPr delete pDrawView; } -// + // Printing -// + static void lcl_FillHFParam( ScPrintHFParam& rParam, const SfxItemSet* pHFSet ) { @@ -1016,9 +1016,9 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions ) nRepeatStartRow = nRepeatEndRow = SCROW_REPEAT_NONE; } - // + // Split pages - // + if (!bState) { @@ -1186,7 +1186,7 @@ static void lcl_DrawGraphic( const SvxBrushItem &rBrush, OutputDevice *pOut, Out // operation, and k2 is the number of chars // per bitmap pixel. This is approximately 50 // and 7 for current PDF writer, respectively. - // + const double k1( 50 ); const double k2( 7 ); const Size aSize( rOrg.GetSize() ); @@ -2371,10 +2371,10 @@ void ScPrintFunc::SetExclusivelyDrawOleAndDrawObjects() aTableParam.bNullVals = false; } -// + // UpdatePages is only called from outside to set the breaks correctly for viewing // - always without UserArea -// + bool ScPrintFunc::UpdatePages() { @@ -2578,9 +2578,9 @@ void ScPrintFunc::ApplyPrintSettings() { if ( pPrinter ) { - // + // Configure Printer to Printing - // + Size aEnumSize = aPageSize; @@ -3015,10 +3015,10 @@ void ScPrintFunc::CalcPages() // calculates aPageRect and pages fr maPageRows.resize(nRealCnt+1, ScPageRowEntry()); } - // + // Page alignment/splitting after breaks in Col/RowFlags // Of several breaks in a hidden area, only one counts. - // + nPagesX = 0; nPagesY = 0; |