/trunk/main/svx/source/dialog/ |
H A D | dlgctrl.cxx | 900 return nX + nY * nLines ; in PointToIndex() 906 sal_uInt16 nXIndex = nIndex % nLines ; in IndexToPoint() 927 ChangePixel( nX + nY * nLines ); in ShowPosition() 943 nLines ( nNumber ), in SvxPixelCtl() 955 nSquares = nLines * nLines; in SvxPixelCtl() 1040 for( i = 1; i < nLines; i++) in Paint() 1054 for( i = 0; i < nLines; i++) in Paint() 1059 for( j = 0; j < nLines; j++) in Paint() 1094 nLeft = aRectSize.Width() * j / nLines + 1; in implCalFocusRect() 1096 nTop = aRectSize.Height() * i / nLines + 1; in implCalFocusRect() [all …]
|
H A D | swframeexample.cxx | 152 sal_uInt16 nLines = (sal_uInt16)((aPagePrtArea.GetHeight() / 2 - nTTxtBorder - nBTxtBorder) in InitAllRects_Impl() local 156 (aTextLine.GetHeight() + 2) * nLines + nTTxtBorder + nBTxtBorder)); in InitAllRects_Impl() 458 sal_uInt16 nLines = (sal_uInt16)(aParaPrtArea.GetHeight() / (aTextLine.GetHeight() + 2)); in DrawInnerFrame_Impl() local 460 for (sal_uInt16 i = 0; i < nLines; i++) in DrawInnerFrame_Impl() 462 if (i == nLines - 1) in DrawInnerFrame_Impl() 618 sal_uInt16 nLines; in Paint() local 628 nLines = (sal_uInt16)(((aFrameAtFrame.GetHeight() - 2 * FLYINFLY_BORDER) * 2 / 3) in Paint() 634 nLines = (sal_uInt16)(aParaPrtArea.GetHeight() / (aTextLine.GetHeight() + 2)); in Paint() 649 for (sal_uInt16 i = 0; i < nLines; ++i) in Paint() 651 if (i == (nLines - 1)) in Paint()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | colrctrl.cxx | 265 nLines ( 1 ) in SvxColorDockingWindow() 390 if( nLines == 0 ) in SetSize() 391 nLines++; in SetSize() 395 if ( nLines * nCols >= nCount ) in SetSize() 411 aColorSet.SetLineCount( nLines ); in SetSize() 553 if( nLines == 0 ) in Resizing() 554 nLines = 1; in Resizing() 558 if ( nLines * nCols >= nCount ) in Resizing() 580 nLines = sal::static_int_cast< sal_uInt16 >( in Resizing() 581 std::min< long >( nLines, nMaxLines ) ); in Resizing() [all …]
|
H A D | linectrl.cxx | 385 nLines ( 12 ), in SvxLineEndWindow() 407 nLines ( 12 ), in SvxLineEndWindow() 563 nLines = Min( (sal_uInt16)(nCount + 1), (sal_uInt16) MAX_LINES ); in FillValueSet() 564 aLineEndSet.SetLineCount( nLines ); in FillValueSet() 582 aLineEndSet.SetLineCount( nLines ); in Resize() 621 sal_uInt16 nMaxCols = nItemCount / nLines; in Resizing() 622 if( nItemCount % nLines ) in Resizing() 636 if( nLines > nMaxLines ) in Resizing() 637 nLines = nMaxLines; in Resizing() 638 nH = nItemH * nLines; in Resizing() [all …]
|
/trunk/main/starmath/source/ |
H A D | toolbox.cxx | 323 sal_uInt16 nLines; in SetCategory() local 327 case RID_UNBINOPS_CAT : nLines = 5; break; in SetCategory() 328 case RID_RELATIONS_CAT: nLines = 5; break; in SetCategory() 329 case RID_SETOPERATIONS_CAT: nLines = 5; break; in SetCategory() 330 case RID_FUNCTIONS_CAT: nLines = 5; break; in SetCategory() 331 case RID_OPERATORS_CAT: nLines = 3; break; in SetCategory() 332 case RID_ATTRIBUTES_CAT: nLines = 5; break; in SetCategory() 333 case RID_MISC_CAT: nLines = 4; break; in SetCategory() 334 case RID_BRACKETS_CAT: nLines = 5; break; in SetCategory() 335 case RID_FORMAT_CAT: nLines = 3; break; in SetCategory() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | txtdrop.cxx | 128 nLines( nLineCnt ), in SwDropPortion() 265 const sal_uInt16 nLines = rDrop.GetLines(); in GetDropSize() local 269 rDropHeight = nLines * rFontHeight; in GetDropSize() 325 if( ! nDropHeight || ! pPart || nLines == 1 ) in PaintDrop() 376 if( ! nDropHeight || ! pPart || 1 == nLines ) in Paint() 471 void SwTxtFormatter::CalcDropHeight( const MSHORT nLines ) in CalcDropHeight() argument 492 for( ; nDropLns < nLines; nDropLns++ ) in CalcDropHeight() 544 SetDropLines( nLines ); in GuessDropHeight() 551 SetDropHeight( nHeight * nLines - GetDropDescent() ); in GuessDropHeight() 1011 if( nDropHeight && pPart && nLines!=1 ) in Format() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | combobox.cxx | 590 mpFloatWin->SetDropDownLineCount( nLines ); in SetDropDownLineCount() 605 sal_uInt16 nLines = 0; in GetDropDownLineCount() local 608 return nLines; in GetDropDownLineCount() 1105 return mpImplLB->GetEntryHeight() * nLines; in CalcWindowSizePixel() 1152 long nLines = aSz.Height() / nEntryHeight; in CalcAdjustedSize() local 1153 if ( nLines < 1 ) in CalcAdjustedSize() 1154 nLines = 1; in CalcAdjustedSize() 1155 aSz.Height() = nLines * nEntryHeight; in CalcAdjustedSize() 1177 if ( nLines ) in CalcSize() 1302 if ( !nLines ) in Draw() [all …]
|
H A D | lstbox.cxx | 496 if ( !nLines ) in Draw() 497 nLines = 1; in Draw() 499 for ( sal_uInt16 n = 0; n < nLines; n++ ) in Draw() 634 void ListBox::SetDropDownLineCount( sal_uInt16 nLines ) in SetDropDownLineCount() argument 636 mnLineCount = nLines; in SetDropDownLineCount() 1320 return mpImplLB->GetEntryHeight() * nLines; in CalcWindowSizePixel() 1436 long nLines = aSz.Height() / nEntryHeight; in CalcAdjustedSize() local 1437 if ( nLines < 1 ) in CalcAdjustedSize() 1438 nLines = 1; in CalcAdjustedSize() 1439 aSz.Height() = nLines * nEntryHeight; in CalcAdjustedSize() [all …]
|
H A D | ctrl.cxx | 196 long nLines = m_aLineIndices.size(); in GetLineCount() local 197 if( nLines == 0 && m_aDisplayText.Len() ) in GetLineCount() 198 nLines = 1; in GetLineCount() 199 return nLines; in GetLineCount() 359 int nLines = rSubControl.mpControlData->mpLayoutData->m_aLineIndices.size(); in AppendLayoutData() local 362 for( n = 1; n < nLines; n++ ) in AppendLayoutData()
|
H A D | tabctrl.cxx | 421 sal_uInt16 nLines = 0; in ImplGetTabRect() local 435 if ( nLines == 99 ) in ImplGetTabRect() 440 nLines++; in ImplGetTabRect() 441 nLineWidthAry[nLines] = 0; in ImplGetTabRect() 442 nLinePosAry[nLines] = nPos; in ImplGetTabRect() 449 it->mnLine = nLines; in ImplGetTabRect() 452 nLineWidthAry[nLines] += aSize.Width(); in ImplGetTabRect() 456 nCurLine = nLines; in ImplGetTabRect() 472 while ( i < nLines+1 ) in ImplGetTabRect() 489 if ( n == nLines+1 ) in ImplGetTabRect() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/ |
H A D | _XTextLayoutConstrains.java | 50 short nLines = 0; in _getMinimumSize() local 51 Size mSize = oObj.getMinimumSize(nCols,nLines); in _getMinimumSize() 66 short[] nLines = new short[1]; in _getColumnsAndLines() local 67 oObj.getColumnsAndLines(nCols,nLines); in _getColumnsAndLines() 68 boolean res = ( (nCols[0] != 0) && (nLines[0] != 0) ); in _getColumnsAndLines() 71 log.println("nLines: " + nLines[0]); in _getColumnsAndLines()
|
/trunk/main/sw/source/core/para/ |
H A D | paratr.cxx | 72 nLines( 0 ), in SwFmtDrop() 86 nLines( rCpy.GetLines() ), in SwFmtDrop() 137 return ( nLines == ((SwFmtDrop&)rAttr).GetLines() && in operator ==() 154 case MID_DROPCAP_LINES : rVal <<= (sal_Int16)nLines; break; in QueryValue() 160 aDrop.Lines = nLines ; in QueryValue() 191 nLines = (sal_uInt8)nTemp; in PutValue() 216 nLines = pDrop->Lines; in PutValue()
|
/trunk/main/svtools/source/edit/ |
H A D | svmedit.cxx | 167 Size CalcSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const; 699 if ( nLines ) in CalcSize() 700 aSz.Height() = nLines*aCharSz.Height(); in CalcSize() 1296 long nLines = nHeight / nLineHeight; in CalcAdjustedSize() local 1297 if ( nLines < 1 ) in CalcAdjustedSize() 1298 nLines = 1; in CalcAdjustedSize() 1300 aSz.Height() = nLines * nLineHeight; in CalcAdjustedSize() 1308 Size aSz = pImpSvMEdit->CalcSize( nColumns, nLines ); in CalcSize() 1442 if ( !nLines ) in Draw() 1443 nLines = 1; in Draw() [all …]
|
H A D | textdata.cxx | 219 sal_uInt16 nLines = maLines.Count(); in CorrectValuesBehindLastFormattedLine() local 220 DBG_ASSERT( nLines, "CorrectPortionNumbersFromLine: Leere Portion?" ); in CorrectValuesBehindLastFormattedLine() 221 if ( nLastFormattedLine < ( nLines - 1 ) ) in CorrectValuesBehindLastFormattedLine() 237 for ( sal_uInt16 nL = nLastFormattedLine+1; nL < nLines; nL++ ) in CorrectValuesBehindLastFormattedLine()
|
/trunk/main/sw/source/ui/misc/ |
H A D | pgfnote.cxx | 69 static const sal_uInt16 __FAR_DATA nLines[] = { variable 78 static const sal_uInt16 nLineCount = sizeof(nLines) / sizeof(nLines[0]); 95 if(nLines[i] == nWidth) in lcl_HasLineWidth() 240 aLineTypeBox.InsertEntry(nLines[i]); in Reset() 291 rFtnInfo.SetLineWidth(nLines[nPos] / TWIP_TO_LBOX); in FillItemSet()
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 517 Graphic JPEGReader::CreateIntermediateGraphic( const Bitmap& rBitmap, long nLines ) in CreateIntermediateGraphic() argument 532 if( nLines && ( nLines < aSizePix.Height() ) ) in CreateIntermediateGraphic() 536 const long nNewLines = nLines - nLastLines; in CreateIntermediateGraphic() 555 nLastLines = nLines; in CreateIntermediateGraphic() 565 long nLines; in Read() local 595 ReadJPEG( this, &rIStm, &nLines ); in Read() 610 rGraphic = CreateIntermediateGraphic( aBmp, nLines ); in Read()
|
/trunk/main/svtools/source/dialogs/ |
H A D | property.cxx | 784 sal_uInt16 nLines=CalcVisibleLines(); in UpdateVScroll() local 785 aVScroll.SetPageSize(nLines-1); in UpdateVScroll() 786 aVScroll.SetVisibleSize(nLines-1); in UpdateVScroll() 788 if(PLineArray.Count()<=nLines) in UpdateVScroll() 842 long nLines=aVScroll.GetPageSize(); in UpdatePlayGround() local 852 nStart=(sal_uInt16)(nThumbPos+nLines+1-nDelta); in UpdatePlayGround() 853 nEnd=(sal_uInt16)(nThumbPos+nLines); in UpdatePlayGround() 854 aPos.Y()=(nLines+1-nDelta)*nRowHeight; in UpdatePlayGround() 1049 long nLines=aVScroll.GetPageSize(); in IMPL_LINK() local 1053 for(long i=nThumbPos-nDelta; i<nThumbPos+nLines-nDelta;i++) in IMPL_LINK() [all …]
|
/trunk/main/extensions/source/propctrlr/ |
H A D | browserlistbox.cxx | 571 sal_uInt16 nLines = CalcVisibleLines(); in UpdateVScroll() local 572 m_aVScroll.SetPageSize(nLines-1); in UpdateVScroll() 573 m_aVScroll.SetVisibleSize(nLines-1); in UpdateVScroll() 629 sal_Int32 nLines = CalcVisibleLines(); in UpdatePlayGround() local 631 sal_uInt16 nEnd = (sal_uInt16)(nThumbPos + nLines); in UpdatePlayGround() 810 sal_Int32 nLines = CalcVisibleLines(); in ShowEntry() local 811 if (_nPos >= nThumbPos + nLines) in ShowEntry() 812 MoveThumbTo(_nPos - nLines + 1); in ShowEntry() 831 sal_Int32 nLines = CalcVisibleLines(); in MoveThumbTo() local 832 sal_uInt16 nEnd = (sal_uInt16)(nThumbPos + nLines); in MoveThumbTo()
|
/trunk/main/vcl/source/window/ |
H A D | tabdlg.cxx | 153 int nLines = 0; in ImplPosControls() local 173 if ( !nLines ) in ImplPosControls() 174 nLines = 1; in ImplPosControls() 180 nLines++; in ImplPosControls() 197 aDlgSize.Height() += nLines * (aCtrlSize.Height()+IMPL_DIALOG_OFFSET); in ImplPosControls()
|
H A D | toolbox.cxx | 907 sal_uInt16 nLines; in ImplCalcFloatSizes() local 921 while ( nLines ) in ImplCalcFloatSizes() 928 nLines--; in ImplCalcFloatSizes() 929 if ( nLines ) in ImplCalcFloatSizes() 1040 if( nLines < 1 ) in ImplCalcLines() 1041 nLines = 1; in ImplCalcLines() 2212 nLines++; in ImplCalcBreaks() 2283 return nLines; in ImplCalcBreaks() 5389 nLines++; in ImplCountLineBreaks() 5392 return nLines; in ImplCountLineBreaks() [all …]
|
/trunk/main/basctl/source/dlged/ |
H A D | managelang.cxx | 154 long nLines = ( nTxtWidth / nInfoWidth ) + 1; in CalcInfoSize() local 155 if ( nLines > INFO_LINES_COUNT ) in CalcInfoSize() 159 long nNewHeight = aFTSize.Height() * nLines; in CalcInfoSize() 375 long nLines = ( nTxtWidth / nInfoWidth ) + 1; in CalcInfoSize() local 376 if ( nLines > INFO_LINES_COUNT ) in CalcInfoSize() 380 long nNewHeight = aFTSize.Height() * nLines; in CalcInfoSize()
|
/trunk/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 425 sal_uInt16 nLines = rLines.Count(); in CollectTableRowsCols() local 432 for( sal_uInt16 nLine = 0; nLine < nLines; nLine++ ) in CollectTableRowsCols() 438 if( nLine < nLines-1 || nParentLineHeight==0 ) in CollectTableRowsCols() 451 nLineHeight /= nLines - nLine; // divided through the number of remaining sub rows in CollectTableRowsCols() 557 sal_uInt16 nLines = rLines.Count(); in FillTableRowsCols() local 564 for( sal_uInt16 nLine = 0; nLine < nLines; nLine++ ) in FillTableRowsCols() 570 if( nLine < nLines-1 || nParentLineHeight==0 ) in FillTableRowsCols() 580 nLineHeight /= nLines - nLine; // divided through the number of remaining sub rows in FillTableRowsCols()
|
/trunk/main/sw/source/core/doc/ |
H A D | docsort.cxx | 874 sal_uInt16 nLines(0); in CheckBoxSymmetry() local 883 if( i && nLines != rLines.Count() ) in CheckBoxSymmetry() 886 nLines = rLines.Count(); in CheckBoxSymmetry() 887 if( nLines && !CheckLineSymmetry( *pBox ) ) in CheckBoxSymmetry() 933 sal_uInt16 nLines = 0; in GetRowCount() local 943 nLines = nLines + nLn; in GetRowCount() 945 return nLines; in GetRowCount()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 561 sal_Int32 nLines = (m_bVertical ? aRect.GetWidth(): aRect.GetHeight()) / nLineHeight; in DrawPage() local 562 if(nLines > pGridItem->GetLines()) in DrawPage() 563 nLines = pGridItem->GetLines(); in DrawPage() 568 sal_Int16 nXStart = static_cast< sal_Int16 >(aRect.GetWidth() / 2 - nLineHeight * nLines /2); in DrawPage() 574 sal_Int16 nYStart = static_cast< sal_Int16 >(aRect.GetHeight() / 2 - nLineHeight * nLines /2); in DrawPage() 589 for(sal_Int32 nLine = 0; nLine < nLines; nLine++) in DrawPage()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltble.cxx | 138 sal_uInt16 nLines = rLines.Count(); in SwXMLTableLines_Impl() local 140 for( nLine=0U; nLine<nLines; nLine++ ) in SwXMLTableLines_Impl() 665 sal_uInt16 nLines = rLines.Count(); in ExportTableLinesAutoStyles() local 666 for( sal_uInt16 nLine=0U; nLine<nLines; nLine++ ) in ExportTableLinesAutoStyles() 1095 sal_uInt16 nLines = rLines.Count(); in ExportTableLines() local 1102 DBG_ASSERT( nHeaderRows <= nLines, "more headers then lines?" ); in ExportTableLines() 1107 for( sal_uInt16 nLine = nHeaderRows; nLine < nLines; nLine++ ) in ExportTableLines()
|