/trunk/main/sw/source/ui/frmdlg/ |
H A D | column.cxx | 403 if( --nCols ) in GetMaxWidth() 431 if( nCols ) in ResetColWidth() 732 if(nCols > 1) 767 …pColMgr->SetColWidth( nCols-1, static_cast< sal_uInt16 >(nColWidth[nCols-1] + nColDist[nCols -2]/2… 792 nCols = 0; 840 if( 1 < nCols ) in Init() 907 switch(nCols) in UpdateCols() 1034 if(nCols < 2) in IMPL_LINK() 1227 if(nCols >= 2) in Update() 1232 if(nCols >= 3) in Update() [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | ww8dout.cxx | 320 sal_uInt8 nCols; in OutTab190() local 321 rSt.Read( &nCols, sizeof( nCols ) ); in OutTab190() 328 if( i < nCols ) in OutTab190() 332 for( i = 0; i < nCols; i++ ){ in OutTab190() 335 if( i < nCols - 1 ) in OutTab190() 342 sal_uInt8 nCols; in OutTab191() local 343 rSt.Read( &nCols, sizeof( nCols ) ); in OutTab191() 373 sal_uInt8 nHi, nCols; in OutTabD608() local 377 rSt.Read( &nCols, sizeof( nCols ) ); in OutTabD608() 385 if( i < nCols ) in OutTabD608() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | linectrl.cxx | 384 nCols ( 2 ), in SvxLineEndWindow() 406 nCols ( 2 ), in SvxLineEndWindow() 614 nCols *= 2; in Resizing() 624 if( nCols > nMaxCols ) in Resizing() 625 nCols = nMaxCols; in Resizing() 626 nW = nItemW * nCols; in Resizing() 629 if( nCols % 2 ) in Resizing() 630 nCols--; in Resizing() 631 nCols = Max( nCols, (sal_uInt16) 2 ); in Resizing() 634 if( nItemCount % nCols ) in Resizing() [all …]
|
H A D | colrctrl.cxx | 264 nCols ( 20 ), in SvxColorDockingWindow() 388 nCols = (sal_uInt16) ( aSize.Width() / aItemSize.Width() ); in SetSize() 395 if ( nLines * nCols >= nCount ) in SetSize() 406 nCols = (sal_uInt16) ( ( aSize.Width() - nScrollWidth ) / aItemSize.Width() ); in SetSize() 408 aColorSet.SetColCount( nCols ); in SetSize() 558 if ( nLines * nCols >= nCount ) in Resizing() 572 if( nCols <= 1 ) in Resizing() 573 nCols = 2; in Resizing() 576 long nMaxLines = nCount / nCols; in Resizing() 577 if( nCount % nCols ) in Resizing() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | htmltbl.cxx | 209 nRows( nRws ), nCols( nCls ), in SwHTMLTableLayout() 234 for( i = 0; i < nCols; i++ ) in ~SwHTMLTableLayout() 291 if( nCol+nColSpan == nCols ) in GetRightCellSpace() 506 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 965 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 976 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 993 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 1013 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 1070 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 1103 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() [all …]
|
H A D | docsort.cxx | 815 nCols = GetColCount(rBoxRef); in FlatFndBox() 819 pArr = new _FndBoxPtr[ nRows * nCols ]; in FlatFndBox() 821 memset( ppTmp, 0, sizeof(_FndBoxPtr) * nRows * nCols ); in FlatFndBox() 973 sal_uInt16 nOff = nRow * nCols + nCol; in FillFlat() 988 ppItemSets = new SfxItemSet*[ nRows * nCols ]; in FillFlat() 989 memset( ppItemSets, 0, sizeof(SfxItemSet*) * nRows * nCols ); in FillFlat() 1018 sal_uInt16 nOff = n_Row * nCols + n_Col; in GetBox() 1021 ASSERT(n_Col < nCols && n_Row < nRows && pTmp, "unzulaessiger Array-Zugriff"); in GetBox() 1027 ASSERT( !ppItemSets || ( n_Col < nCols && n_Row < nRows), "unzulaessiger Array-Zugriff"); in GetItemSet() 1029 return ppItemSets ? *(ppItemSets + (n_Row * nCols + n_Col )) : 0; in GetItemSet()
|
/trunk/main/svtools/source/control/ |
H A D | taskmisc.cxx | 111 sal_uInt16 nCols; in ImplTile() local 128 nCols = ImplCeilSqareRoot( nCount ); in ImplTile() 129 nOffset = (nCols*nCols) - nCount; in ImplTile() 130 if ( nOffset >= nCols ) in ImplTile() 132 nRows = nCols -1; in ImplTile() 133 nOffset = nOffset - nCols; in ImplTile() 136 nRows = nCols; in ImplTile() 138 nWidth /= nCols; in ImplTile() 141 nOverWidth = nRectWidth-(nWidth*nCols); in ImplTile() 144 for ( i = 0; i < nCols; i++ ) in ImplTile()
|
/trunk/main/svtools/source/contnr/ |
H A D | imivctl2.cxx | 36 nCols = 0; in IcnCursor_Impl() 80 pColumns = new SvPtrarr[ nCols ]; in ImplCreate() 95 if( nX >= nCols ) in ImplCreate() 319 nLastCol = nCols; in GoLeftRight() 455 if( nColMax < (nCols-1)) in GoUpDown() 466 if( !nCols ) in SetDeltas() 467 nCols = 1; in SetDeltas() 806 sal_uInt16 nCols, nRows; in OutputSizeChanged() local 807 GetMinMapSize( nCols, nRows ); in OutputSizeChanged() 810 if( nCols != _nGridCols ) in OutputSizeChanged() [all …]
|
/trunk/main/sc/source/core/inc/ |
H A D | jumpmatrix.hxx | 65 SCSIZE nCols; member in ScJumpMatrix 82 , nCols( nColsP ) in ScJumpMatrix() 94 NOTAVAILABLE), 0, 0, nCols-1, in ScJumpMatrix() 114 rCols = nCols; in GetDimensions() 128 if (nCols == 1 && nRows == 1) in GetJump() 133 else if (nCols == 1 && nRow < nRows) in GetJump() 135 else if (nRows == 1 && nCol < nCols) in GetJump() 137 else if (nCols <= nCol || nRows <= nRow) in GetJump() 150 sal_uLong n = (sal_uLong)nCols * nRows; in SetAllJumps()
|
/trunk/main/vcl/aqua/source/a11y/ |
H A D | aqua11ytablewrapper.mm | 47 sal_Int32 nCols = accessibleTable->getAccessibleColumnCount(); 49 if( nRows * nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS ) 54 for ( sal_Int32 columnCount = 0; columnCount < nCols; columnCount++ ) 119 sal_Int32 nCols = accessibleTable->getAccessibleColumnCount(); 122 if( nRows*nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS ) 138 sal_Int32 nCols = accessibleTable->getAccessibleColumnCount(); 139 if( nRows * nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS ) 178 sal_Int32 nCols = accessibleTable->getAccessibleColumnCount(); 179 if( nRows * nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS ) 185 for( sal_Int32 n = 0; n < nCols; n++ )
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/ |
H A D | _XTextLayoutConstrains.java | 49 short nCols = 0; in _getMinimumSize() local 51 Size mSize = oObj.getMinimumSize(nCols,nLines); in _getMinimumSize() 65 short[] nCols = new short[1]; in _getColumnsAndLines() local 67 oObj.getColumnsAndLines(nCols,nLines); in _getColumnsAndLines() 68 boolean res = ( (nCols[0] != 0) && (nLines[0] != 0) ); in _getColumnsAndLines() 70 log.println("nCols: " + nCols[0]); in _getColumnsAndLines()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 96 sal_uInt16 nCols; member 1113 nCols( pOptions->nCols ), in HTMLTable() 1282 i = nCols; in GetPrevBoxStartNode() 2158 if( nCols < nColsReq ) in InsertCell() 2164 nCols = nColsReq; in InsertCell() 2316 sal_uInt16 i=nCols; in CloseRow() 2365 nCols = nColsReq; in InsertCol() 2415 if( 0==nCols ) in CloseTable() 2420 nCols = 1; in CloseTable() 2437 nCols = nFilledCols; in CloseTable() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | doubleref.cxx | 156 SCCOL nCols = pQueryRef->getColSize(); in lcl_createExcelQuery() local 158 vector<SCCOL> aFields(nCols); in lcl_createExcelQuery() 160 while (bValid && (nCol < nCols)) in lcl_createExcelQuery() 195 while (nCol < nCols) in lcl_createExcelQuery() 316 SCCOL nCols = getColSize(); in getVisibleDataCellCount() local 321 return (nRows-1)*nCols; in getVisibleDataCellCount() 442 SCCOL nCols = getColSize(); in getVisibleDataCellCount() local 447 return (nRows-1)*nCols; in getVisibleDataCellCount()
|
H A D | ddelink.cxx | 154 SCSIZE nCols = 1; // Leerstring -> eine leere Zelle in DataChanged() local 161 nCols = static_cast<SCSIZE>(aLine.GetTokenCount( '\t' )); in DataChanged() 164 if (!nRows || !nCols) // keine Daten in DataChanged() 171 pResult = new ScMatrix( nCols, nRows ); in DataChanged() 193 for (SCSIZE nC=0; nC<nCols; nC++) in DataChanged()
|
H A D | interpr1.cxx | 114 SCSIZE nCols, nRows; in ScIfJump() local 116 if ( nCols == 0 || nRows == 0 ) in ScIfJump() 247 SCSIZE nCols, nRows; in ScChoseJump() local 249 if ( nCols == 0 || nRows == 0 ) in ScChoseJump() 535 SCSIZE nCols, nRows; in JumpMatrix() local 537 if ((nCols <= nC && nCols != 1) || in JumpMatrix() 1929 SCSIZE nCols, nRows, nC, nR; in ScIsEmpty() local 1991 SCSIZE nCols, nRows, nC, nR; in IsString() local 2443 SCSIZE nCols, nRows, nC, nR; in ScIsValue() local 4061 SCCOL nCols; in ScColumn() local [all …]
|
/trunk/main/sw/source/ui/envelp/ |
H A D | labfmt.cxx | 132 if (aItem.nCols == 1) in Paint() 166 if (aItem.nCols == 1) in Paint() 175 for (sal_uInt16 nCol = 0; nCol < Min((sal_uInt16) 2, (sal_uInt16) aItem.nCols); nCol++) in Paint() 212 if (aItem.nCols > 1) in Paint() 542 rItem.nCols = rRec.nCols = (sal_uInt16) aColsField.GetValue(); in FillItem() 583 aColsField.SetMax(aItem.nCols); in Reset() 586 aColsField .SetValue(aItem.nCols); in Reset() 605 aRec.nCols = (sal_uInt16) aColsField.GetValue(); in IMPL_LINK() 717 rItem.nCols = rLabRec.nCols; in GetLabel()
|
H A D | labimg.cxx | 53 nCols (1), in SwLabItem() 96 nCols = rItem.nCols; in operator =() 158 nCols == rLab.nCols && in operator ==() 316 case 3: pValues[nProp] >>= aItem.nCols; break;// "Format/Column", in SwLabCfgItem() 441 case 3: pValues[nProp] <<= aItem.nCols; break;// "Format/Column", in Commit()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xehelper.cxx | 1064 void XclExpCachedMatrix::GetDimensions( SCSIZE & nCols, SCSIZE & nRows ) const in GetDimensions() argument 1066 mrMatrix.GetDimensions( nCols, nRows ); in GetDimensions() 1068 DBG_ASSERT( nCols && nRows, "XclExpCachedMatrix::GetDimensions - empty matrix" ); in GetDimensions() 1069 DBG_ASSERT( nCols <= 256, "XclExpCachedMatrix::GetDimensions - too many columns" ); in GetDimensions() 1074 SCSIZE nCols, nRows; in GetSize() local 1076 GetDimensions( nCols, nRows ); in GetSize() 1081 return 3 + 9 * (nCols * nRows); in GetSize() 1086 SCSIZE nCols, nRows; in Save() local 1088 GetDimensions( nCols, nRows ); in Save() 1092 rStrm << static_cast< sal_uInt8 >( nCols ) << static_cast< sal_uInt16 >( nRows ); in Save() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbafont.cxx | 85 sal_Int32 nCols = xColumnRowRange->getColumns()->getCount(); in setSuperscript() local 87 for ( sal_Int32 col = 0; col < nCols; ++col ) in setSuperscript() 124 sal_Int32 nCols = xColumnRowRange->getColumns()->getCount(); in getSuperscript() local 127 for ( sal_Int32 col = 0; col < nCols; ++col ) in getSuperscript() 157 sal_Int32 nCols = xColumnRowRange->getColumns()->getCount(); in setSubscript() local 159 for ( sal_Int32 col = 0; col < nCols; ++col ) in setSubscript() 198 sal_Int32 nCols = xColumnRowRange->getColumns()->getCount(); in getSubscript() local 201 for ( sal_Int32 col = 0; col < nCols; ++col ) in getSubscript()
|
/trunk/main/sc/inc/ |
H A D | token.hxx | 358 SCCOL nCols; member in ScMatrixFormulaCellToken 362 nRows( nR ), nCols( nC ) {} in ScMatrixFormulaCellToken() 365 nRows( r.nRows ), nCols( r.nCols ) in ScMatrixFormulaCellToken() 377 nCols = nC; in SetMatColsRows() 382 nC = nCols; in GetMatColsRows() 384 SCCOL GetMatCols() const { return nCols; } in GetMatCols()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltbli.cxx | 2416 sal_uInt32 nCols = GetColumnCount(); in _MakeTable() local 2425 for( i=0UL; i<nCols; i++ ) in _MakeTable() 2449 for( i=0U; i < nCols; i++ ) in _MakeTable() 2466 sal_uInt32 nAbsCols = nCols - nRelCols; in _MakeTable() 2482 for( i=0UL; nAbsCols > 0UL && i < nCols; i++ ) in _MakeTable() 2504 if( nRelWidth != nWidth && nRelWidth && nCols ) in _MakeTable() 2508 for( i=0U; i < nCols-1UL; i++ ) in _MakeTable() 2515 (sal_uInt16)nCols-1U ); in _MakeTable() 2601 if( nCols && nAbsWidth ) in _MakeTable() 2610 for( i=0UL; i < nCols-1UL; i++ ) in _MakeTable() [all …]
|
/trunk/main/sw/source/ui/dbui/ |
H A D | dbinsdlg.cxx | 773 sal_uInt16 nCols = aLbTableCol.GetEntryCount() - 1; in IMPL_LINK() local 774 SwTabCols aTabCols( nCols ); in IMPL_LINK() 777 if( nCols ) in IMPL_LINK() 1058 SwInsDBColumns_SAR aColFlds( 255 >= nCols ? (sal_uInt8)nCols : 255, 5 ); in DataToDoc() 1059 for( n = 0; n < nCols; ++n ) in DataToDoc() 1070 if( nCols != aColFlds.Count() ) in DataToDoc() 1073 nCols = aColFlds.Count(); in DataToDoc() 1076 if(!nRows || !nCols) in DataToDoc() 1101 for( n = 0; n < nCols; ++n ) in DataToDoc() 1134 for( n = 0; n < nCols; ++n ) in DataToDoc() [all …]
|
/trunk/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 342 sal_uInt16 nCols = pLine->GetTabBoxes().Count(); in CollectBoxSelection() local 343 for( sal_uInt16 nCol = 0; nCol < nCols; ++nCol ) in CollectBoxSelection() 989 sal_uInt16 nCols = pLine->GetTabBoxes().Count(); in _FindSuperfluousRows() local 991 for( sal_uInt16 nCol = 0; nCol < nCols; ++nCol ) in _FindSuperfluousRows() 1003 for( sal_uInt16 nCol = 0; nCol < nCols; ++nCol ) in _FindSuperfluousRows() 1699 sal_uInt16 nCols = pLine->GetTabBoxes().Count(); in CreateSelection() local 1700 for( sal_uInt16 nCol = 0; nCol < nCols; ++nCol ) in CreateSelection() 1864 sal_uInt16 nCols = pLine->GetTabBoxes().Count(); in ExpandColumnSelection() local 1865 for( sal_uInt16 nCol = 0; nCol < nCols; ++nCol ) in ExpandColumnSelection() 1881 sal_uInt16 nCols = pLine->GetTabBoxes().Count(); in ExpandColumnSelection() local [all …]
|
/trunk/main/sw/inc/ |
H A D | htmltbl.hxx | 200 sal_uInt16 nCols; // Anzahl Spalten member in SwHTMLTableLayout 270 sal_uInt16 nRows, sal_uInt16 nCols, sal_Bool bColsOpt, sal_Bool ColTgs, 365 sal_uInt16 GetColCount() const { return nCols; } in GetColCount() 435 if( nCol+nColSpan==nCols ) in GetInhCellSpace() 466 return aCells[nRow*nCols+nCol]; in GetCell() 472 aCells[nRow*nCols+nCol] = pCell; in SetCell()
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 563 sal_uInt16 nCols = USHRT_MAX, nColSpace = USHRT_MAX, nAktCol = 0; in ReadFly() local 733 case RTF_COLS: nCols = sal_uInt16( nTokenValue ); break; in ReadFly() 772 nCols = USHRT_MAX; // neu aufsetzen in ReadFly() 851 case RTF_COLS: nCols = sal_uInt16( nTokenValue ); break; in ReadFly() 959 if( nCols && USHRT_MAX != nCols ) in ReadFly() 966 aCol.Init( nCols, nColSpace, sal_uInt16( nWidth ) ); in ReadFly() 967 if( nCols == ( aColumns.Count() / 2 ) ) in ReadFly() 1480 long nCols = rSect.NoCols(); in GetPageSize() local 1481 if (1 < nCols) in GetPageSize() 1483 rSize.Width() /= nCols; in GetPageSize() [all …]
|