/trunk/main/sw/source/ui/app/ |
H A D | applab.cxx | 113 if ( nCol == rItem.nCols -1 ) in lcl_InsertBCText() 158 if ( nCol == rItem.nCols -1 ) in lcl_InsertLabText() 285 … rItem.lPaperWidth == 0 ? rItem.lLeft + rItem.nCols * rItem.lHDist + MINLAY : rItem.lPaperWidth, in InsertLab() 303 const int nResultWidth = rItem.lHDist * (rItem.nCols - 1) + rItem.lWidth + rItem.lLeft; in InsertLab() 355 for ( sal_uInt16 j = 0; j < rItem.nCols; ++j ) in InsertLab() 361 i == rItem.nRows - 1 && j == rItem.nCols - 1, in InsertLab()
|
/trunk/main/svtools/source/brwbox/ |
H A D | editbrowsebox2.cxx | 162 sal_uInt16 nCols = ColCount(); in DetermineFocus() local 164 if ( ( nRows > 0 ) && ( nCols > 0 ) ) in DetermineFocus() 174 if ( nCols > 1 ) in DetermineFocus() 180 GoToRowColumnId( nRows - 1, GetColumnId( nCols -1 ) ); in DetermineFocus()
|
H A D | brwbox1.cxx | 1007 long BrowseBox::ScrollColumns( long nCols ) in ScrollColumns() argument 1011 if ( nFirstCol + nCols < 0 || in ScrollColumns() 1012 nFirstCol + nCols >= (long)pCols->Count() ) in ScrollColumns() 1023 if ( nCols == 1 ) in ScrollColumns() 1070 else if ( nCols == -1 ) in ScrollColumns() 1112 nFirstCol = nFirstCol + (sal_uInt16)nCols; in ScrollColumns() 1139 if ( nCols ) in ScrollColumns() 1147 return nCols; in ScrollColumns()
|
/trunk/main/sw/source/core/docnode/ |
H A D | ndtbl.cxx | 211 sal_uInt16 nCols, sal_uInt8 nId ) in lcl_CreateDfltBoxFmt() argument 216 if( USHRT_MAX != nCols ) in lcl_CreateDfltBoxFmt() 218 USHRT_MAX / nCols, 0 )); in lcl_CreateDfltBoxFmt() 227 sal_uInt16 nCols, sal_uInt8 nId ) in lcl_CreateAFmtBoxFmt() argument 235 if( USHRT_MAX != nCols ) in lcl_CreateAFmtBoxFmt() 237 USHRT_MAX / nCols, 0 )); in lcl_CreateAFmtBoxFmt() 416 nCols, in InsertTable() 460 else if( nCols ) in InsertTable() 462 nWidth /= nCols; in InsertTable() 811 sal_uInt16 nCols = rBoxes.Count(); in TextToTable() local [all …]
|
/trunk/main/oox/source/xls/ |
H A D | externallinkbuffer.cxx | 165 sal_Int32 nRows, nCols; in importDdeItemValues() local 166 rStrm >> nRows >> nCols; in importDdeItemValues() 167 setResultSize( nCols, nRows ); in importDdeItemValues() 262 sal_Int32 nCols = rStrm.readuInt8(); in importExternalName() local 264 if( bBiff8 ) { ++nCols; ++nRows; } else if( nCols == 0 ) nCols = 256; in importExternalName() 265 setResultSize( nCols, nRows ); in importExternalName()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbatables.cxx | 84 sal_Int32 nCols = 0; in Add() local 88 if ( !( pVbaRange && ( NumRows >>= nRows ) && ( NumColumns >>= nCols ) ) ) in Add() 90 if ( nCols <= 0 || nRows <= 0 ) in Add() 104 xTable->initialize( nRows, nCols ); in Add()
|
/trunk/main/vcl/source/window/ |
H A D | printdlg.cxx | 1988 nRows = nCols = 1; in updateNupFromPages() 1999 nRows = 1, nCols = 2; in updateNupFromPages() 2001 nRows = 2, nCols = 1; in updateNupFromPages() 2004 nRows = nCols = 2; in updateNupFromPages() 2008 nRows = 2, nCols = 3; in updateNupFromPages() 2010 nRows = 3, nCols = 2; in updateNupFromPages() 2013 nRows = nCols = 3; in updateNupFromPages() 2015 nRows = nCols = 4; in updateNupFromPages() 2041 if( nCols > 1 ) in updateNupFromPages() 2042 nHorzMax /= (nCols-1); in updateNupFromPages() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 507 sal_uInt16 nCols = 1; in TYPEINIT1() local 513 nCols = ((SfxUInt16Item *)pItem)->GetValue(); in TYPEINIT1() 529 if(nCols > 1) in TYPEINIT1() 532 aCol.Init( nCols, aCol.GetGutterWidth(), aCol.GetWishWidth() ); in TYPEINIT1() 541 GetView().InsFrmMode(nCols); in TYPEINIT1() 578 sal_uInt16 nCols = ((SfxUInt16Item *)pItem)->GetValue(); in TYPEINIT1() local 579 if( !bSingleCol && 1 < nCols ) in TYPEINIT1() 582 aFmtCol.Init( nCols , (rReq.IsAPI() ? 0 in TYPEINIT1()
|
/trunk/main/toolkit/source/controls/ |
H A D | unocontrolbase.cxx | 257 ::com::sun::star::awt::Size UnoControlBase::Impl_getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) in Impl_getMinimumSize() argument 266 aSz = xL->getMinimumSize( nCols, nLines ); in Impl_getMinimumSize() 274 void UnoControlBase::Impl_getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) in Impl_getColumnsAndLines() argument 282 xL->getColumnsAndLines( nCols, nLines ); in Impl_getColumnsAndLines()
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | salbmp.cxx | 306 const sal_uInt16 nCols = Min( (sal_uLong)rColMap.GetUsed(), (sal_uLong)(1 << nDrawableDepth) ); in ImplCreateDIB() local 308 rPal.SetEntryCount( nCols ); in ImplCreateDIB() 311 for( sal_uInt16 i = 0; i < nCols; i++ ) in ImplCreateDIB() 432 const sal_uInt16 nCols = Min( (sal_uLong)rColMap.GetUsed(), (sal_uLong)(1 << pImage->depth) ); in ImplCreateXImage() local 434 pPal = new BitmapPalette( nCols ); in ImplCreateXImage() 436 for( sal_uInt16 i = 0; i < nCols; i++ ) in ImplCreateXImage()
|
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/ |
H A D | Workbook.java | 435 int nCols = 0; in addColInfo() local 446 ColInfo newColInfo = new ColInfo( nCols, in addColInfo() 447 nCols+repeated-1, in addColInfo() 450 nCols += repeated; in addColInfo()
|
/trunk/main/sc/source/filter/inc/ |
H A D | htmlpars.hxx | 258 inline explicit ScHTMLSize( SCCOL nCols, SCROW nRows ) : in ScHTMLSize() 259 mnCols( nCols ), mnRows( nRows ) {} in ScHTMLSize() 263 inline void Set( SCCOL nCols, SCROW nRows ) in Set() 264 { mnCols = nCols; mnRows = nRows; } in Set()
|
/trunk/main/sw/source/core/edit/ |
H A D | edtab.cxx | 101 sal_uInt16 nRows, sal_uInt16 nCols, in InsertTable() argument 119 nRows, nCols, in InsertTable() 224 sal_uInt16 nRows, sal_uInt16 nCols, in InsertDDETable() argument 241 nRows, nCols, eAdj ); in InsertDDETable()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlsect.cxx | 552 sal_uInt16 nCols = 0, nGutter = 10; in NewMultiCol() local 579 nCols = (sal_uInt16)pOption->GetNumber(); in NewMultiCol() 652 if( nCols < 2 ) in NewMultiCol() 679 if( nCols >= 2 ) in NewMultiCol() 717 aFmtCol.Init( nCols, nGutter, nPrcWidth ? USHRT_MAX : nTwipWidth ); in NewMultiCol()
|
/trunk/main/sc/source/ui/view/ |
H A D | prevloc.cxx | 75 nCols(0), in ScPreviewTableInfo() 97 nCols = nCount; in SetColInfo() 113 while ( nStart < nCols && pColInfo[nStart].nPixelEnd < rPixelArea.Left() ) in LimitToArea() 117 SCCOL nEnd = nCols; in LimitToArea() 121 if ( nStart > 0 || nEnd < nCols ) in LimitToArea()
|
H A D | tabview4.cxx | 79 SCCOL nCols = nEndX+1-nStartX; in ShowRefTip() local 86 String::CreateFromInt32(nCols) ); in ShowRefTip() 277 SCCOL nCols = nEndX + 1 - aViewData.GetRefStartX(); // Reihenfolge ist richtig in UpdateRef() local 282 String::CreateFromInt32(nCols) ); in UpdateRef()
|
/trunk/main/sw/source/filter/rtf/ |
H A D | swparrtf.cxx | 538 sal_uInt16 nCols = static_cast< sal_uInt16 >(rSection.NoCols()); in SetCols() local 540 if (nCols < 2) in SetCols() 548 aCol.Init( nCols, nColSpace, nNettoWidth ); in SetCols() 2771 if( nCols && USHRT_MAX != nCols ) in lcl_SetFmtCol() 2777 aCol.Init( nCols, nColSpace, USHRT_MAX ); in lcl_SetFmtCol() 2778 if( nCols == ( rColumns.Count() / 2 ) ) in lcl_SetFmtCol() 3247 sal_uInt16 nCols = USHRT_MAX, nColSpace = USHRT_MAX, nAktCol = 0; in ReadPageDescTbl() local 3269 ::lcl_SetFmtCol(*pPgFmt, nCols, nColSpace, aColumns); in ReadPageDescTbl() 3313 nCols = USHRT_MAX; nColSpace = USHRT_MAX; nAktCol = 0; in ReadPageDescTbl() 3335 ::lcl_SetFmtCol( *pPgFmt, nCols, nColSpace, aColumns ); in ReadPageDescTbl() [all …]
|
/trunk/main/svtools/source/uno/ |
H A D | unoiface.cxx | 370 ::com::sun::star::awt::Size VCLXMultiLineEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) … in getMinimumSize() argument 377 aSz = AWTSize(pEdit->CalcSize( nCols, nLines )); in getMinimumSize() 381 void VCLXMultiLineEdit::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun:… in getColumnsAndLines() argument 385 nCols = nLines = 0; in getColumnsAndLines() 391 nCols = nC; in getColumnsAndLines() 777 ::com::sun::star::awt::Size VCLXFileControl::getMinimumSize( sal_Int16 nCols, sal_Int16 ) throw(::c… in getMinimumSize() argument 785 aSz = AWTSize(pControl->GetEdit().CalcSize( nCols )); in getMinimumSize() 791 void VCLXFileControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::s… in getColumnsAndLines() argument 795 nCols = 0; in getColumnsAndLines() 799 nCols = (sal_Int16) pControl->GetEdit().GetMaxVisChars(); in getColumnsAndLines()
|
/trunk/main/sw/source/filter/ww1/ |
H A D | w1sprm.cxx | 421 short nCols = SVBT16ToShort(pSprm); in Start() local 422 nCols++; in Start() 423 if (nCols < 2) in Start() 426 aCol.Init(nCols, nColSpace, nNettoWidth); in Start()
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessiblePreviewTable.cxx | 502 SCCOL nCols = mpTableInfo->GetCols(); in getAccessibleAtPoint() local 513 …if ( nCols > 0 && nRows > 0 && aMovedPoint.X >= pColInfo[0].nPixelStart && aMovedPoint.Y >= pRowIn… in getAccessibleAtPoint() 516 while ( nColIndex < nCols && aMovedPoint.X > pColInfo[nColIndex].nPixelEnd ) in getAccessibleAtPoint() 521 if ( nColIndex < nCols && nRowIndex < nRows ) in getAccessibleAtPoint()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 651 long nCols; member in ImpIcnCursor 3046 nCols = 0; in ImpIcnCursor() 3094 pColumns = new SvPtrarr[ nCols ]; in ImplCreate() 3112 if( nX >= nCols ) in ImplCreate() 3423 DBG_ASSERT(nX< nCols,"GoLeftRight:Bad row"); in GoLeftRight() 3439 nLastCol = nCols; in GoLeftRight() 3472 DBG_ASSERT(nX<nCols,"GoUpDown:Bad row"); in GoUpDown() 3506 if( nColMax < (nCols-1)) in GoUpDown() 3526 nCols = rSize.Width() / nGridDX; in SetDeltas() 3527 if( !nCols ) in SetDeltas() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par2.cxx | 1216 if( nCols > MAX_COL ) in ReadDef() 1219 nWwCols = nCols; in ReadDef() 1224 for(i=0; i<=nCols; i++, pT+=2 ) in ReadDef() 1226 nLen -= 2 * ( nCols + 1 ); in ReadDef() 1227 if( nCols != nOldCols ) // andere Spaltenzahl in ReadDef() 1236 if (!pTCs && nCols) in ReadDef() 1239 pTCs = new WW8_TCell[nCols]; in ReadDef() 1240 setcelldefaults(pTCs,nCols); in ReadDef() 1244 if (nColsToRead > nCols) in ReadDef() 1245 nColsToRead = nCols; in ReadDef() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr4.cxx | 1484 SCSIZE nCols, nRows; in ConvertMatrixParameters() local 1486 if ( nJumpCols < nCols ) in ConvertMatrixParameters() 1487 nJumpCols = nCols; in ConvertMatrixParameters() 1927 SCSIZE nCols, nRows, nC, nR; in GetDouble() local 1928 pMat->GetDimensions( nCols, nRows); in GetDouble() 1930 if ( nC < nCols && nR < nRows ) in GetDouble() 2039 SCSIZE nCols, nRows, nC, nR; in GetString() local 2040 pMat->GetDimensions( nCols, nRows); in GetString() 2042 if ( nC < nCols && nR < nRows ) in GetString() 2078 SCSIZE nCols, nRows, nC, nR; in GetDoubleOrStringFromMatrix() local [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 1766 void ScFormulaCell::SetMatColsRows( SCCOL nCols, SCROW nRows ) in SetMatColsRows() argument 1770 pMat->SetMatColsRows( nCols, nRows); in SetMatColsRows() 1771 else if (nCols || nRows) in SetMatColsRows() 1772 aResult.SetToken( new ScMatrixFormulaCellToken( nCols, nRows)); in SetMatColsRows() 1776 void ScFormulaCell::GetMatColsRows( SCCOL & nCols, SCROW & nRows ) const in GetMatColsRows() argument 1780 pMat->GetMatColsRows( nCols, nRows); in GetMatColsRows() 1783 nCols = 0; in GetMatColsRows()
|
/trunk/main/writerfilter/source/doctok/ |
H A D | WW8ResourceModelImpl.cxx | 53 virtual void startRow(unsigned int nCols, 83 (unsigned int nCols, TablePropsPointer_t /*pProps*/) in startRow() argument 87 snprintf(sBuffer, sizeof(sBuffer), "%d", nCols); in startRow()
|