Lines Matching refs:nCols
400 sal_uInt16 GetMaxWidth( SwColMgr* pColMgr, sal_uInt16 nCols ) in GetMaxWidth() argument
403 if( --nCols ) in GetMaxWidth()
404 nMax -= pColMgr->GetGutterWidth() * nCols; in GetMaxWidth()
431 if( nCols ) in ResetColWidth()
433 sal_uInt16 nWidth = GetMaxWidth( pColMgr, nCols ); in ResetColWidth()
434 nWidth = nWidth / nCols; in ResetColWidth()
436 for(sal_uInt16 i = 0; i < nCols; ++i) in ResetColWidth()
639 nCols = pColMgr->GetCount() ; in Reset()
640 aCLNrEdt.SetMax(Max((sal_uInt16)aCLNrEdt.GetMax(), (sal_uInt16)nCols)); in Reset()
641 aCLNrEdt.SetLast(Max(nCols,(sal_uInt16)aCLNrEdt.GetMax())); in Reset()
732 if(nCols > 1)
739 for( i = 1; i < nCols; ++i)
749 for(i = 0; i < nCols; ++i)
752 for(i = 0; i < nCols - 1; ++i)
759 nColWidth[nCols - 1] += nMaxW - nSum;
762 for( i = 1; i < nCols-1; ++i )
767 …pColMgr->SetColWidth( nCols-1, static_cast< sal_uInt16 >(nColWidth[nCols-1] + nColDist[nCols -2]/2…
792 nCols = 0;
824 aCLNrEdt.SetValue(nCols); in Init()
832 for(i = 0; i < nCols; ++i) in Init()
836 if(i < nCols - 1) in Init()
840 if( 1 < nCols ) in Init()
845 nColumnWidthSum /= nCols; in Init()
846 for(i = 0; i < nCols; ++i) in Init()
899 if ( nCols > nVisCols ) in UpdateCols()
907 switch(nCols) in UpdateCols()
915 aDistEd1.Enable(nCols > 1); in UpdateCols()
925 const sal_Bool bEnable = nCols > 1; in UpdateCols()
990 nCols = (sal_uInt16)aCLNrEdt.GetValue(); in IMPL_LINK()
1001 if( nTemp != nCols ) in IMPL_LINK()
1006 pColMgr->SetCount(nCols, (sal_uInt16)nDist); in IMPL_LINK()
1007 for(sal_uInt16 i = 0; i < nCols; i++) in IMPL_LINK()
1034 if(nCols < 2) in IMPL_LINK()
1038 sal_uInt16 nMaxGap = pColMgr->GetActualSize() - nCols * MINLAY; in IMPL_LINK()
1039 DBG_ASSERT(nCols, "Abstand kann nicht ohne Spalten eingestellt werden"); in IMPL_LINK()
1040 nMaxGap /= nCols - 1; in IMPL_LINK()
1047 for(sal_uInt16 i = 0; i < nCols; i++) in IMPL_LINK()
1125 pColMgr->SetCount(nCols, (sal_uInt16)nDist); in IMPL_LINK()
1126 for(sal_uInt16 i = 0; i < nCols; i++) in IMPL_LINK()
1159 if( nFirstVis + nVisCols < nCols ) in IMPL_LINK()
1192 if(nChanged == nCols - 1) in IMPL_LINK()
1226 aBalanceColsCB.Enable(nCols > 1); in Update()
1227 if(nCols >= 2) in Update()
1232 if(nCols >= 3) in Update()
1458 sal_uInt16 nCols = 0; in UserDraw() local
1466 nCols = 1; in UserDraw()
1468 case 2: nCols = 2; in UserDraw()
1473 case 3: nCols = 3; in UserDraw()
1480 case 4: nCols = 2; in UserDraw()
1485 case 5: nCols = 2; in UserDraw()
1491 for(sal_uInt16 j = 0; j < nCols; j++ ) in UserDraw()