Home
last modified time | relevance | path

Searched refs:nCols (Results 1 – 25 of 141) sorted by relevance

123456

/aoo41x/main/sw/source/ui/frmdlg/
H A Dcolumn.cxx403 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 …]
/aoo41x/main/sw/source/filter/ww8/dump/
H A Dww8dout.cxx320 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 …]
/aoo41x/main/svx/source/tbxctrls/
H A Dlinectrl.cxx384 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 Dcolrctrl.cxx264 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 …]
/aoo41x/main/sw/source/core/doc/
H A Dhtmltbl.cxx205 nRows( nRws ), nCols( nCls ), in SwHTMLTableLayout()
230 for( i = 0; i < nCols; i++ ) in ~SwHTMLTableLayout()
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()
1066 for( i=0; i<nCols; i++ ) in AutoLayoutPass1()
1099 for( i=0; i<nCols; i++ ) in AutoLayoutPass1()
[all …]
H A Ddocsort.cxx815 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 Dtaskmisc.cxx111 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 Dimivctl2.cxx36 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 …]
/aoo41x/main/sc/source/core/inc/
H A Djumpmatrix.hxx65 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 Daqua11ytablewrapper.mm47 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.java49 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 Dhtmltab.cxx96 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 …]
/aoo41x/main/sc/source/core/tool/
H A Ddoubleref.cxx156 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 Dddelink.cxx154 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 Dinterpr1.cxx116 SCSIZE nCols, nRows; in ScIfJump() local
118 if ( nCols == 0 || nRows == 0 ) in ScIfJump()
249 SCSIZE nCols, nRows; in ScChoseJump() local
251 if ( nCols == 0 || nRows == 0 ) in ScChoseJump()
537 SCSIZE nCols, nRows; in JumpMatrix() local
539 if ((nCols <= nC && nCols != 1) || in JumpMatrix()
1792 SCSIZE nCols, nRows, nC, nR; in ScIsEmpty() local
1854 SCSIZE nCols, nRows, nC, nR; in IsString() local
2306 SCSIZE nCols, nRows, nC, nR; in ScIsValue() local
3924 SCCOL nCols; in ScColumn() local
[all …]
/aoo41x/main/sw/source/ui/envelp/
H A Dlabfmt.cxx132 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 Dlabimg.cxx53 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/inc/
H A Dtoken.hxx358 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/filter/excel/
H A Dxehelper.cxx1064 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/source/ui/vba/
H A Dvbafont.cxx85 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 Dxmltbli.cxx2416 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 …]
/aoo41x/main/sw/source/core/table/
H A Dswnewtable.cxx342 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/source/ui/dbui/
H A Ddbinsdlg.cxx773 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 …]
/aoo41x/main/sw/inc/
H A Dhtmltbl.hxx200 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 Drtffly.cxx568 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 …]

Completed in 188 milliseconds

123456