summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/printfun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r--sc/source/ui/view/printfun.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index b32cb95b7628..fe44102e1cb5 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -79,7 +79,7 @@
#define GET_USHORT(set,which) ((const SfxUInt16Item&)(set)->Get((which))).GetValue()
#define GET_SHOW(set,which) ( VOBJ_MODE_SHOW == ScVObjMode( ((const ScViewObjectModeItem&)(set)->Get((which))).GetValue()) )
-//------------------------------------------------------------------------
+
ScPageRowEntry::ScPageRowEntry(const ScPageRowEntry& r)
{
@@ -161,7 +161,7 @@ size_t ScPageRowEntry::CountVisible() const
return nPagesX;
}
-//------------------------------------------------------------------------
+
static long lcl_LineTotal(const ::editeng::SvxBorderLine* pLine)
{
@@ -846,9 +846,9 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions )
}
lcl_FillHFParam( aFtr, pFooterSet );
- //------------------------------------------------------
+
// Compile Table-/Area-Params from single Items
- //------------------------------------------------------
+
// TabPage "Table"
const SfxUInt16Item* pScaleItem = NULL;
@@ -926,9 +926,9 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions )
aTableParam.bForceBreaks = pOptions && pOptions->GetForceBreaks();
- //------------------------------------------------------
+
// TabPage "Parts":
- //------------------------------------------------------
+
//! walk throuch all PrintAreas of the table !!!
const ScRange* pPrintArea = pDoc->GetPrintRange( nPrintTab, 0 );
@@ -2555,7 +2555,7 @@ void ScPrintFunc::InitModes() // set MapModes from nZoom etc.
aTwipMode = MapMode( MAP_TWIP, aTwipsOfs, aHorFract, aZoomFract );
}
-//--------------------------------------------------------------------
+
void ScPrintFunc::ApplyPrintSettings()
{
@@ -2595,7 +2595,7 @@ void ScPrintFunc::ApplyPrintSettings()
}
}
-//--------------------------------------------------------------------
+
// rPageRanges = range for all tables
// nStartPage = rPageRanges starts at nStartPage
// nDisplayStart = continuous number for displaying the page number
@@ -2611,7 +2611,7 @@ long ScPrintFunc::DoPrint( const MultiSelection& rPageRanges,
if ( pPrinter && bDoPrint )
ApplyPrintSettings();
- //--------------------------------------------------------------------
+
InitModes();
if ( pLocationData )
@@ -2622,7 +2622,7 @@ long ScPrintFunc::DoPrint( const MultiSelection& rPageRanges,
MakeTableString();
- //--------------------------------------------------------------------
+
long nPageNo = 0;
long nPrinted = 0;