| /AOO41X/main/sw/source/ui/frmdlg/ |
| H A D | column.cxx | 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() [all …]
|
| /AOO41X/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() 322 *pOut << (sal_uInt16)nCols << " Cols: "; in OutTab190() 325 for( i = 0; i <= nCols; i++ ){ 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() 344 *pOut << (sal_uInt16)nCols << " Cols, SHDs: "; in OutTab191() [all …]
|
| /AOO41X/main/svx/source/tbxctrls/ |
| H A D | linectrl.cxx | 384 nCols ( 2 ), in SvxLineEndWindow() 406 nCols ( 2 ), in SvxLineEndWindow() 438 aLineEndSet.SetColCount( nCols ); in implInit() 581 aLineEndSet.SetColCount( nCols ); in Resize() 612 nCols = (sal_uInt16) Max( ( (sal_uIntPtr)(( nW + nItemW ) / ( nItemW * 2 ) )), in Resizing() 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() [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() 551 nCols = (sal_uInt16) ( (float) rNewSize.Width() / (float) aItemSize.Width() + 0.5 ); in Resizing() 558 if ( nLines * nCols >= nCount ) in Resizing() 569 nCols = (sal_uInt16) ( ( ( (float) rNewSize.Width() - (float) nScrollWidth ) ) in Resizing() 572 if( nCols <= 1 ) in Resizing() 573 nCols = 2; in Resizing() [all …]
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | htmltbl.cxx | 205 nRows( nRws ), nCols( nCls ), in SwHTMLTableLayout() 230 for( i = 0; i < nCols; i++ ) in ~SwHTMLTableLayout() 234 sal_uInt16 nCount = nRows*nCols; in ~SwHTMLTableLayout() 267 else if( nCol+nColSpan == nCols && nRightBorderWidth && in GetLeftCellSpace() 287 if( nCol+nColSpan == nCols ) in GetRightCellSpace() 502 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 961 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 972 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 989 for( i=0; i<nCols; i++ ) in AutoLayoutPass1() 1009 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()
|
| /AOO41X/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()
|
| /AOO41X/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() 96 nX = sal::static_int_cast< short >(nCols - 1); in ImplCreate() 303 DBG_ASSERT(nX< nCols,"GoLeftRight:Bad row"); in GoLeftRight() 307 nY, nX, sal::static_int_cast< sal_uInt16 >(nCols-1), nX, sal_True, sal_True ); in GoLeftRight() 319 nLastCol = nCols; in GoLeftRight() 421 DBG_ASSERT(nX<nCols,"GoUpDown:Bad row"); in GoUpDown() 455 if( nColMax < (nCols-1)) in GoUpDown() 465 nCols = rSize.Width() / pView->nGridDX; in SetDeltas() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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++ )
|
| /AOO41X/main/qadevOOo/tests/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()
|
| /AOO41X/main/sw/source/filter/html/ |
| H A D | htmltab.cxx | 96 sal_uInt16 nCols; member 418 sal_uInt16 nCols; // Anzahl Spalten member in HTMLTable 1113 nCols( pOptions->nCols ), in HTMLTable() 1124 bFixedCols( pOptions->nCols>0 ), in HTMLTable() 1140 for( sal_uInt16 i=0; i<nCols; i++ ) in HTMLTable() 1175 nRows, nCols, bFixedCols, bColSpec, in CreateLayoutInfo() 1187 for( sal_uInt16 j=0; j<nCols; j++ ) in CreateLayoutInfo() 1207 for( i=0; i<nCols; i++ ) in CreateLayoutInfo() 1261 pPrevCnts = GetCell( nRows-1, nCols-1 )->GetContents(); in GetPrevBoxStartNode() 1282 i = nCols; in GetPrevBoxStartNode() [all …]
|
| /AOO41X/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 | 156 SCSIZE nCols = 1; // Leerstring -> eine leere Zelle in DataChanged() local 163 nCols = static_cast<SCSIZE>(aLine.GetTokenCount( '\t' )); in DataChanged() 166 if (!nRows || !nCols) // keine Daten in DataChanged() 173 pResult = new ScMatrix( nCols, nRows ); in DataChanged() 195 for (SCSIZE nC=0; nC<nCols; nC++) in DataChanged()
|
| H A D | interpr1.cxx | 116 SCSIZE nCols, nRows; in ScIfJump() local 117 pMat->GetDimensions( nCols, nRows ); in ScIfJump() 118 if ( nCols == 0 || nRows == 0 ) in ScIfJump() 125 ScJumpMatrix* pJumpMat = new ScJumpMatrix( nCols, nRows ); in ScIfJump() 126 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScIfJump() 249 SCSIZE nCols, nRows; in ScChoseJump() local 250 pMat->GetDimensions( nCols, nRows ); in ScChoseJump() 251 if ( nCols == 0 || nRows == 0 ) in ScChoseJump() 258 ScJumpMatrix* pJumpMat = new ScJumpMatrix( nCols, nRows ); in ScChoseJump() 259 for ( SCSIZE nC=0; nC < nCols; ++nC ) in ScChoseJump() [all …]
|
| /AOO41X/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() 534 rItem.nCols = rRec.nCols = (sal_uInt16) aColsField.GetValue(); in FillItem() 571 aColsField.SetMax(aItem.nCols); in Reset() 574 aColsField .SetValue(aItem.nCols); in Reset() 593 aRec.nCols = (sal_uInt16) aColsField.GetValue(); in IMPL_LINK() 703 rItem.nCols = rLabRec.nCols; in GetLabel()
|
| H A D | labimg.cxx | 53 nCols (1), in SwLabItem() 94 nCols = rItem.nCols; in operator =() 154 nCols == rLab.nCols && in operator ==() 308 case 3: pValues[nProp] >>= aItem.nCols; break;// "Format/Column", in SwLabCfgItem() 425 case 3: pValues[nProp] <<= aItem.nCols; break;// "Format/Column", in Commit()
|
| /AOO41X/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 …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/sw/source/filter/xml/ |
| H A D | xmltbli.cxx | 2413 sal_uInt32 nCols = GetColumnCount(); in _MakeTable() local 2422 for( i=0UL; i<nCols; i++ ) in _MakeTable() 2436 InsertCell( aStyleName2, 1U, nCols, InsertTableSection() ); in _MakeTable() 2446 for( i=0U; i < nCols; i++ ) in _MakeTable() 2463 sal_uInt32 nAbsCols = nCols - nRelCols; in _MakeTable() 2479 for( i=0UL; nAbsCols > 0UL && i < nCols; i++ ) in _MakeTable() 2501 if( nRelWidth != nWidth && nRelWidth && nCols ) in _MakeTable() 2505 for( i=0U; i < nCols-1UL; i++ ) in _MakeTable() 2512 (sal_uInt16)nCols-1U ); in _MakeTable() 2560 for( i=0UL; nRelCols > 0UL && i < nCols; i++ ) in _MakeTable() [all …]
|
| /AOO41X/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() 778 for( sal_uInt16 n = 0, nStep = (sal_uInt16)(nWidth / (nCols+1)), nW = nStep; in IMPL_LINK() 779 n < nCols; ++n, nW = nW + nStep ) in IMPL_LINK() 1048 sal_uInt16 n, nRows = 0, nCols = aLbTableCol.GetEntryCount(); in DataToDoc() local 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() [all …]
|
| /AOO41X/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 …]
|
| /AOO41X/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()
|
| /AOO41X/main/sw/source/filter/rtf/ |
| H A D | rtffly.cxx | 568 sal_uInt16 nCols = USHRT_MAX, nColSpace = USHRT_MAX, nAktCol = 0; in ReadFly() local 738 case RTF_COLS: nCols = sal_uInt16( nTokenValue ); break; in ReadFly() 777 nCols = USHRT_MAX; // neu aufsetzen in ReadFly() 856 case RTF_COLS: nCols = sal_uInt16( nTokenValue ); break; in ReadFly() 964 if( nCols && USHRT_MAX != nCols ) in ReadFly() 971 aCol.Init( nCols, nColSpace, sal_uInt16( nWidth ) ); in ReadFly() 972 if( nCols == ( aColumns.Count() / 2 ) ) in ReadFly() 1485 long nCols = rSect.NoCols(); in GetPageSize() local 1486 if (1 < nCols) in GetPageSize() 1488 rSize.Width() /= nCols; in GetPageSize() [all …]
|